en
Feedback

Don't get caught by a cheater! Telemetrio finds and tags such channels 👉 If you want to see the tag, subscribe

Coding Quiz Zone

Coding Quiz Zone

Open in Telegram

✨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!

Show more
1 551
Subscribers
+124 hours
+17 days
No data30 days
Posts Archive
14. What will be the output of the following JavaScript code?

var a = 4;
var b = 1;
var c = 0;
if (a === b)
    document.write(a);
else if (a === c)
    document.write(a);
else
    document.write(c);

What will be the output of the following JavaScript code?
Anonymous voting


var grade='A';  
var result=0;  
switch(grade)
{  
    case 'A':  
        result+=10;  
    case 'B':  
        result+=9;  
    case 'C':  
        result+=8;  
    default:  
        result+=0;  
}  
document.write(result);

What will be the output of the following JavaScript code?
Anonymous voting


var B = 65; // ASCII value of A
var grade = B;
var result = 0; // Initialize result here
switch(grade) {
    case 'A': {
        result += 10; 
        break;
    } 
    case 'B': {
        result += 9;
        break;
    }  
    case 'C': {
        result += 8;
        break;
    }  
    default:  
        result += 0;  
}  
document.write(result);

What will be the output of the following JavaScript code?
Anonymous voting

let a = 1;
if (a > 10) {  
    document.write(10);  
} else {
    document.write(a > 10);  
}

The enumeration order becomes implementation dependent and non-interoperable if ___________
Anonymous voting

What happens in the following javaScript code snippet?
Anonymous voting

var count = 0;
while (count < 10) 
{
     console.log(count);
     count++;
}

. In the following switch syntax, the expression is compared with the case labels using which of the following operator(s)? switch(expression) { statements }
Anonymous voting

The “var” and “function” are __________
Anonymous voting

When an empty statement is encountered, a JavaScript interpreter __________
Anonymous voting

Which of the following measurement is relative to font-size of the root element?
Anonymous voting

Which of the following measurement is relative to 1% of the height of the viewport?
Anonymous voting

Which of the following measurement is relative to 1percentage of the width of the viewport?
Anonymous voting

Which of the following measurement is relative to 1percentage of viewport’s larger dimension?
Anonymous voting

Which of the following measurement defines a measurement relative to a font’s x-height?
Anonymous voting

Which of the following measurement defines a measurement in pixels?
Anonymous voting

Which of the following measurement defines a measurement in inches?
Anonymous voting