- Selenium
- JMeter
- DevOps
- VERSION CTRL
- ONLINE QUIZ
- Number System MCQ - 1
- Number System MCQ - 2
- Number System MCQ - 3
- Simplification MCQ - 1
- Average MCQ - 1
- Simple Interest MCQ - 1
- Compound Interest - MCQ
- Percentage - MCQ
- Ratio and Proportion - MCQ
- Profit and Loss - MCQ
- Time, Speed, and Distance - MCQ
- Time, and Work - MCQ
- Boats and Streams - MCQ
- General Knowledge Quiz - Indian Polity
- General Knowledge Quiz - History
- General Knowledge Quiz - Geography
- GK Quiz - Indian Polity - 2
- GK Quiz - Banking and Finance
- GK Quiz - Economics
- GK Quiz- Merger and Acquisition
- GK Quiz- International Bodies
- English Grammar quiz-1
- English Grammar quiz-2
- S/W PROJECT MANAGEMENT
- PROTRACTOR
- Java -Tutorials
- MORE
Javascript quiz on data types
Check this javascript quiz on data types for free and evaluate your expertise on various JS data types.
Instructions
Topic- javascript data types
The test consists of 14 questions.
No negative marking for this test.
No Time limit
The pass percentage is 70%
The correct answer with a description will be displayed after the answer has been marked.
Submit the test to calculate your score once you are done with all the questions.
Complexity Level- Moderate
Q1: Null is a valid data type in Javascript:
Select True or False.
Select True or False.
Q2: What will be the console output of the below JS code:
let a;
console.log(a);
let a;
console.log(a);
Q3: Which of the following is NOT a valid data type in JS?
Q4: What will be the console output of the below JS code?
let a=null;
console.log(a);
let a=null;
console.log(a);
Q5: What will be the console output of the below JS code?
let a=hello;
console.log(a);
let a=hello;
console.log(a);
Q6: What will be the console output of the below JS code?
let a="hello";
console.log(a);
let a="hello";
console.log(a);
Q7: What will be the console output of the below JS code?
let a="8"+"8";
console.log(a);
let a="8"+"8";
console.log(a);
Q8: Identify whether the below Javascript code is a valid or an invalid code:
let a=[34,"hello",false, 4599];
let a=[34,"hello",false, 4599];
Q9: What will be the console output of the below JS code?
let a="8"/8;
console.log(a);
let a="8"/8;
console.log(a);
Q10: The below JS code is an ______
let a = {name:"Sarah", age:24, address: "7 north block"}
let a = {name:"Sarah", age:24, address: "7 north block"}
Q11: What will be the console output of the below JS code?
let a=34;
let b=56;
console.log(a=b);
let a=34;
let b=56;
console.log(a=b);
Q12: What will be the console output of the below javascript code?
let a = false;
console.log(a);
let a = false;
console.log(a);
Q13: What will be the console output of the below javascript code?
let a="8"+8+8;
console.log(a);
let a="8"+8+8;
console.log(a);
Q14: What will be the console output of the below javascript code?
let a="8"+8;
console.log(a+a);
let a="8"+8;
console.log(a+a);