Session6

Session6

University

20 Qs

quiz-placeholder

Similar activities

Cuestionario sobre IA en Construcción

Cuestionario sobre IA en Construcción

University

16 Qs

Quiz Protokol Komunikasi IoT

Quiz Protokol Komunikasi IoT

University

20 Qs

English for Engineering Part 2

English for Engineering Part 2

University

15 Qs

Simple and Compound Machines

Simple and Compound Machines

7th Grade - University

15 Qs

WEEK11-12 Flyback,PF, Half-Bridge

WEEK11-12 Flyback,PF, Half-Bridge

University

17 Qs

Final Term - Quiz No. 4: Asphaltic Materials

Final Term - Quiz No. 4: Asphaltic Materials

University

15 Qs

DLD Unit 1 _ 2

DLD Unit 1 _ 2

University

20 Qs

Quiz Manajemen Operasi

Quiz Manajemen Operasi

University

15 Qs

Session6

Session6

Assessment

Quiz

Engineering

University

Practice Problem

Medium

Created by

Nada Asraf

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What will be the result of the following expression? (Select all that apply)

console.log(2 + "2" - 1 + true);

"221"

22

21

NaN

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet?
var x = 10;

function foo() { var x = 5; console.log(x); }

foo();

console.log(x);

10 , 10

10 , 5

5 , 10

5 , 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

var name = "John";

function sayName() { console.log(name); var name = "Jane"; }

sayName();

John 

Jane

JohnJane

Undefined

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you convert a string "123" to a number in JavaScript?

parseInt("123") 

convertNumber("123") 

toNumber("123") 

number("123") 

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code snippet?

1

15

10

[1,2,3,4,5]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

...(1)...Function-scoped and .

....(2)....Block-scoped

(1) let , (2) var

(1) var , (2) let

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which document property will return all the img elements?

document.links

document.doctype

document.images

document.documentMode

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?