O Level - Javscript And Angular Js
Questions No: 1/50

Which event handler is used to trigger an action when the user releases a key on the keyboard?
जब उपयोगकर्ता कीबोर्ड पर कुंजी जारी करता है तो कार्रवाई को ट्रिगर करने के लिए किस इवेंट हैंडलर का उपयोग किया जाता है?

Questions No: 2/50

Which of the following events occurs when an HTML form is submitted?
जब HTML फॉर्म सबमिट किया जाता है तो निम्नलिखित में से कौन सी घटना घटित होती है?

Questions No: 3/50

What does the isNaN() function do in JavaScript?
जावास्क्रिप्ट में isNaN() फ़ंक्शन क्या करता है?

Questions No: 4/50

What is the purpose of the focus event in JavaScript?
जावास्क्रिप्ट में फोकस इवेंट का उद्देश्य क्या है?

Questions No: 5/50

Which method is used to find an HTML element by its ID?
किसी HTML तत्व को उसकी आईडी द्वारा खोजने के लिए किस विधि का उपयोग किया जाता है?

Questions No: 6/50

JavaScript numbers are stored as
जावास्क्रिप्ट संख्याएँ इस प्रकार संग्रहित की जाती हैं

Questions No: 7/50

What event occurs when an element size changes, like when a window is resized?
जब किसी तत्व का आकार बदलता है, जैसे विंडो का आकार बदला जाता है तो कौन सी घटना घटित होती है?

Questions No: 8/50

Which of the following properties is used to check whether an element has child nodes?
निम्नलिखित में से किस गुण का उपयोग यह जांचने के लिए किया जाता है कि किसी तत्व में चाइल्ड नोड हैं या नहीं?

Questions No: 9/50

Which method is used to stop an event from propagating to parent elements in the DOM?
किसी ईवेंट को DOM में मूल तत्वों तक फैलने से रोकने के लिए किस विधि का उपयोग किया जाता है?

Questions No: 10/50

Which of the following methods is used to insert a new element before an existing element in the DOM?
DOM में मौजूदा तत्व से पहले एक नया तत्व डालने के लिए निम्नलिखित में से किस विधि का उपयोग किया जाता है?

Questions No: 11/50

Which event occurs when a JavaScript error occurs in the browser?
ब्राउज़र में जावास्क्रिप्ट त्रुटि होने पर कौन सी घटना घटित होती है?

Questions No: 12/50

What is the difference between the onblur and onfocus events in JavaScript?
जावास्क्रिप्ट में ऑनब्लर और ऑनफोकस इवेंट के बीच क्या अंतर है?

Questions No: 13/50

what will be the output of

document.write("5" + 5)

Questions No: 14/50

Which is Client Side Script Language
कौन से क्लाइंट साइड स्क्रिप्ट लैंग्वेज है

Questions No: 15/50

Which keyword is a must to use when JavaScript code is to run in older browser?
जावास्क्रिप्ट कोड को पुराने ब्राउजर में चलाने के लिए किस कीवर्ड का उपयोग करना आवश्यक है?

Questions No: 16/50

How do you write "Hello World" in an alert box?

Questions No: 17/50

How do you declare a JavaScript variable?

Questions No: 18/50

How can you access all elements with a specific class name?
आप किसी विशिष्ट वर्ग नाम वाले सभी तत्वों तक कैसे पहुंच सकते हैं?

Questions No: 19/50

What does the console.log() function do?
console.log() फ़ंक्शन क्या करता है?

Questions No: 20/50

For testing we should use
परीक्षण के लिए हमें उपयोग करना चाहिए

Questions No: 21/50

Which event is fired when the page has completely loaded, including all dependent resources such as stylesheets and images?
जब पेज पूरी तरह से लोड हो जाता है, जिसमें स्टाइलशीट और छवियों जैसे सभी निर्भर संसाधन शामिल होते हैं, तो कौन सा ईवेंट सक्रिय हो जाता है?

Questions No: 22/50

How do you write "Hello World" in an alert box ?
आप अलर्ट बॉक्स में ""Hello World" कैसे लिखते हैं?

Questions No: 23/50

How can you add a comment in a JavaScript?

Questions No: 24/50

Which method is used to remove the last element from an array in JavaScript?
जावास्क्रिप्ट में किसी सरणी से अंतिम तत्व को हटाने के लिए किस विधि का उपयोग किया जाता है?

Questions No: 25/50

Which of the following methods can be used to remove an attribute from an HTML element?
HTML तत्व से किसी विशेषता को हटाने के लिए निम्नलिखित में से किस विधि का उपयोग किया जा सकता है?

