
Frontend Summer Internship Quiz-9
Authored by Gnaneshwar Reddy
Professional Development
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this function return if you pass an Object?
Please note: Object.keys(mObj) will return an array of all the keys in "mObj" object.
List of keys
Error
Copy of that object
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed in the console?
console.log(parseInt(false))
console.log(Number(false))
0 and 0
NaN and NaN
NaN and 0
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed in the console?
var num1 = 100;
var result = num1 > 50 ? (num1+10) < 100 ? (num1 + 20) : (num1 + 50) < 200 ? (num1 + 500) : (num1 + 200) : num1;
console.log(result)
120
150
100
600
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed in the console?
console.log(num1);
num1 = 10;
console.log(num1);
var num1;
Error
undefined and 10
undefined and undefined
10 and 10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
var num1 = 10;
var num2 = 20;
var num3 = 30;
var sum1 = ++num1 + num2++ + num3++;
var sum2 = num1++ + ++num2 + ++num3;
var sum3 = num1++ + num2++ + num3++;
console.log(sum1 + sum2 + sum3)
190
192
195
196
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?(delete operator removes a property from an object)
var output = function (x) {
delete x;
return x;
};
console.log(output(9));
Undefined
9
null
Error: Can not reference the variable x
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
var dummy = true;
console.log(dummy + 0);
console.log(dummy + "xyz");
console.log(dummy + true);
console.log(dummy + false);
true, "truexyz", "truettrue", "truefalse"
1, "truexyz", 2, 1
true, "truexyz", true , true
1, "truexyz", 1, 0
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Unit 304: Promote and sell products and services to clients
Quiz
•
Professional Development
10 questions
Budget System
Quiz
•
Professional Development
10 questions
Ôn tập bóng đá
Quiz
•
Professional Development
10 questions
Moringa JavaScript Arrays
Quiz
•
5th Grade - Professio...
10 questions
Tests Nr.2
Quiz
•
University - Professi...
15 questions
Quiz On Audit Trail
Quiz
•
Professional Development
15 questions
Labsit AZ900 - 2º Simulado
Quiz
•
Professional Development
10 questions
Switch Configuration
Quiz
•
Professional Development
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade