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

What is the correct JavaScript syntax to write Hello World?

Questions No: 2/50

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

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/50

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

Questions No: 6/50

Which event is fired when the page has completely loaded, including all dependent resources such as stylesheets and images?
जब पेज पूरी तरह से लोड हो जाता है, जिसमें स्टाइलशीट और छवियों जैसे सभी निर्भर संसाधन शामिल होते हैं, तो कौन सा ईवेंट सक्रिय हो जाता है?

Questions No: 7/50

How can you retrieve the value of an input field in a form using JavaScript?
आप जावास्क्रिप्ट का उपयोग करके किसी फॉर्म में इनपुट फ़ील्ड का मान कैसे प्राप्त कर सकते हैं?

Questions No: 8/50

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

Questions No: 9/50

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

Questions No: 10/50

How can you add a comment in a JavaScript?

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

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

Questions No: 14/50

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

Questions No: 15/50

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

Questions No: 16/50

What is the correct syntax for referring to an external script called "data.js"?

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

JavaScript is designed for following purpose

Questions No: 33/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: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

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

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

How do you declare a JavaScript variable?