page-banner
Chapter-6 JavaScript and AngularJS
Q56.
प्रोग्राम का आउटपुट दीजिए<break-line><break-line>Give the output of the program<pre><code><html> <body> <script> var number = 50; //global variable function a() { alert(number); } function b() { alert(number); } a(); </script> </body> </html></code></pre>
A. 50
B. Error
C. Number
D. None of the above
View Answer
Q57.
निम्नलिखित में से कौन सा कथन जावास्क्रिप्ट में Arrays को परिभाषित करता है?<break-line><break-line>Which of the following statements define Arrays in JavaScript?
A. It is an ordered list of values
B. It is an ordered list of objects
C. It is an ordered list of string
D. It is an ordered list of functions
View Answer
Q58.
निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या है?<break-line><break-line>What is the output of the following JavaScript code?<pre><code><script> var a; document.getElementById("demo").innerHTML = a + 1; </script></code></pre>
B. undefined
C. 1
D. NaN
View Answer
Q59.
निम्नलिखित में से किसे त्रुटि नहीं माना जाता है:<break-line><break-line>Which one of the following is not considered as an error:
A. Division by zero
B. Missing of Bracket
C. Syntax error
D. Missing of semicolons
View Answer
Q60.
"var" और "function" ________ हैं<break-line><break-line>The “var” and “function” are ________
A. Keywords
B. Declaration statements
C. Data types
D. Prototypes
View Answer