Skip to main content

Introduction to Computing MCQs with Answers

Practice important Introduction to Computing MCQs with answers and explanations.

Multiple Choice Questions

Q1051: How do you create a comment in XML?
  • A:
  • B: /* comment */
  • C: // comment
  • D: ** comment **
View Answer
A

Q1052: What does the xmlns attribute define in XML?
  • A: The XML version
  • B: The document encoding
  • C: The XML namespace
  • D: The document type
View Answer
C

Q1053: Which tag is used to enclose data in XML?
  • A:
  • B:
  • C:
  • D:
View Answer
B

Q1054: How do you include an attribute in an XML element?
  • A:
  • B:
  • C:
  • D:
View Answer
A

Q1055: What is an XML schema used for?
  • A: To define document styling
  • B: To specify data structure
  • C: To link documents
  • D: To format text
View Answer
B

Q1056: How do you reference an external XML schema?
  • A:
  • B:
  • C:
  • D:
View Answer
D

Q1057: Which XML element is used to create a list?
  • A:
  • B:
  • C:
  • D:
View Answer
B

Q1058: What does the term "well-formed" mean in XML?
  • A: Document has correct syntax
  • B: Document is valid according to schema
  • C: Document has no errors
  • D: Document is properly linked
View Answer
A

Q1059: What is the purpose of the <!DOCTYPE> declaration in XML?
  • A: To define the XML version
  • B: To specify the document type
  • C: To include external files
  • D: To add comments
View Answer
B

Q1060: How do you create a nested element in XML?
  • A:
  • B:
  • C:
  • D:
View Answer
A

Test Your Knowledge

Take a timed quiz on Introduction to Computing

🚀 Start Quiz Now