en
Feedback
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 575
Subscribers
No data24 hours
No data7 days
-930 days
Posts Archive
while (a != 0)
{
   if (a == 1) 
       continue;
   else 
       a++;
}

What will be the step of the interpreter in a jump statement when an exception is thrown?
Anonymous voting

What will happen if the body of a for/in loop deletes a property that has not yet been enumerated?
Anonymous voting

One of the special features of an interpreter in reference with the for loop is that ___________
Anonymous voting

What will be the equivalent code of the following JavaScript code? for(var p in o) console.log(o[p]);
Anonymous voting

What will the following JavaScript code snippet work? If not, what will be the error?
Anonymous voting

function tail(o) 
{ 
    for (; o.next; o = o.next) ;
    return o;
}

What are the three important manipulations done in a for loop on a loop variable?
Anonymous voting

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

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);
     }
}

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

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);

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

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);  
}