stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
KS3 Computer Science - Python Flashcards | StudBud
Explore
/
KS3 Computer Science - Python
KS3 Computer Science - Python
17 terms
·
StudBud Administration
·
4,354 plays
Short quiz to test about basic python knowledge
Flashcards
17 cards
F
Practice quiz
P
Host live
L
Questions
17
Answers
1
How do you display a message on the screen?
message()
print()
display()
show()
2
What is the special name for the highlighted bit of code?
Variable
NameEntry
Text Box
Container
3
Which item will be printed?
banana
pear
apple
sweets
4
What will the shape of the turtle be?
Square
Arrow
Triangle
Turtle
5
Which operator is NOT used in Python?
==
%=
>=
!=
6
Which is the correct way of getting a random number?
random(1, 10)
random.int(1, 10)
random.randomnumber(1, 10)
random.randint(1, 10)
7
Was Python used to create: Overwatch, The Sims 4, World of Tanks and Civilization VI?
No
Yes
8
Will this code work?
No
Yes
9
How many times will this run?
10 times
i times
Infinite times
Won't run at all!
10
What would this code print to the screen?
ERROR
hi10
hiiiiiiiiiii
hihihihihihihihihihi
11
What is a string?
A number
A ball that cats play with
True or False
A sentence/some text
12
What will be printed to the screen?
age
That's my age as well!
Yuck!
You are too young
13
What would this code print?
910
21
19
9999999999
14
How many spaces does code need to be indented in
if
,
for
and
while
statements?
2
3
4
1
15
How many times will this run?
5
Infinite
10
Never
16
How many equals signs does an
if
statement require?
4
2
1
3
17
What do you use to get a users choice?
answer()
input()
get()
choice()