Week 10.2

Week 10.2

Professional Development

10 Qs

quiz-placeholder

Similar activities

Intro M3

Intro M3

Professional Development

13 Qs

IT ENGLISH: Research Project Topics - Web Development Frameworks

IT ENGLISH: Research Project Topics - Web Development Frameworks

Professional Development

10 Qs

JavaScript Quiz Day-1

JavaScript Quiz Day-1

Professional Development

12 Qs

JavaScript

JavaScript

Professional Development

11 Qs

JavaScript Arrays

JavaScript Arrays

Professional Development

15 Qs

Hybrid Web Quiz

Hybrid Web Quiz

University - Professional Development

12 Qs

JavaScript Fundamentals

JavaScript Fundamentals

9th Grade - Professional Development

10 Qs

Javascript Datatypes and Variables(Kushal Das)

Javascript Datatypes and Variables(Kushal Das)

Professional Development

15 Qs

Week 10.2

Week 10.2

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Poul Nichols

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the value of "elem" variable?

var elem;
if ( 11 == 11 && 12 < 10 ){
elem = 12;
}else {
elem = 'undefined';
}

undefined

12

11

10

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of the value null in JavaScript?

To indicate a variable has not been assigned any value.

To represent an error in a mathematical operation.

To represent an nonexistent value or object

To indicate an empty string or absence of a value.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is displayed on the browser?

function myFunction(){

document.write(myFunction === myFunction);

}

myFunction();

true

false

undefined

null

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result?

Number("1") - 1 == 0;

true

false

undefined

null

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result?

(true + false) > 2 + true

true

false

undefined

null

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

what is the value of

var x = 3;

var obj ={

x:2,

y: {x:1, y: 2},

}

document.write(obj.y.x);

1

2

3

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the value of

var x = 3;

var obj ={

x:2,

y: function(){

return this.x},

}

alert(obj.y())

1

2

3

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?