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

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

Questions No: 2/50

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

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/50

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

Questions No: 10/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: 11/50

What is the correct way to attach an event handler in JavaScript using addEventListener()?
AddEventListener() का उपयोग करके जावास्क्रिप्ट में इवेंट हैंडलर संलग्न करने का सही तरीका क्या है?

Questions No: 12/50

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

Questions No: 13/50

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

Questions No: 14/50

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

Questions No: 15/50

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

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

What is "this" in JavaScript:
जावास्क्रिप्ट में "this" क्या है:

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

For which of the following purpose(s) JavaScript is designed for ?
निम्नलिखित में से किस उद्देश्य (उद्देश्यों) के लिए जावास्क्रिप्ट को डिज़ाइन किया गया है?

Questions No: 27/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: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

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

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

The type of a variable that is volatile is
वेरिएबल का वह प्रकार जो अस्थिर है

Questions No: 36/50

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

Questions No: 37/50

The extension of JavaScript file is
जावास्क्रिप्ट फाईल का एक्सटेंसन है।

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

What will the following JavaScript code do?

var element = document.getElementById("myDiv");
element.remove();

Questions No: 43/50

JavaScript is designed for following purpose

Questions No: 44/50

How do you round the number 7.25, to the nearest integer?

Questions No: 45/50

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

Questions No: 46/50

For displaying data in JavaScript, we can’t use _
जावास्क्रिप्ट में डेटा प्रदर्शित करने के लिए, हम _ का उपयोग नहीं कर सकते

Questions No: 47/50

Which of the following is/are valid javascript data types?
निम्नलिखित में से कौन जावास्क्रिप्ट डेटा प्रकार नहीं है?

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

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