NEW
Font size
WorksheetsBrian Quizz
Total questions: 10
Worksheet time: 5mins
How many columns can fit in a row?
4
6
12
15
8%2
4
0.16
NaN
0
You know how to declare variables, right? Which of the following is not correct?
var
constant
let
all are correct
Which is the odd one out?
var
let
const
Which operator can you use instead of .concat( ) ?
/
+
-
*
%
Which of the following is not a data type?
null
strings
booleans
none
All values returned from a prompt are saved as strings. True or False?
True
False
I don't know
Fizz Buzz challenge:
11, __, 13, 14, fizz, buzz, 17, fizz, 19, buzz
Fill in the __
fizz
buzz
fizbuzz
Adding numbers with loops. What will be be printed as the total?
var total = 5;
var summands = [1, 2, 3, 4, 5];
summands.forEach(function(summand) {
total += summand;
});
alert(total);
5
10
15
20
Which is not a way of converting data types?
parseNum( )
parseInt( )
parseFloat( )
.toString( )
