Q 6.
निम्नलिखित में से कौन सा दिए गए जावास्क्रिप्ट कोड के लिए सही आउटपुट है?
Which one of the following is the correct output for the given JavaScript code?var a=0;
var b =0;
while (a <3)
{
a++;
b += a;
console.log(b);
}
var a=0;
var b =0;
while (a <3)
{
a++;
b += a;
console.log(b);
} A. 135
B. 123
C. 013
D. 01
Q 7.
निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा?
What will be the output of the following code snippet?
a = 5 + "9";
document.write(a);
a = 5 + "9";
document.write(a);
A. Compilation Error
B. 14
C. Runtime Error
D. 59
Q 8.
निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा?
What will be the output of the following code snippet?var a = 1;
var b = 0;
while (a <= 3)
{
a++;
b += a * 2;
print(b);
}
var a = 1;
var b = 0;
while (a <= 3)
{
a++;
b += a * 2;
print(b);
}A. 410 18
B. 123
C. 147
D. None of the above
Q 9.
निम्नलिखित में से कौन सा जावास्क्रिप्ट फ्रेमवर्क नहीं है?
Which of the following is not a Javascript framework?
A. Node
B. Vue
C. React
D. Cassandra
Q 10.
हम जावास्क्रिप्ट में एक टिप्पणी कैसे लिखते हैं?
How do we write a comment in javascript?
A. /* */
B. //
C. #
D. $ $