Font size
WorksheetsUnit 1 Vocab
Total questions: 18
Worksheet time: 13mins
What does the code, "print()" do?
printing the specified message onto the screen
printing paper
printing money
printing test answers
What does
x ="5"
y=int(x)
print(y*2) equal?
55
10
5
7
What does
x ="5"
y=str(x)
print(y*2) equal?
55
10
52
7
What is the output?
print("she sells \nseashells")
print("by the seashore")
she sells
seashells by the seashore
she sells seashells by the seashore
she sells seashells
by the seashore
she sells
seashells
by the seashore
What is the output?
print("I/tLove\tPython")
I/tLove Python
I/tLove\tPython
I Love Python
I Love\tPython
What does the code, "input()" do?
To take user's input
Digital information displayed or sent to the user by the computer, in a form that humans can interpret
A number system based on two numbers, 0 and 1.
Any whole number (either positive or negative), and zero.
Which one is a variable?
Jerry=32
#76 dollars
print($ PYTHON $)
jerry"int(input = 5)
True or False
23 == 75
True
False
True or False
123456789 != 123456788
True
False
True or False
976,123 < 123,976
True
False
True or False
85421 > 32549
True
False
True or False
87591 >= 87591
True
False
True or False
87593 <= 87591
True
False
False and True
True
False
True or 1==1
False
True
not(1==1 and 0 != 1)
True
False
"chunky" == "bacon" and not (3==4 or 3==3)
True
False
Translate: 01001110. 01101001. 01100011. 01100101.
(a)
