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 more1 575
Subscribers
No data24 hours
No data7 days
-930 days
Posts Archive
1 575
What will be the step of the interpreter in a jump statement when an exception is thrown?
1 575
What will happen if the body of a for/in loop deletes a property that has not yet been enumerated?
1 575
One of the special features of an interpreter in reference with the for loop is that ___________
1 575
What will be the equivalent code of the following JavaScript code?
for(var p in o) console.log(o[p]);
1 575
What will the following JavaScript code snippet work? If not, what will be the error?
1 575
What are the three important manipulations done in a for loop on a loop variable?
1 575
function printArray(a)
{
var len = a.length, i = 0;
if (len == 0)
console.log("Empty Array");
else
{
do
{
console.log(a[i]);
} while (++i < len);
}
}1 575
var grade='C';
var result = '';
switch(grade)
{
case 'A':
result+=" 10";
case 'B':
result+=" 9";
case 'C':
result+=" 8";
default:
result+=" 0";
}
document.write(result);1 575
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 575
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 575
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 575
let a = 1;
if (a > 10) {
document.write(10);
} else {
document.write(a > 10);
}