ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ - JAVSCRIPT AND ANGULAR JS MCQ Questions
English
Hindi
Question No. -
11
Report Bug
What is the basic difference between JavaScript and Java?
जावास्क्रिप्ट और जावा के बीच बुनियादी अंतर क्या है?
जावास्क्रिप्ट और जावा के बीच बुनियादी अंतर क्या है?
A.
Functions are considered as fields
कार्यों को क्षेत्रों के रूप
में माना जाता है
B.
Functions are values, and there is no hard distinction between methods and
fields
कार्य मूल्य हैं, और विधियों और
क्षेत्रों के बीच कोई कठोर अंतर
नहीं है
C.
Variables are specific
चर विशिष्ट हैं
D.
There is no difference
इसमें कोई फर्क नही है
Explanation
Java is an object-oriented programming language, while JS is an object-oriented scripting language. The main difference between JavaScript and Java is that functions are values, while methods and fields are not clearly defined.
Question No. -
12
Report Bug
Why JavaScript Engine is needed?
जावास्क्रिप्ट इंजन की आवश्यकता क्यों है?
जावास्क्रिप्ट इंजन की आवश्यकता क्यों है?
A.
Both Compiling & Interpreting the JavaScript
जावास्क्रिप्ट इंजन की
आवश्यकता क्यों है?
B.
Parsing the javascript
जावास्क्रिप्ट को पार्स करना
C.
Interpreting the JavaScript
जावास्क्रिप्ट की व्याख्या
करना
D.
Compiling the JavaScript
जावास्क्रिप्ट का संकलन
Explanation
For the most part, the JS Engine is used to interpret JavaScript. It’s used to parse javascript and run it on a web page.
Question No. -
13
Report Bug
Why event handlers is needed in JS?
जेएस में इवेंट हैंडलर की आवश्यकता क्यों है?
जेएस में इवेंट हैंडलर की आवश्यकता क्यों है?
A.
Allows JavaScript code to alter the behaviour of windows
जावास्क्रिप्ट कोड को विंडोज़
के व्यवहार को बदलने की अनुमति
देता है
B.
Adds innerHTML page to the code
कोड में आंतरिक HTML पृष्ठ जोड़ता
है
C.
Change the server location
सर्वर स्थान बदलें
D.
Performs handling of exceptions and occurrences
अपवादों और घटनाओं का प्रबंधन
करता है
Explanation
JS code can change the behavior of windows, documents, and the elements that make up those documents via event handlers.
Question No. -
14
Report Bug
Which of the following is not a framework?
निम्नलिखित में से कौन सा फ़्रेमवर्क नहीं है?
निम्नलिखित में से कौन सा फ़्रेमवर्क नहीं है?
A.
JavaScript .NET
जावास्क्रिप्ट .NET
B.
JavaScript
जावास्क्रिप्ट
C.
Cocoa JS
कोको जे एस
D.
jQuery
जेक्वेरी
Explanation
jQuery, which is used in web development, is one of the most popular frameworks. JavaScript is a scripting language, not a framework, in this case.
Question No. -
15
Report Bug
Which of the following is the property that is triggered in response to JS errors?
निम्नलिखित में से कौन सी संपत्ति जेएस त्रुटियों के जवाब में ट्रिगर होती है?
निम्नलिखित में से कौन सी संपत्ति जेएस त्रुटियों के जवाब में ट्रिगर होती है?
A.
onclick
क्लिक पर
B.
onerror
ऑनएरर
C.
onmessage
ऑनमैसेज
D.
onexception
एक अपवाद
Explanation
The Window object’s onerror property acts as an event handler, and it is triggered when JavaScript problems occur. However, because it is called with various arguments, it isn’t a genuine event handler.
Question No. -
16
Report Bug
Which of the following statement is true for AngularJS?
निम्नलिखित में से कौन सा कथन एंगुलरजेएस के लिए सही है?
निम्नलिखित में से कौन सा कथन एंगुलरजेएस के लिए सही है?
A.
AngularJS is a closed-source front-end web framework
AngularJS एक क्लोज्ड-सोर्स फ्रंट-एंड
वेब फ्रेमवर्क है
B.
AngularJS is an open-source front-end web framework
AngularJS एक ओपन-सोर्स फ्रंट-एंड वेब
फ्रेमवर्क है
C.
AngularJS is an open-source backend web framework
AngularJS एक ओपन-सोर्स बैकएंड वेब
फ्रेमवर्क है
D.
AngularJS is a closed-source back-end web framework
AngularJS एक क्लोज्ड-सोर्स बैक-एंड
वेब फ्रेमवर्क है
Explanation
AngularJS is an open-source front-end web framework for constructing single-page apps based on JavaScript. The MEAN stack, which consists of MongoDB database, Express. js web application server framework, AngularJS (or Angular), and Node, uses AngularJS as the frontend.
Question No. -
17
Report Bug
Which of the following is the correct syntax for writing AngularJS expressions ?
निम्नलिखित में से कौन एंगुलरजेएस एक्सप्रेशन लिखने के लिए सही सिंटैक्स है?
निम्नलिखित में से कौन एंगुलरजेएस एक्सप्रेशन लिखने के लिए सही सिंटैक्स है?
A.
{{expression}}
{{ एक्सप्रेशन }}
B.
{{expression | filter1 | filter2 | …}}
{{ एक्सप्रेशन | फ़िल्टर 1 | फ़िल्टर 2
| …}}
C.
Both of the mentioned
दोनों का उल्लेख
D.
None of the mentioned
उल्लेख में से कोई नहीं
Explanation
The syntax for writing AngularJS expressions is: {{expression}} The syntax for applying multiple filters in AngularJS is: {{expression | filter1 | filter2 | …}}
Question No. -
18
Report Bug
Which of the following components can be injected as a dependency in AngularJS?
निम्नलिखित में से कौन सा घटक AngularJS में निर्भरता के रूप में इंजेक्ट किया जा सकता है?
निम्नलिखित में से कौन सा घटक AngularJS में निर्भरता के रूप में इंजेक्ट किया जा सकता है?
A.
factory
फैक्टरी
B.
service
सर्विस
C.
value
मूल्य
D.
All of the above
ऊपर के सभी
Question No. -
19
Report Bug
Which of the following directives is used to start an angularJS application?
निम्न में से कौन सा निर्देश angularJS एप्लिकेशन शुरू करने के लिए उपयोग किया जाता है?
निम्न में से कौन सा निर्देश angularJS एप्लिकेशन शुरू करने के लिए उपयोग किया जाता है?
A.
ng-repeat
एनजी- रिपीट
B.
ng-init
एनजी-init
C.
ng-app
एनजी-app
D.
ng-model
एनजी-मॉडल
Explanation
Dependencies are injected in Angular.JS by using an “injectable factory method” or “constructor function.” As dependencies, these components can be injected with “service” and “value” components.
Question No. -
20
Report Bug
AngularJS expressions bind AngularJS data to HTML like which of the following directive?
एंगुलरजेएस एक्सप्रेशन एंगुलरजेएस डेटा को एचटीएमएल से बांधता है, जैसे निम्न में से कौन सा निर्देश?
एंगुलरजेएस एक्सप्रेशन एंगुलरजेएस डेटा को एचटीएमएल से बांधता है, जैसे निम्न में से कौन सा निर्देश?
A.
ng-repeat
एनजी-रिपीट
B.
ng-bind
एनजी-बिंद
C.
ng-app
एनजी-ऐप्प
D.
ng-model
एनजी-मॉडल
Explanation
In AngularJS, the ng-bind directive is used to bind/replace the text content of any HTML element with the value specified in the expression. When the value of the expression in the ng-bind directive changes, the value of the provided HTML content changes.
1
2
3
4
5
6
7
8
9
10
11
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad