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

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

Questions No: 2/50

Which of the following is not a mouse event ?
निम्नलिखित में से कौन एक माउस इवेंट नहीं है?

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

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

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

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

Questions No: 11/50

Which directive replaces expression output inside HTML elements?
कौन सा निर्देश एचटीएमएल तत्वों के भीतर अभिव्यक्ति आउटपुट को प्रतिस्थापित करता है?

Questions No: 12/50

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

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

Questions No: 13/50

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

Questions No: 14/50

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

Questions No: 15/50

What is the output?

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

Questions No: 16/50

JavaScript is designed for following purpose

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

AngularJS expressions are written inside:
AngularJS एक्सप्रेशन इसके अंदर लिखे जाते हैं:

Questions No: 23/50

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

Questions No: 24/50

Which operator returns the remainder?
कौन सा ऑपरेटर शेषफल लौटाता है?

Questions No: 25/50

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

Questions No: 26/50

What is the correct JavaScript syntax to write Hello World?

Questions No: 27/50

What is the output?

console.log("5" + 2);

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

Which architecture pattern is commonly used in AngularJS?
AngularJS में आमतौर पर कौन सा आर्किटेक्चर पैटर्न उपयोग किया जाता है?

Questions No: 32/50

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

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

Which company developed AngularJS?
AngularJS को किस कंपनी ने विकसित किया?

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

What is the output?

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

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

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