Computer Science MCQs for 9th Class (Federal Board)

This page has over 2,200 multiple-choice questions for Computer Science (9th Class (Federal Board)), arranged in 8 chapters and 21 topics. The chapters include Computer Systems, Software, Networks and the Internet, Computational Thinking, Web Development and JavaScript and Data Science and Big Data. Every question has four options, an instant answer and, where available, a short explanation.

Chapters and topics

  • Computer Systems 3 topics · 342 MCQs
  • Software, Networks and the Internet 3 topics · 329 MCQs
  • Computational Thinking 2 topics · 218 MCQs
  • Web Development and JavaScript 3 topics · 329 MCQs
  • Data Science and Big Data 3 topics · 316 MCQs
  • Artificial Intelligence and Ethics 2 topics · 202 MCQs
  • Impacts of Computing 3 topics · 317 MCQs
  • Digital Entrepreneurship 2 topics · 212 MCQs

Sample Computer Science MCQs

Try these questions, then open the full practice to work through every chapter. Tap “Show the answer” after you choose.

Q1. A touch screen is a/an:

  1. output device
  2. input device
  3. input and output device
  4. storage device
Show the answer

Answer: C. input and output device

A touch screen is used for both input and output.

Q2. Linux is an example of:

  1. firmware only
  2. application software
  3. system software
  4. hardware
Show the answer

Answer: C. system software

System software runs and maintains the computer (OS, utilities, drivers, translators); application software helps users do specific tasks. Linux is system software.

Q3. Which statement about flowcharts and algorithms is correct?

  1. Concept maps are used to store binary data
  2. A diamond is used for input and output
  3. A rectangle is used for processes
  4. Pseudocode can be run directly by the CPU
Show the answer

Answer: C. A rectangle is used for processes

The correct answer is “A rectangle is used for processes”. A rectangle is used for processes.

Q4. The HTML attribute “href” specifies:

  1. alternative text shown if an image cannot load
  2. inline CSS for one element
  3. a name shared by a group of elements for styling
  4. the address a hyperlink points to
Show the answer

Answer: D. the address a hyperlink points to

Href: the address a hyperlink points to.

Q5. A fitness band that sends data over the Internet is an example of:

  1. an optical disc
  2. the Internet of Things (IoT)
  3. a word processor
  4. a compiler
Show the answer

Answer: B. the Internet of Things (IoT)

IoT devices collect data with sensors and share it online; a fitness band is one.

Q6. “checking facts from trusted sources” mainly:

  1. helps detect deepfakes and AI misinformation
  2. reveals unfair results before deployment
  3. improves transparency and trust
  4. protects user privacy
Show the answer

Answer: A. helps detect deepfakes and AI misinformation

Checking facts from trusted sources: helps detect deepfakes and AI misinformation.

Practise all over 2,200 questions

Chapter-wise practice with instant answers, timed tests and (with a free account) your progress saved.

Start practising →