wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Programming - Basic String Manipulation

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.
Strings can be treated as arrays of characters.
a)
True
b)
False
2.
Which of the following is not a string function?
a)
QUOTE
b)
LENGTH
c)
FIND
d)
LEFT
3.
The LEFT function performed on a string will remove all charatcters on the left of a string.
a)
False
b)
True
4.
The FIND function will find all instances of a chosen character within a string.
a)
False
b)
True
5.
Which of the following string functions would be useful to read a CSV file?
a)
SPLIT
b)
MID
c)
RIGHT
d)
LENGTH
6.
LENGTH("password") will return...
a)
8
b)
7
c)
9
d)
11
7.
FIND("name@school.edu", "@") will return
a)
4
b)
5
c)
1
d)
0
8.
RIGHT("Hello world!", 6) will return...
a)
world!
b)
World!
c)
Hello
d)
world
9.
String functions always replace the value of the exsisting string with the result.
a)
False
b)
True
10.
String functions can be used to detect user input errors.
a)
False
b)
True