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

Which method would you use to add an event listener to an element?
किसी ईवेंट श्रोता को किसी तत्व में जोड़ने के लिए आप किस विधि का उपयोग करेंगे?

Questions No: 2/50

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

Questions No: 3/50

Which of the following is not a JavaScript framework or library?
निम्नलिखित में से कौन सा जावास्क्रिप्ट फ्रेमवर्क या लाइब्रेरी नहीं है?

Questions No: 4/50

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

Questions No: 5/50

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

Questions No: 6/50

What is the correct way to embed JavaScript directly within an HTML file?
जावास्क्रिप्ट को सीधे HTML फ़ाइल में एम्बेड करने का सही तरीका क्या है?

Questions No: 7/50

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

Questions No: 8/50

Which of the following methods is used to remove a child element from the DOM?
DOM से चाइल्ड तत्व को हटाने के लिए निम्नलिखित में से किस विधि का उपयोग किया जाता है?

Questions No: 9/50

How do you insert an element before another specified element in the DOM?
आप DOM में किसी अन्य निर्दिष्ट तत्व से पहले एक तत्व कैसे सम्मिलित करते हैं?

Questions No: 10/50

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

Questions No: 11/50

How do you add a new HTML element to the DOM in JavaScript?
आप जावास्क्रिप्ट में DOM में एक नया HTML तत्व कैसे जोड़ते हैं?

Questions No: 12/50

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

Questions No: 13/50

Identify the invalid HTML event.
इनवैलिड HTML ईवेंट की पहचान करें.|

Questions No: 14/50

Which event occurs when an HTML element is double-clicked?
जब HTML तत्व पर डबल-क्लिक किया जाता है तो कौन सी घटना घटित होती है?

Questions No: 15/50

What is the correct JavaScript syntax to write Hello World?

Questions No: 16/50

The snippet that has to be used to check if “a” is not equal to “null” is
The snippet that has to be used to check if “a” is not equal to “null” is

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

The correct syntax to write "Sky is blue" in JavaScript is
जावास्क्रिप्ट में "Sky is blue" लिखने का सही सिंटैक्स है

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

Which operator is used to assign a value to a variable?

Questions No: 24/50

How can you detect the loading progress of a resource, such as an image or file, using JavaScript?
आप जावास्क्रिप्ट का उपयोग करके किसी संसाधन, जैसे छवि या फ़ाइल, की लोडिंग प्रगति का पता कैसे लगा सकते हैं?

Questions No: 25/50

How do you correctly link an external JavaScript file to an HTML document?
आप बाहरी जावास्क्रिप्ट फ़ाइल को HTML दस्तावेज़ से सही ढंग से कैसे लिंक करते हैं?

Questions No: 26/50

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

Questions No: 27/50

Which event occurs when a user clicks on an HTML element?
जब कोई यूजर HTML एलिमेंट पर क्लिक करता है तो कौन सी इवेंट उत्त्पन होती है?

Questions No: 28/50

Javascript is _____ language
जावास्क्रिप्ट _____ भाषा है

Questions No: 29/50

Which statement specify correct difference between var and let keywords in JavaScript ?
कौन सा कथन जावास्क्रिप्ट में var और let कीवर्ड के बीच सही अंतर निर्दिष्ट करता है?

Questions No: 30/50

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

Questions No: 31/50

what will be the output of

document.write("5" + 5)

Questions No: 32/50

Which of the following is true about the placement of JavaScript in HTML?
HTML में जावास्क्रिप्ट के स्थान के बारे में निम्नलिखित में से कौन सा सत्य है?

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

Which event handler would you use to respond to an input field as the user is typing?
जब उपयोगकर्ता टाइप कर रहा हो तो इनपुट फ़ील्ड पर प्रतिक्रिया देने के लिए आप किस इवेंट हैंडलर का उपयोग करेंगे?

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

What is the correct syntax for referring to an external script called "xxx.js" ?
"xxx.js" नामक एक्सटर्नल स्क्रिप्ट को संदर्भित करने के लिए सही स्क्रिप्टक्या है

Questions No: 41/50

How can you add a comment in a JavaScript?

Questions No: 42/50

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

Questions No: 43/50

Which property is used to set or get the HTML content inside an element?
किसी तत्व के अंदर HTML सामग्री को सेट करने या प्राप्त करने के लिए किस प्रॉपर्टी का उपयोग किया जाता है?

Questions No: 44/50

Which operator is used to assign a value to a variable in JavaScript?
जावास्क्रिप्ट में किसी वेरिएबल को मान निर्दिष्ट करने के लिए किस ऑपरेटर का उपयोग किया जाता है?

Questions No: 45/50

Which of the following is not a valid JavaScript variable name?

Questions No: 46/50

What is the output of this expression? x = 2 + 2; document.write(x);

Questions No: 47/50

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

Questions No: 48/50

Which event is triggered when the user scrolls the webpage or an element?
जब उपयोगकर्ता वेबपेज या किसी तत्व को स्क्रॉल करता है तो कौन सी घटना ट्रिगर होती है?

Questions No: 49/50

What is the correct way to change the background color of an element using DOM manipulation?
DOM हेरफेर का उपयोग करके किसी तत्व की पृष्ठभूमि का रंग बदलने का सही तरीका क्या है?

Questions No: 50/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?
जावास्क्रिप्ट प्रोजेक्ट पर काम करते समय, आपके जावास्क्रिप्ट एप्लिकेशन में कौन सा कार्य होगा आप टेक्स्ट इनपुट के लिए अनुरोध करने वाले उपयोगकर्ताओं को संदेश भेजने के लिए उपयोग करते हैं?