Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz No.5: String and Number Manipulation

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

It converts the first character of each word to uppercase.

a)

title()

b)

upper()

c)

capitalize()

d)

len()

2.

It converts the first character to uppercase.

a)

title()

b)

upper()

c)

capitalize()

d)

len()

3.

It returns a string where a specified value is replaced with a specified value.

a)

title()

b)

split()

c)

replace()

d)

capitalize()

4.

It converts a string into upper case.

a)

title()

b)

upper()

c)

capitalize()

d)

len()

5.

It splits the string at the specified separator, and returns a list.

a)

title()

b)

split()

c)

lower()

d)

capitalize()

6.

It converts a string into lower case.

a)

title()

b)

split()

c)

lower()

d)

capitalize()

7.

A series or characters are interpreted as text.

a)

string

b)

boolean

c)

intreger

d)

float

8.

It returns a floating number that is rounded version the specified number.

a)

round()

b)

floor()

c)

ceil()

d)

pow()

9.

It return returns the smallest integer value greater than or equal to x.

a)

round()

b)

floor()

c)

ceil()

d)

pow()

10.

It returns the largest integer value less than or equal to x.

a)

round()

b)

floor()

c)

ceil()

d)

pow()

11.

it returns the number to the power of y.

a)

round()

b)

floor()

c)

ceil()

d)

pow()

12.

It counts the characters in a string.

a)

title()

b)

upper()

c)

capitalize()

d)

len()

13.

For string symbol + means........................

a)

addition

b)

swapp

c)

concatenation

d)

multiplication

14.
LENGTH("password") will return...
a)
8
b)
7
c)
9
d)
11
15.

index of a string begins with

a)

1

b)

0

c)

a

d)

-1