Coding Quiz Zone
Открыть в 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!
Больше1 551
Подписчики
+124 часа
+17 дней
Нет данных30 дней
Архив постов
1 551
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);1 551
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);1 551
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);1 551
let a = 1;
if (a > 10) {
document.write(10);
} else {
document.write(a > 10);
}1 551
The enumeration order becomes implementation dependent and non-interoperable if ___________
1 551
. In the following switch syntax, the expression is compared with the case labels using which of the following operator(s)?
switch(expression) { statements }
1 551
When an empty statement is encountered, a JavaScript interpreter __________
1 551
Which of the following measurement is relative to font-size of the root element?
1 551
Which of the following measurement is relative to 1% of the height of the viewport?
1 551
Which of the following measurement is relative to 1percentage of the width of the viewport?
1 551
Which of the following measurement is relative to 1percentage of viewport’s larger dimension?
1 551
Which of the following measurement defines a measurement relative to a font’s x-height?
1 551
Which of the following measurement defines a measurement in pixels?
1 551
Which of the following measurement defines a measurement in inches?
