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

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

Questions No: 2/50

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

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/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: 9/50

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

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

Questions No: 10/50

Which directive repeats HTML elements?
कौन सा निर्देश एचटीएमएल तत्वों को दोहराता है?

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

Which tag is used to add JavaScript in the head section?
हेड सेक्शन में JavaScript जोड़ने के लिए किस टैग का इस्तेमाल किया जाता है?

Questions No: 14/50

Which operator checks both value and data type?
कौन सा ऑपरेटर वैल्यू और डेटा टाइप दोनों की जांच करता है?

Questions No: 15/50

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

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

How can you add a comment in a JavaScript?

Questions No: 19/50

Which event occurs when the user moves the mouse pointer over an element?
जब यूजर किसी तत्व पर माउस पॉइंटर ले जाता है तो कौन सी घटना घटित होती है?

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

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

Questions No: 29/50

Which directive conditionally displays content?
कौन सा निर्देश सशर्त रूप से सामग्री प्रदर्शित करता है?

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

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

Questions No: 33/50

Which operator is used for ternary conditions?
त्रिगुणीय स्थितियों के लिए किस ऑपरेटर का उपयोग किया जाता है?

Questions No: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

What is the main difference between var and let keywords in JavaScript?
JavaScript में var और let कीवर्ड्स के बीच मुख्य अंतर क्या है?

Questions No: 41/50

What is the output?

console.log(2+"2"*2);

Questions No: 42/50

What will be the output of the following JS code snippet?

var a = true + true + true * 3;
print(a)

Questions No: 43/50

What is the output?

<div ng-app="" ng-init="x=10">
{{x*2}}
</div>

Questions No: 44/50

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

Questions No: 45/50

Which event fires when a textbox loses focus?
जब कोई टेक्स्टबॉक्स फोकस खो देता है तो कौन सा इवेंट ट्रिगर होता है?

Questions No: 46/50

When there is an indefinite or an infinity value during an arithmetic value computation in javascript
जब जावास्क्रिप्ट में अंकगणितीय मान गणना के दौरान अनिश्चित या अनंत मान होता है

Questions No: 47/50

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

Questions No: 48/50

Which is wrong statement about data binding in AngularJS?
AngularJS में डेटा बाइंडिंग के बारे में कौन सा कथन गलत है?

Questions No: 49/50

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

Questions No: 50/50

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