Skip to main content

Introduction to Computing MCQs with Answers

Practice important Introduction to Computing MCQs with answers and explanations.

Multiple Choice Questions

Q1071: Which of the following is a common use of client-side scripting?
  • A: Handling user input validation
  • B: Processing database queries
  • C: Managing server-side sessions
  • D: Configuring server settings
View Answer
A

Q1072: What does the fetch API do in JavaScript?
  • A: It fetches server logs
  • B: It sends HTTP requests to servers
  • C: It updates the server-side database
  • D: It processes server-side scripts
View Answer
B

Q1073: Which protocol is commonly used for client-server communication on the web?
  • A: FTP
  • B: SMTP
  • C: HTTP
  • D: IMAP
View Answer
C

Q1074: What is a common client-side library used for manipulating the DOM?
  • A: jQuery
  • B: Node.js
  • C: Express.js
  • D: Django
View Answer
A

Q1075: What is the main purpose of server-side rendering (SSR)?
  • A: To improve client-side performance
  • B: To generate HTML on the server and send it to the client
  • C: To manage client-side scripts
  • D: To handle client-side events
View Answer
B

Q1076: How does a web browser execute client-side JavaScript?
  • A: By interpreting and running the code directly
  • B: By sending the code to the server
  • C: By converting it into server-side code
  • D: By compiling it into machine code
View Answer
A

Q1077: Which of the following is an example of a server-side technology?
  • A: JavaScript
  • B: HTML
  • C: PHP
  • D: CSS
View Answer
C

Q1078: What is the function of a web server in a client-server model?
  • A: To manage client-side scripting
  • B: To process and respond to client requests
  • C: To store client-side data
  • D: To create client-side interfaces
View Answer
B

Q1079: What does the async attribute do in JavaScript when used in a script tag?
  • A: It executes the script after the page loads
  • B: It loads the script asynchronously
  • C: It executes the script synchronously
  • D: It prevents the script from running
View Answer
B

Q1080: What is a common method for server-side scripting to interact with a database?
  • A: Using SQL queries
  • B: Using CSS
  • C: Using HTML
  • D: Using client-side scripts
View Answer
A

Test Your Knowledge

Take a timed quiz on Introduction to Computing

🚀 Start Quiz Now