wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

STEM 7 Q3 Quiz 1

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Numbers and Text are a type of?

a)

Alphabet

b)

Song

c)

Video

d)

Data

2.

Text can be used in math operations

a)

Yes

b)

No

3.

"9" is an example of a number

a)

Yes

b)

No

4.

Only numbers can be used in a math operation

a)

Yes

b)

No

5.

Output means show something

a)

Yes

b)

No

6.

print(value)


The code above is the correct way to output something

a)

Yes

b)

No

7.

print (2 + 3)


The code above will output 5

a)

Yes

b)

No

8.

print("9 + 3")


What is the expected output of the code above

a)

"9 + 3"

b)

Error

c)

9 + 3

d)

12

9.

print("12" + 3)


What is the expected output of the code above

a)

15

b)

123

c)

Error

d)

12 + 3

10.

They represent the data

a)

Numbers

b)

Texts

c)

Variables

d)

Integers

11.

x = 10


What is x?

a)

Variable value

b)

Variable operation

c)

Variable name

d)

Data

12.

x = 20

y = x + 5


What is the value of y?

a)

25

b)

x + 5

c)

205

d)

20 + 5

13.

It means changing the data type to another

a)

Type Casting

b)

Magic Casting

c)

Variable Casting

d)

Data Casting

14.

Integers are whole numbers

a)

Yes

b)

No

15.

The keyword for String is string

a)

Yes

b)

No

16.

num = int(10)


What is the data type of variable num?

a)

Integer

b)

Intelligence

c)

International

d)

int

17.

num = str("10")

print(num + "10")


What is the expected output of the code above

a)

20

b)

10 + 10

c)

num + 10

d)

1010

18.

x = int(5)

print(5 + x)


What is the expected output of the code above

a)

10

b)

5 + x

c)

55

d)

5 + 5

19.

a = float(9.5)

b = int(a)

print(b)


What is the expected output of the code above

a)

9.5

b)

a

c)

9

d)

b

20.

g = str("5")

print("6.4" + g)

a)

11.4

b)

6.4 + 5

c)

11

d)

6.45