NEW
Font size
WorksheetsStrings in Swift
Total questions: 12
Worksheet time: 9mins
A string is a sequence of characters.
True
False
Which of the following is concatenation operator?
*
-
+
/
What is the purpose of concatenation operator?
It counts the number of characters in a string.
It is used to combine strings.
It is used to create multiline strings.
It is used to compare two strings.
What is the output of the shown program?
11
12
14
Social Media
What is the output of the given program?
8
9
11
Processor
Two strings are compared using
For In Loop
While Loop
IF Statement
Count Function
What is the output of the given program?
CAT
CaT
Both Strings Are Same
Both Strings Are Different
What is the output of the given program?
Park
PARK
Both Strings Are Same
Both Strings Are Different
What is the output of the given image?
VAN
van
Both Strings Are Same
Both Strings Are Different
What is the output of the given program?
CBA
CAB
Both Strings Are Same
Both Strings Are Different
What is the output of the given program?
Error
P
What is the output of the given program?
Error
R