Questions No: 26/50

Which method is used to toggle a class on an element?
किसी तत्व पर कक्षा को टॉगल करने के लिए किस विधि का उपयोग किया जाता है?

Questions No: 27/50

What type of value gets printed if we add the following two variables ?

var a = "10";
var b =50;

Questions No: 28/50

Find the only statement in the following that is correct.
निम्नलिखित में से केवल वही कथन ज्ञात कीजिए जो सही है।

Questions No: 29/50

Which is the correct syntax to call an external JavaScript file in the current HTML document ?
वर्तमान HTML दस्तावेज़ में बाहरी जावास्क्रिप्ट फ़ाइल को कॉल करने के लिए सही सिंटैक्स कौन सा है?

Questions No: 30/50

Which one of the following is not considered as an error
निम्नलिखित में से किसे त्रुटि नहीं माना जाता है

Questions No: 31/50

How can you access an element by its tag name in JavaScript?
आप जावास्क्रिप्ट में किसी तत्व को उसके टैग नाम से कैसे एक्सेस कर सकते हैं?

Questions No: 32/50

How do you append a new child element to an existing element in the DOM?
आप DOM में किसी मौजूदा तत्व में नया चाइल्ड तत्व कैसे जोड़ते हैं?

Questions No: 33/50

Which company developed JavaScript?
जावास्क्रिप्ट को किस कंपनी ने डेवलप किया?

Questions No: 34/50

How can you add a new element to the end of an array?
आप किसी सरणी के अंत में एक नया तत्व कैसे जोड़ सकते हैं?

Questions No: 35/50

While working on a JavaScript project, in your JavaScript application, which function would you use to send messages to users requesting for text input?
जावास्क्रिप्ट प्रोजेक्ट पर काम करते समय, आपके जावास्क्रिप्ट एप्लिकेशन में कौन सा कार्य होगा आप टेक्स्ट इनपुट के लिए अनुरोध करने वाले उपयोगकर्ताओं को संदेश भेजने के लिए उपयोग करते हैं?

Questions No: 36/50

What is the correct JavaScript syntax to write Hello World?

Questions No: 37/50

Which event occurs when a user changes the content of an input field?
जब कोई उपयोगकर्ता इनपुट फ़ील्ड की सामग्री बदलता है तो कौन सी घटना घटित होती है?

Questions No: 38/50

How can you retrieve all the child elements of a specific DOM node?
आप किसी विशिष्ट DOM नोड के सभी चाइल्ड तत्वों को कैसे पुनः प्राप्त कर सकते हैं?

Questions No: 39/50

Which is not a mouse event?
कौन सा माउस इवेंट नहीं है?

Questions No: 40/50

What event is triggered when the user presses a key on the keyboard?
जब उपयोगकर्ता कीबोर्ड पर एक कुंजी दबाता है तो कौन सी घटना शुरू हो जाती है?

Questions No: 41/50

The ____ event occurs when the user clicks on a HTML element.
____ इवेंट तब होती है जब उपयोगकर्ता HTML एलिमेंट पर क्लिक करता है।

Questions No: 42/50

Which of the following is true about the <script> tag in HTML?
HTML में <script> टैग के बारे में निम्नलिखित में से कौन सा सत्य है?

Questions No: 43/50

Which event fires when the user right-clicks on an element?
जब उपयोगकर्ता किसी तत्व पर राइट-क्लिक करता है तो कौन सी घटना सक्रिय हो जाती है?

Questions No: 44/50

Which of the following is not a JavaScript datatype?
निम्न में से कौन सा जावास्क्रिप्ट डेटाटाइप नहीं है?

Questions No: 45/50

JavaScript is designed for following purpose

Questions No: 46/50

Inside which HTML element do we put the JavaScript?
HTML पेज में जावास्क्रिप्ट कोड लिखने के लिए किस टैग का इस्तेमाल करेंगे

Questions No: 47/50

Which method is used to replace an existing element in the DOM with a new one?
DOM में मौजूदा तत्व को नए तत्व से बदलने के लिए किस विधि का उपयोग किया जाता है?

Questions No: 48/50

How do you write a comment in JavaScript?
जावास्क्रिप्ट में कमेंट कैसे लिखेंगे

Questions No: 49/50

Which of the following properties is used to change the text inside an HTML element?
HTML तत्व के अंदर टेक्स्ट को बदलने के लिए निम्नलिखित में से किस गुण का उपयोग किया जाता है?

Questions No: 50/50

Which method is not used for converting variables to number?
वेरिएबल्स को संख्या में बदलने के लिए किस विधि का उपयोग नहीं किया जाता है?