CommerceBasic And Variables MCQs
Practice Basic And Variables MCQs for competitive exams.
Basic And Variables MCQs
Practice questions from this topic.
JavaScript Code can be called by using
- A. RMI
- B. Triggering Event
- C. Preprocessor
- D. Function/Method
Correct Answer: D
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
Correct Answer: C
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. none of the mentioned
Correct Answer: B
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
Correct Answer: C
The script tag must be placed in
- A. head
- B. head and body
- C. title and head
- D. all of the mentioned
Correct Answer: B
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
Correct Answer: B
The development environment offers which standard construct for data validation
- A. Super controlled loop constructs
- B. Case sensitivity check
- C. Validation constructs
- D. All of the mentioned
Correct Answer: D