Consider the following code snippet
while (a != 0)
{
if (spam>a == 1)
continue;
else
a++;
}
What will be the role of the continue keyword in the above code snippet?
while (a != 0)
{
if (spam>a == 1)
continue;
else
a++;
}
A. The continue keyword restarts the loop
B. The continue keyword skips the next iteration
C. The continue keyword skips the rest of the statements in that iteration
D. None of the mentioned
Answer: Option C
Solution(By Examveda Team)
Instead of exiting a loop like the break keyword, the continue keyword moves to the next iteration from the place encountered.The development environment offers which standard construct for data validation
A. Super controlled loop constructs
B. Case sensitivity check
C. Validation constructs
D. All of the mentioned
The main purpose of a “Live Wire” in NetScape is to
A. Create linkage between client side and server side
B. Permit server side, JavaScript code, to connect to RDBMS
C. Support only non relational database
D. To interpret JavaScript code
A JavaScript program developed on a Unix Machine
A. will throw errors and exceptions
B. must be restricted to a Unix Machine only
C. will work perfectly well on a Windows Machine
D. will be displayed as a JavaScript text on the browser
Join The Discussion