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

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

Questions No: 2/50

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

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/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: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

How do you declare a JavaScript variable?

Questions No: 9/50

What is the correct JavaScript syntax to write Hello World?

Questions No: 10/50

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

Questions No: 11/50

Which of the following statements is correct about data binding in Angular]S?
AngularJS में डेटा बाइंडिंग के बारे में इनमें से कौन सा कथन सही है?

Questions No: 12/50

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

Questions No: 13/50

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

Questions No: 14/50

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

Questions No: 15/50

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

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

What is the output?

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

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

What will be the output?

console.log(true + true);

Questions No: 32/50

What will the following JavaScript code do?

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

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

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

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

What is the output?

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

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

Which module is required to start an Angular JS application
Angular JS एप्लीकेशन शुरू करने के लिए किस मॉड्यूल की ज़रूरत होती है?

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

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

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

Questions No: 47/50

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

Questions No: 48/50

Which of the following variable name is valid in JavaScript?
JavaScript में इनमें से कौन-सा वेरिएबल नाम मान्य है?

Questions No: 49/50

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

Questions No: 50/50

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