JAVASCRIPT LONG

JAVASCRIPT LONG

University

55 Qs

quiz-placeholder

Similar activities

DS-UNIT-2-Stack Queue

DS-UNIT-2-Stack Queue

University

50 Qs

C PROGRAMMING -II INTERNALS EXAMINATIONS - SEP 2021

C PROGRAMMING -II INTERNALS EXAMINATIONS - SEP 2021

University

50 Qs

Quiz 1 - Information Management

Quiz 1 - Information Management

University

57 Qs

Ass3

Ass3

University - Professional Development

50 Qs

MIDTERM EXAMINATION - AUTOMATA THEORY

MIDTERM EXAMINATION - AUTOMATA THEORY

University

50 Qs

ICT in society

ICT in society

5th Grade - University

50 Qs

Business Finance Endterm Exam

Business Finance Endterm Exam

University

60 Qs

JAVASCRIPT LONG

JAVASCRIPT LONG

Assessment

Quiz

Computers

University

Medium

Created by

Danny Casimero

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

55 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Analyze the code snippet:

let n = 2 3 * 3 - 1;

53

215

18

36

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The number 2 is stored in the n variable: let n = 2;.

The command n = n*n*n is then called.

This last command can be replaced by:

n **= 3;

n ***= n;

n **= n;

n *= 3;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The string "12" has been written into the str variable: let str = "12";.

Then, the following operation is performed: str = +str.

As a result, the variable str will contain:

12

"+12"

"12"

NaN

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Analyze the code snippet:

let n = 10;

let m = ++n;

n: 10, m: 10

n: 11, m: 10

n: 10, m: 11

n: 11, m: 11

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of the operation !(true && false || true) will be:

null

true

false

1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of the comparison "abcd" > "Abcd" will be:

false

"abcd"

1

true

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of the operation 3 * 4 > 20 – 15 will be:

-14

NaN

true

false

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?