

MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Javascript knowledge and support exam preparation. Choose a topic below to get started.
1. |
WHICH_OF_THE_FOLLOWING_ATTRIBUTE_IS_USED_TO_INCLUDE_EXTERNAL_JS_CODE_INSIDE_YOUR_HTML_DOCUMENT??$ |
A. | src |
B. | ext |
C. | script |
D. | link |
Answer» B. ext | |
2. |
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 |
Answer» B. Assembly level programming language | |
3. |
JavaScript can be written _________? |
A. | directly into JS file and included into HTML |
B. | directly on the server page |
C. | directly into HTML pages |
D. | directly into the css file |
Answer» B. directly on the server page | |
4. |
JavaScript Code can be called by using ____________ |
A. | RMI |
B. | Triggering Event |
C. | Preprocessor |
D. | Function/Method |
Answer» E. | |
5. |
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 |
Answer» D. type | |
6. |
JavaScript is ideal to ________ |
A. | make computations in HTML simpler |
B. | minimize storage requirements on the web server |
C. | increase the download time for the client |
D. | increase the loading time of the website |
Answer» C. increase the download time for the client | |
7. |
A JavaScript program developed on a Unix Machine ________ |
A. | will throw errors and exceptions |
B. | must be restricted to a Unix Machine only |
C. | will work perfectly well on a Windows Machine |
D. | will be displayed as a JavaScript text on the browser |
Answer» D. will be displayed as a JavaScript text on the browser | |
8. |
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 |
Answer» C. the title or head | |
9. |
The main purpose of a “Live Wire” in NetScape is to ________$ |
A. | Create linkage between client side and server side |
B. | Permit server side, JavaScript code, to connect to RDBMS |
C. | Support only non relational database |
D. | To interpret JavaScript code |
Answer» C. Support only non relational database | |
10. |
The web development environment (JavaScript) offers which standard construct for data validation of the input entered by the user. |
A. | Controlled loop constructs |
B. | Case checking constructs |
C. | Validation constructs |
D. | All of the mentioned |
Answer» E. | |