Web Application Language Review - Quiz Explanation
Reviewing languages for Web application
The answers you selected are indicated below, along with text that explains the correct answers.
1.
Which of the following environments is commonly used for server-side web development?
Please select the best answer.
A.
HTML
B.
Node.js
C.
CSS
D.
JSON
The correct answer is B.
Node.js allows JavaScript to run on the server and is widely used in modern web development stacks to build scalable web applications and APIs.
2.
Which one of the following statements is not true about procedural languages?
Please select the best answer.
A.
They follow step-by-step instructions to solve problems.
B.
They are commonly used for algorithmic and system programming
C.
Languages such as C and Go can follow procedural programming patterns
D.
They rely primarily on objects and inheritance for program design
The correct answer is D.
Objects and inheritance are characteristics of object-oriented programming rather than procedural programming.
3.
What is a primary feature of object-oriented languages?
Please select the best answer.
A.
Programs are organized into reusable classes and objects
B.
Useful for developing distributed applications and reusable objects
C.
Used primarily for logic and math operations only
D.
Typically takes much more programming time to develop a program with
The correct answer is A.
Object-oriented languages organize programs into reusable classes and objects. This enables encapsulation, inheritance, and modular design, which improves maintainability and scalability in modern software systems.
4.
Which of the following choices is not a markup language?
Please select the best answer.
A.
HTML
B.
XML
C.
SVG
D.
Python
The correct answer is D.
Python is a programming language rather than a markup language. HTML, XML, and SVG are markup languages used to structure or describe data on the web.
5.
Which of the markup languages below permits interactivity on a classic Web page?
Please select the best answer.
A.
HTML
B.
XML
C.
SGML
D.
DHTML
The correct answer is B.
JavaScript enables dynamic behavior and interactivity in modern web pages. It allows web applications to respond to user events such as clicks, form submissions, and asynchronous data requests.
6.
How do client-side scripts such as Java applets save time in an Internet transaction?
Please select the best answer.
A.
Compressed script files download faster from the server
B.
Script is downloaded with the Web page and activated when the user does something, but doesn't need to go back to the server to complete the action
C.
Scripts can re-use client information stored on user PC as cookies
D.
Java applets use an Internet Protocol that supercedes other network traffic, gaining priority in transmission
The correct answer is A.
Client-side scripts execute directly in the user's browser. Because the code runs locally, many interactions can occur without sending a request back to the server, improving performance and reducing network traffic.
7.
Which language is primarily used to query and manipulate relational databases?
Please select the best answer.
A.
HTML
B.
JavaScript
C.
SQL
D.
XML
The correct answer is C.
SQL (Structured Query Language) is the standard language used to query, retrieve, and modify data stored in relational database management systems such as PostgreSQL, MySQL, SQL Server, and Oracle.