
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
15 questions
Kuis Ekologi dan Akuakultur

Quiz
•
University
25 questions
EHV-AC Transmission Quiz

Quiz
•
University
20 questions
Hackharbor 3.0 Day 3:C

Quiz
•
University
21 questions
React Quiz

Quiz
•
University
15 questions
Prueba Diagnóstica POO - 2025-2

Quiz
•
University
20 questions
Examen Estructura de datos 2P

Quiz
•
University
20 questions
ETHICAL HACKING CT-3 QUIZ

Quiz
•
University
20 questions
ACM Tech Weekend Quiz (Sept 20)

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University