Skip to main content

Introduction to Computing MCQs with Answers

Practice important Introduction to Computing MCQs with answers and explanations.

Multiple Choice Questions

Q1061: What does the xml:lang attribute specify in XML?
  • A: Document language
  • B: Document encoding
  • C: Element type
  • D: Document version
View Answer
A

Q1062: What is the purpose of the XML <?xml version="1.0"?> declaration?
  • A: To specify document encoding
  • B: To define XML version
  • C: To link external files
  • D: To declare namespaces
View Answer
B

Q1063: How are attributes defined in an XML tag?
  • A: attr="value"
  • B: attribute="value"
  • C: value="attr"
  • D: attr(value)
View Answer
A

Q1064: What is a client-side script?
  • A: A script run on the server
  • B: A script run on the client
  • C: A script that runs both server and client
  • D: A script used for server management
View Answer
B

Q1065: Which language is commonly used for client-side scripting?
  • A: PHP
  • B: JavaScript
  • C: Python
  • D: Ruby
View Answer
B

Q1066: What is the main role of server-side scripting?
  • A: To enhance user interfaces
  • B: To handle server operations
  • C: To create dynamic content on the client side
  • D: To manage client-side storage
View Answer
B

Q1067: Which language is commonly used for server-side scripting?
  • A: JavaScript
  • B: PHP
  • C: HTML
  • D: CSS
View Answer
B

Q1068: How does client-side scripting interact with the server?
  • A: Directly via SQL queries
  • B: Through HTTP requests
  • C: By modifying server files
  • D: By accessing server-side scripts directly
View Answer
B

Q1069: What is AJAX used for in web development?
  • A: To manage databases
  • B: To send asynchronous requests to the server
  • C: To style web pages
  • D: To create server-side applications
View Answer
B

Q1070: What is the purpose of the HTTP method POST?
  • A: To retrieve data from the server
  • B: To send data to the server
  • C: To update data on the server
  • D: To delete data from the server
View Answer
B

Test Your Knowledge

Take a timed quiz on Introduction to Computing

🚀 Start Quiz Now