wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Unit 1 Vocab

Total questions: 18

Worksheet time: 13mins

Name
Class
Date
1.

What does the code, "print()" do?

a)

printing the specified message onto the screen

b)

printing paper

c)

printing money

d)

printing test answers

2.

What does

x ="5"

y=int(x)

print(y*2) equal?

a)

55

b)

10

c)

5

d)

7

3.

What does

x ="5"

y=str(x)

print(y*2) equal?

a)

55

b)

10

c)

52

d)

7

4.

What is the output?

print("she sells \nseashells")

print("by the seashore")

a)

she sells

seashells by the seashore

b)

she sells seashells by the seashore

c)

she sells seashells

by the seashore

d)

she sells

seashells

by the seashore

5.

What is the output?

print("I/tLove\tPython")

a)

I/tLove Python

b)

I/tLove\tPython

c)

I Love Python

d)

I Love\tPython

6.

What does the code, "input()" do?

a)

To take user's input

b)

Digital information displayed or sent to the user by the computer, in a form that humans can interpret

c)

A number system based on two numbers, 0 and 1.

d)

Any whole number (either positive or negative), and zero.

7.

Which one is a variable?

a)

Jerry=32

b)

#76 dollars

c)

print($ PYTHON $)

d)

jerry"int(input = 5)

8.

True or False

23 == 75

a)

True

b)

False

9.

True or False

123456789 != 123456788

a)

True

b)

False

10.

True or False

976,123 < 123,976

a)

True

b)

False

11.

True or False

85421 > 32549

a)

True

b)

False

12.

True or False

87591 >= 87591

a)

True

b)

False

13.

True or False

87593 <= 87591

a)

True

b)

False

14.

False and True

a)

True

b)

False

15.

True or 1==1

a)

False

b)

True

16.

not(1==1 and 0 != 1)

a)

True

b)

False

17.

"chunky" == "bacon" and not (3==4 or 3==3)

a)

True

b)

False

18.

Translate: 01001110. 01101001. 01100011. 01100101.

(a)