Javascript Meme Quiz - 1

Test your JavaScript skills with CodingKaro’s JS Quiz! Featuring carefully crafted questions, this quiz challenges your knowledge of web technologies. Instant explanations are included. Start now!

Q1. 

What will be the output of the following code?


         console.log('b' + 'a' + + 'a' + 'a');     

Q2. 

What will be the value of the following code?


         parseInt(0.0000000000001);     

Q3. 

let l = [1, 2, 3, 4];
Select the options that will give the output true.

Q4. 

            What will be the output of the following expressions?

"11" + 1
"11" - 1

Q5. 

        What will be the output of the following expressions?
1 === 1
1 !== 2

Q6. 

        What will be the output of the following code?

[1, 10000, 22, 33, 4444, 2222].sort()

Q7. 

What will be the output of the following?
var x = 10;

if (true) {
    var x = 20;
}

console.log(x);
            
  • Throws a ReferenceError

Q8. 

[1, 2, 3] + [4, 5, 6]
    

Q9. 

What will be the output of the following statements?

console.log(null < 0)
console.log(null > 0)
console.log(null == 0)
console.log(null === 0)
console.log(null <= 0)

Q10. 

console.log( (null - 0) + "0" )
    
raunit-picture
raunit

Technical Writer at CodingKaro

Share this on
CodingKaro Poster
CodingKaro
4.7

3K+ Downloads

One of its unique features is an automated coding contest reminder, which sets alarms for upcoming coding contests on popular platforms like CodeChef, CodeForces, and LeetCode, without the need for user input. This feature ensures that users never miss a coding contest and can stay updated with the latest coding challenges.

Download CodingKaro