CSS Unit 1

Quiz
•
Other
•
Professional Development
•
Hard
Jyotsna J
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
const obj1 = {first: 20, second: 30, first: 50}; console.log(obj1);
{first: 20, second: 30}
{first: 20}
{first: 20, second: 30, first: 50}
Syntax Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
print(typeof(NaN));
Object
Number
String
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
var a = true + true + true * 3; print(a)
3
0
Error
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
a = [1, 2, 3, 4, 5]; print(a.slice(2, 4));
3,4
2,3
3,4,5
2,3,4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
var a = 1; var b = 0; while (a <= 3) { a++; b += a * 2; print(b); }
4 10 18
1 2 3
1 4 7
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of JavaScript language is ___
Object-Oriented
Object-Based
Assembly-language
High-level
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following JavaScript code?
functioncomparison()
{
int number=10;
if(number==="10")
return true;
else
return false;
}
true
false
error
none of the above
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Estructuras de Control en Java

Quiz
•
Professional Development
25 questions
STEAM-ARDUİNO/CNC/DRONE modulları

Quiz
•
Professional Development
15 questions
QUIZ SIAPA PDP

Quiz
•
Professional Development
16 questions
Quality Check Review

Quiz
•
Professional Development
16 questions
ENSEÑEMOS CON AMOR

Quiz
•
Professional Development
15 questions
Javascript Basics-2

Quiz
•
Professional Development
20 questions
MuleSoft MCD1 training

Quiz
•
Professional Development
25 questions
JavaScript cz.1

Quiz
•
4th Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade