Computer Science MCQs for 10th Class (Punjab Board)

This page has over 1,900 multiple-choice questions for Computer Science (10th Class (Punjab Board)), arranged in 8 chapters and 16 topics. The chapters include Operating Systems: Structure and Services, System Recovery and Advanced Maintenance, Introduction to Python Programming, Control Structures in Python and Data Science. Every question has four options, an instant answer and, where available, a short explanation.

Chapters and topics

  • Operating Systems: Structure and Services 2 topics · 301 MCQs
  • System Recovery and Advanced Maintenance 2 topics · 243 MCQs
  • Introduction to Python Programming 2 topics · 279 MCQs
  • Control Structures in Python 2 topics · 221 MCQs
  • Data Science 2 topics · 234 MCQs
  • Introduction to Artificial Intelligence (AI) and Machine Learning (ML) 2 topics · 244 MCQs
  • Applications of AI 2 topics · 215 MCQs
  • Digital Entrepreneurship 2 topics · 213 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. Application programs run:

  1. inside a compiler
  2. inside the BIOS only
  3. on top of the operating system
  4. directly on hardware without an OS
Show the answer

Answer: C. on top of the operating system

The OS provides services to applications.

Q2. If all parts are fine during POST, the computer:

  1. shuts down
  2. formats the disk
  3. deletes files
  4. continues to load the operating system
Show the answer

Answer: D. continues to load the operating system

The correct answer is “continues to load the operating system”. POST passes and the OS loads.

Q3. The variable names age and Age in Python are:

  1. the same variable
  2. reserved words
  3. two different variables
  4. both invalid
Show the answer

Answer: C. two different variables

The correct answer is “two different variables”. Variable names are case-sensitive.

Q4. What is the output of: for i in range(1, 4): print(6 * i, end=“ ”)?

  1. 0 6 12
  2. 1 2 3
  3. 6 12 18
  4. 7 8 9
Show the answer

Answer: C. 6 12 18

The loop prints the multiples of 6: 6 12 18.

Q5. Which tool is ideal for beginners to create charts?

  1. Tableau
  2. Google Sheets
  3. Hadoop
  4. Python
Show the answer

Answer: B. Google Sheets

Google Sheets and Excel are easy tools for creating charts.

Q6. Which statement describes “Clustering”?

  1. learning from labeled data with correct answers
  2. an example of AI used in educational institutes
  3. grouping similar items in unlabeled data
  4. the correct answer attached to a piece of data
Show the answer

Answer: C. grouping similar items in unlabeled data

Clustering: grouping similar items in unlabeled data.

Practise all over 1,900 questions

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

Start practising →