| 61. |
The “var” and “function” are __________
“Var” અને “function” __________ છે
|
||||||||
|
Answer:
Option (b) |
| 62. |
How do you create a function in JavaScript?
તમે જાવાસ્ક્રિપ્ટમાં ફંક્શન કેવી રીતે બનાવશો?
|
||||||||
|
Answer:
Option (c) |
| 63. |
How do you call a function named "myFunction"?
તમે "myfunction" નામના ફંક્શનને કેવી રીતે call કરો છો?
|
||||||||
|
Answer:
Option (a) |
| 64. |
Which of the following are capabilities of functions in JavaScript?
જાવાસ્ક્રિપ્ટમાં ફંકશનની capabilityઓ નીચેનામાંથી કઈ છે?
|
||||||||
|
Answer:
Option (c) |
| 65. |
<script language="javascript">
function x()
{
document.write(2+5+"8");
}
</script>
Output? <script language="javascript">
function x()
{
document.write(2+5+"8");
}
</script>
આઉટપુટ?
|
||||||||
|
Answer:
Option (d) |
| 66. |
How to write an IF statement in JavaScript?
જાવાસ્ક્રિપ્ટમાં IF સ્ટેટમેંટ કેવી રીતે લખવું?
|
||||||||
|
Answer:
Option (b) |
| 67. |
How to write an IF statement for executing some code if "i" is NOT equal to 5?
જો "i" એ 5 ની બરાબર ન હોય તો અમુક કોડ ચલાવવા માટે IF સ્ટેટમેંટ કેવી રીતે લખવું?
|
||||||||
|
Answer:
Option (b) |
| 68. |
What will be the output of the following JavaScript code?
var grade='E';
var result;
switch(grade)
{
case 'A':
result+="10";
case 'B':
result+=" 9";
case 'C':
result+=" 8";
default:
result+=" 0";
}
document.write(result);
નીચેના જાવાસ્ક્રિપ્ટ કોડનું આઉટપુટ શું હશે?
var grade='E';
var result;
switch(grade)
{
case 'A':
result+="10";
case 'B':
result+=" 9";
case 'C':
result+=" 8";
default:
result+=" 0";
}
document.write(result);
|
||||||||
|
Answer:
Option (b) |
| 69. |
The snippet that has to be used to check if “a” is not equal to “null” is _________
“a” એ “null” ની બરાબર નથી કે કેમ તે ચકાસવા માટે વાપરવા માટેનો સ્નિપેટ _________ છે
|
||||||||
|
Answer:
Option (d) |
| 70. |
What are the three important manipulations done in a for loop on a loop variable? લૂપ વેરિયેબલ પર લૂપમાં ત્રણ મહત્વપૂર્ણ મેનિપ્યુલેશન્સ શું છે?
|
||||||||
|
Answer:
Option (b) |