WorksheetsMicrobit - ping pong
Total questions: 8
Worksheet time: 4mins
Which picture is correct for position
ball_row = 2
ball_column = 2
What is output of called function? Or is there an error?
5
10
25
name 'c' is not defined
What is printed on the screen? Or is there an error?
a > b
a < b
a <= b
argument of type 'boolean' is not assignable to parameter of type ''string'
What is printed on the screen? Or is there an error?
Numbers are equal
expected an intended block near 'basic'
expecting ':' near '\n'
ball_vertical_move = 1
ball_horizontal_move = 2
led.plot(ball_row + ball_vertical_move,
ball_column + ball_horizontal_move)
Která led se rozsvítí?
What is printed on the screen? Or is there an error?
a > b
expected an intended block near 'basic'
expecting ':' near '\n'
What can do function
led.unplot()
turn on the specified Led
turn of the specified led
get the on/off state of Led
Which one is the correct function definition?
sum(a,b):
def sum(a,b):
def sum(a,b)
def sum(a,b:
