Block Quiz
star
star
star
star
star
Last updated over 1 year ago
5 questions
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
Using the code below what is returned by the call
isBiggerThan25AndLessThan100( 180 ) ?
isBiggerThan25AndLessThan100( number )
if number > 25 and number < 100
report true
report false
1
Using the code below what is returned by the call
isBiggerThan25AndLessThan100( 87 ) ?
isBiggerThan25AndLessThan100( number ) if number > 25 and number < 100 report true report false
Using the code below what is returned by the call
isBiggerThan25AndLessThan100( 87 ) ?
isBiggerThan25AndLessThan100( number )
if number > 25 and number < 100
report true
report false
1
Using the code below hat is returned by the call isEven( 50 ) ?
isEven( number ) if number mod 2 = 0 report true report false
Using the code below hat is returned by the call
isEven( 50 ) ?
isEven( number )
if number mod 2 = 0
report true
report false
1
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
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
1
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
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