New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

JavaScript Basics - Foundations data types and conditionals

Quiz

Played 1

About this activity

Foundations data types and conditionals

Created by

Viet Nam

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
JavaScript Basics - Foundations data types and conditionals
 

JavaScript Basics - Foundations data types and conditionalsOnline version

Foundations data types and conditionals

by Minh Nhat Pham
1

Which of these is a string?

2

Which data type is used for whole numbers?

3

typeof "dog" returns:

4

typeof false returns:

5

Which of these is NOT a JavaScript data type?

6

typeof null gives:

7

What does typeof undefined return?

8

What is the result of "5" + 3?

9

What is the result of 5 + "3"?

10

What is the result of 10 / "2"?

11

What keyword starts a conditional statement?

12

What keyword provides an alternative branch?

13

if (5 > 3) { console.log("yes"); } prints:

14

if (2 > 5) { console.log("hi"); } else { console.log("bye"); } prints:

15

Which is the correct syntax?

16

true && false evaluates to:

17

true || false evaluates to:

18

!true evaluates to:

19

!false evaluates to:

20

If x = 10, what does x > 5 return?

21

2 + 3 * 2 equals:

22

10 % 3 equals:

23

What does === check?

24

5 == "5" is:

25

5 === "5" is:

26

Which operator means 'not equal'?

27

if ("apple" === "apple") is:

28

Which of these will make the condition true if x = 3?

29

What will if (0) do?

30

What will if ("") do?

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.