JavaScript Quiz for Grade 2 Students

JavaScript Quiz for Grade 2 Students

2nd Grade

8 Qs

quiz-placeholder

Similar activities

Mathematics Exam

Mathematics Exam

1st - 3rd Grade

10 Qs

ALGORITHM ACTIVITY

ALGORITHM ACTIVITY

1st - 4th Grade

10 Qs

learn

learn

2nd Grade

11 Qs

flow chart

flow chart

KG - 5th Grade

10 Qs

JavaScript Concepts Quiz

JavaScript Concepts Quiz

2nd Grade

10 Qs

Nuestras Exposiciones.

Nuestras Exposiciones.

1st - 3rd Grade

10 Qs

And u think ur smart...

And u think ur smart...

KG - University

8 Qs

Enigmes logique

Enigmes logique

KG - University

11 Qs

JavaScript Quiz for Grade 2 Students

JavaScript Quiz for Grade 2 Students

Assessment

Quiz

Mathematics

2nd Grade

Medium

Used 2+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JavaScript?

CSS

JavaScript

HTML

Java

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the basic data types in JavaScript?

integer, float, character, boolean, undefined, and symbol

int, str, bool, none, and symbol

num, str, bool, null, and symbol

number, string, boolean, null, undefined, and symbol

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable in JavaScript?

var, let, or const

if, else, or switch

for, while, or do-while

int, float, or string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'if' statement in JavaScript?

The purpose of the 'if' statement in JavaScript is to execute a block of code if a specified condition is true.

The purpose of the 'if' statement in JavaScript is to execute a block of code only once.

The purpose of the 'if' statement in JavaScript is to execute a block of code regardless of the condition.

The purpose of the 'if' statement in JavaScript is to execute a block of code if a specified condition is false.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? console.log(5 + '5');

55

10

55

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? var x = 10; console.log(x++); console.log(x);

11

9

undefined

10

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

JavaScript é uma linguagem de programação destinada somente ao front-end de aplicações web. Essa afirmação é:

Verdadeira

Falsa

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Sobre o JavaScript assinale a opção correta:

Os scripts só podem ser inseridos na <body>.

Os scripts só podem ser inseridos na <head>.

Os scripst's não podem ser colocados em arquivos externos

Os identificadores de JavaScript diferenciam maiúsculas de minúsculas.

A única maneira de declarar uma variável em JavaScript é utilizando a palavra-chave var.