ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ - JAVSCRIPT AND ANGULAR JS MCQ Questions
English
Hindi
Question No. -
31
Report Bug
The script tag must be placed in __________
स्क्रिप्ट टैग को __________ में रखा जाना चाहिए
स्क्रिप्ट टैग को __________ में रखा जाना चाहिए
A.
the head tag
हेड टैग
B.
the head or body
हेड या बॉडी
C.
the title or head
टाइटल या हेड
D.
after the body tag
बॉडी टैग के बाद
Explanation
If the script tag is placed after the body tag, then, it will not be evaluated at all. Also, it is always recommended and effective to use the script snippet in the tag.
Question No. -
32
Report Bug
JavaScript is ideal to ________
जावास्क्रिप्ट ________ के लिए आदर्श है
जावास्क्रिप्ट ________ के लिए आदर्श है
A.
make computations in HTML simpler
HTML में गणना को सरल बनाएं
B.
minimize storage requirements on the web server
वेब सर्वर पर स्टोरेज
आवश्यकताओं को कम करें
C.
increase the download time for the client
क्लाइंट के लिए डाउनलोड समय
बढ़ाएँ
D.
increase the loading time of the website
वेबसाइट का लोडिंग समय बढ़ाएं
Explanation
JavaScript helps in performing various tasks with minimum storage requirements. Therefore to minimize storage requirements, JavaScript is always a better say.
Question No. -
33
Report Bug
Which attribute is used to specify that the script is executed when the page has finished parsing? (only for external scripts)
यह निर्दिष्ट करने के लिए किस विशेषता का उपयोग किया जाता है कि जब पेज का विश्लेषण समाप्त हो जाता है तो स्क्रिप्ट निष्पादित हो जाती है? (केवल बाहरी लिपियों के लिए)
यह निर्दिष्ट करने के लिए किस विशेषता का उपयोग किया जाता है कि जब पेज का विश्लेषण समाप्त हो जाता है तो स्क्रिप्ट निष्पादित हो जाती है? (केवल बाहरी लिपियों के लिए)
A.
parse
पार्स
B.
a sync
एक सिंक
C.
defer
डेफर
D.
type
टाइप
Explanation
The defer attribute is a Boolean attribute. When present, it specifies that the script is executed when the page has finished parsing.
Question No. -
34
Report Bug
JavaScript can be written __________
जावास्क्रिप्ट को __________ लिखा जा सकता है
जावास्क्रिप्ट को __________ लिखा जा सकता है
A.
directly into JS file and included into HTML
सीधे JS फ़ाइल में और HTML में शामिल
B.
directly on the server page
सीधे सर्वर पेज पर
C.
directly into HTML pages
सीधे HTML पेजेज में
D.
directly into the css file
सीधे सीएसएस फ़ाइल में
Explanation
JavaScript files can be saved by .JS extension and can be included in the HTML files. Script tag along with src attribute is used to include the js files.
Question No. -
35
Report Bug
A proper scripting language is a __________
एक उचित स्क्रिप्टिंग लैंग्वेज एक __________ है
एक उचित स्क्रिप्टिंग लैंग्वेज एक __________ है
A.
High level programming language
हाई लेवल प्रोग्रामिंग
लैंग्वेज
B.
Assembly level programming language
असेंबली प्रोग्रामिंग
लैंग्वेज
C.
Machine level programming language
मशीन लेवल प्रोग्रामिंग
लैंग्वेज
D.
Low level programming language
लो लेवल प्रोग्रामिंग
लैंग्वेज
Explanation
JavaScript is a high-level programming language that is interpreted by another program at runtime rather than compiled by the computer’s processor. Scripting languages, which can be embedded within HTML, commonly are used to add functionality to a Web page, such as different menu styles or graphics displays or to serve dynamic advertisements.
Question No. -
36
Report Bug
The property of a primary expression is ____________
प्राइमरी एक्सप्रेशन का गुण _________ है
प्राइमरी एक्सप्रेशन का गुण _________ है
A.
stand-alone expressions
स्टैंड-अलोन एक्सप्रेशन
B.
basic expressions containing all necessary functions
सभी आवश्यक फंक्शंस वाले
कंटेनिंग एक्सप्रेशन्स
C.
contains variable references alone
अकेले कंटेंस वैरिएबल
रिफरेन्स शामिल हैं
D.
contains only keywords
केवल कीवर्ड शामिल हैं
Explanation
The simplest expressions, known as primary expressions, are those that stand alone — they do not include any simpler expressions. Primary expressions in JavaScript are constant or literal values, certain language keywords, and variable references.
Question No. -
37
Report Bug
The expression of calling (or executing) a function or method in JavaScript is called ________
जावास्क्रिप्ट में किसी फ़ंक्शन या विधि को कॉल करने (या एक्सेक्यूटिंग) करने के एक्सप्रेशन को ________ कहा जाता है
जावास्क्रिप्ट में किसी फ़ंक्शन या विधि को कॉल करने (या एक्सेक्यूटिंग) करने के एक्सप्रेशन को ________ कहा जाता है
A.
Primary expression
प्राइमरी एक्सप्रेशन
B.
Functional expression
फंक्शनल एक्सप्रेशन
C.
Invocation expression
इन्वोकेशन एक्सप्रेशन
D.
Property Access Expression
प्रॉपर्टी एक्सेस एक्सप्रेशन
Explanation
An invocation expression is JavaScript’s syntax for calling (or executing) a function or method). It starts with a function expression that identifies the function to be called.
Question No. -
38
Report Bug
What kind of expression is “new Point(2,3)”?
"न्यू पॉइन्ट(2,3)" किस प्रकार का एक्सप्रेशन है?
"न्यू पॉइन्ट(2,3)" किस प्रकार का एक्सप्रेशन है?
A.
Primary Expression
प्राइमरी एक्सप्रेशन
B.
Object Creation Expression
ऑब्जेक्ट क्रिएशन एक्सप्रेशन
C.
Invocation Expression
इन्वोकेशन एक्सप्रेशन
D.
Constructor Calling Expression
कंस्ट्रक्टर कॉलिंग
एक्सप्रेशन
Explanation
An object creation expression creates a new object and invokes a function (called a constructor) to initialize the properties of that object. Object creation expressions are like invocation expressions except that they are prefixed with the keyword new.
Question No. -
39
Report Bug
Which of the operator is used to test if a particular property exists or not?
किसी विशेष प्रॉपर्टी के exists होने या न होने का टेस्ट करने के लिए किस ऑपरेटर का यूज़ किया जाता है?
किसी विशेष प्रॉपर्टी के exists होने या न होने का टेस्ट करने के लिए किस ऑपरेटर का यूज़ किया जाता है?
A.
in
in
B.
exist
exist
C.
within
within
D.
exists
exists
Explanation
The operator “in” tests whether a particular property exists or not. In operator is usually added in looping statements to traverse the array or the object.
Question No. -
40
Report Bug
Among the following, which one is a ternary operator?
निम्नलिखित में से कौन एक टर्नरी ऑपरेटर है?
निम्नलिखित में से कौन एक टर्नरी ऑपरेटर है?
A.
+
+
B.
:
:
C.
–
–
D.
?:
?:
Explanation
JavaScript supports one ternary operator, the conditional operator ?:, which combines three expressions into a single expression. If else case can be replaced by the conditional operator
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