Search Header Logo

JavaScript

Authored by Անահիտ Արամյան

Other

1st Grade

Used 8+ times

JavaScript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ո՞րն է == և === օպերատորների տարբերությունը

Առաջինը ստուգում է արժեքների հավասարությունը, երկրորդը՝ արժեքների և տիպերի

Առաջինը ստուգում է տիպերի հավասարությունը, երկրորդը՝ արժեքների

Առաջինը ստուգում է արժեքների և տիպերի հավասարությունը, երկրորդը՝ արժեքների

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ի՞նչ արժեք կունենան x,y փոփոխականները հետևյալ գործողությունների կատարման արդյունքում

let x = 4; let y = ++x;

x = 4, y = 5

x = 5, y = 4

x = 4, y = 4

x = 5, y = 5

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ի՞նչ կլինի արդյունքում

console.log(2 && 1 && null && 0 && undefined)

undefined

0

null

1

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Ինչի՞ հավասար կլինեն x,y փոփոխականները հետևյալ գործողությունների կատարման արդյունքում

let x = 4, y = 0;
while(x < 8){
x+=2;
y++;

}
console.log(x, y);

x = 6, y = 8

x = 8, y = 2

x = 6, y = 2

x = 2, y = 8

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Ի՞նչ կտպվի էկրանին հետևյալ հրամանների կատարման արդյունքում


let a = 4, b = 5;
if( 2 * a > b - a){
a = a - 1;
}
else if( a < b){
b = b - 1;
}
else{

a = b - a;

}

console.log(a, b);

3, 5

4, 4

1, 5

0, 6

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ի՞նչ կտպվի էկրանին հետևյալ հրամանների կատարման արդյունքում

let x = 10, y = "5";

console.log(x + y);

undefined

ReferenceError

15

105

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ի՞նչ արդյունք կունենանք էկրանին
let x = 45.7;
console.log( parseInt(x) );
console.log( Math.floor(x) );
console.log( Math.ceil(x) );

45, 45, 46

45, 45, 45

46, 45, 46

Access all questions and much more by creating a free account

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

Already have an account?