
Session6

Quiz
•
Engineering
•
University
•
Medium
Nada Asraf
Used 1+ times
FREE Resource
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
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
Similar Resources on Wayground
25 questions
PodiumRound

Quiz
•
University
25 questions
Gen-Z's Trailblazers -2k25 2

Quiz
•
University
21 questions
React Quiz

Quiz
•
University
23 questions
QUIZ

Quiz
•
University
20 questions
General Knowledge Quiz

Quiz
•
University
20 questions
NEXUS'25

Quiz
•
University
15 questions
CC SBL

Quiz
•
University
19 questions
AVINYA 2K25

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade