NEW
Font size
S
M
L
XL
WorksheetsEdublocks D01
Total questions: 8
Worksheet time: 4mins
Name
Class
Date
1.
what does this do
a)
Chose a random number
b)
import a library called random
c)
selecting a number between 1 and 13
d)
selecting a number between 1 and 100
2.
what is the name of the variable
a)
name
b)
computerNumber
c)
random
d)
randint
3.
Which number could not be generated by this block
a)
1
b)
3
c)
13
d)
0
4.
What is the value of computerNumber after this block is run
a)
computerNumber
b)
"0"
c)
0
d)
a random number
5.
What datatype would userNumber be after this block is run
a)
string
b)
integer
c)
real
d)
a number if they enter a number
6.
Which section in edublocks would you find input()
a)
logic
b)
random
c)
statements
d)
file
7.
In what section would you find the
if
block
a)
Statement
b)
Files
c)
Logic
d)
Variables
8.
What will be displayed on the screen when
computerNumber = 10
and
userNumber = 10
a)
10
b)
SNAP
c)
20
d)
no snap
Reset
