Log in
Sign up for FREE
arrow_back
Library
Block Quiz
By Mickey Arnold
star
star
star
star
star
Share
share
Last updated almost 2 years ago
5 questions
Add this activity
1
1
1
1
1
Question 1
1.
Using the code below what is returned by the call
isBiggerThan25AndLessThan100( 180 )
?
isBiggerThan25AndLessThan100( number )
if number > 25 and number < 100
report true
report false
True
False
Question 2
2.
Using the code below what is returned by the call
isBiggerThan25AndLessThan100( 87 )
?
isBiggerThan25AndLessThan100( number )
if number > 25 and number < 100
report true
report false
True
False
Question 3
3.
Using the code below hat is returned by the call
isEven( 50 )
?
isEven( number )
if number mod 2 = 0
report true
report false
True
False
Question 4
4.
Using the code below what is returned by the call
countEvens(1,2,3,4,5,6,7,8,9,10,11,12 )
?
countEvens( list )
spot = 0
count = 0
repeat length of list
if isEven(item spot of list)
count = count + 1
report count
Question 5
5.
Using the code below what is returned by the call
countEvens(11,12,23,24,25,16,2,111,99 )
?
countEvens( list )
spot = 0
count = 0
repeat length of list
if isEven(item spot of list)
count = count + 1
report count