0
0
Redisquery~10 mins

APPEND for string concatenation in Redis - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to append the string " World" to the key "greeting".

Redis
APPEND greeting [1]
Drag options to blanks, or click blank then click option'
A"Hello"
B"Redis"
C"!"
D" World"
Attempts:
3 left
💡 Hint
Common Mistakes
Using the wrong string to append.
Forgetting to put the string in quotes.
2fill in blank
medium

Complete the code to append "!!!" to the key "message".

Redis
APPEND message [1]
Drag options to blanks, or click blank then click option'
A"!!!"
B"..."
C"!!! "
D"???"
Attempts:
3 left
💡 Hint
Common Mistakes
Adding extra spaces unintentionally.
Using wrong punctuation marks.
3fill in blank
hard

Fix the error in the code to append "_end" to the key "filename".

Redis
APPEND filename [1]
Drag options to blanks, or click blank then click option'
A_end
B"_end"
C'_end'
Dend
Attempts:
3 left
💡 Hint
Common Mistakes
Not using quotes around the string.
Using single quotes which Redis does not recognize.
4fill in blank
hard

Fill both blanks to append "_2024" to the key "report" and then append ".pdf".

Redis
APPEND report [1]
APPEND report [2]
Drag options to blanks, or click blank then click option'
A"_2024"
B".pdf"
C"_2023"
D".doc"
Attempts:
3 left
💡 Hint
Common Mistakes
Appending wrong year or extension.
Forgetting quotes around strings.
5fill in blank
hard

Fill all three blanks to append "_final", then "_v2", and finally ".txt" to the key "document".

Redis
APPEND document [1]
APPEND document [2]
APPEND document [3]
Drag options to blanks, or click blank then click option'
A"_final"
B"_v2"
C".txt"
D".docx"
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the order of appends.
Using wrong file extension.