| 71. |
How does a WHILE loop start?
WHILE લૂપ કેવી રીતે શરૂ થાય છે?
|
||||||||
|
Answer:
Option (c) |
| 72. |
How does a FOR loop start?
FOR લૂપ કેવી રીતે શરૂ થાય છે?
|
||||||||
|
Answer:
Option (a) |
| 73. |
Which is a more efficient JavaScript code snippet?
Code 1 for(var num=10;num>=1;num--)
{
document.writeln(num);
}
Code 2 var num=10;
while(num>=1){
document.writeln(num);
num++;
}
વધુ efficient જાવાસ્ક્રિપ્ટ કોડ સ્નિપેટ કયું છે?
Code 1 for(var num=10;num>=1;num--)
{
document.writeln(num);
}
Code 2 var num=10;
while(num>=1){
document.writeln(num);
num++;
}
|
||||||||
|
Answer:
Option (a) |
| 74. |
What happens in the following javaScript code snippet? var count = 0;
while (count < 10)
{
console.log(count);
count++;
}
નીચેના જાવાસ્ક્રિપ્ટ કોડ સ્નિપેટમાં શું થાય છે? var count = 0;
while (count < 10)
{
console.log(count);
count++;
}
|
||||||||
|
Answer:
Option (b) |
| 75. |
Which one is not the looping structures in JavaScript?
જાવાસ્ક્રિપ્ટમાં લૂપિંગ સ્ટ્રક્ચર્સ કઈ નથી?
|
||||||||
|
Answer:
Option (d) |
| 76. |
Which loop is used to loop through an object's properties? ઓબ્જેક્ટની પ્રોપર્ટિનો ઉપયોગ કઈ લૂપમાં થાય છે?
|
||||||||
|
Answer:
Option (c) |
| 77. |
The keyword ‘break’ cannot be simply used within _________
કીવર્ડ ‘break’ નો ઉપયોગ ફક્ત _________ ની અંદર થઈ શકતો નથી
|
||||||||
|
Answer:
Option (b) |
| 78. |
Which keyword is used to come out of a loop only for that iteration?
ફક્ત તે iteration માટે લૂપમાંથી બહાર આવવા માટે કયા કીવર્ડનો ઉપયોગ થાય છે?
|
||||||||
|
Answer:
Option (b) |