Computer Science MCQs with Answers

Computer knowledge is tested in jobs ranging from clerical posts to IT positions. Practice MCQs on computer fundamentals, hardware, software, MS Office, networking, internet, databases and programming concepts, and see your score as soon as you finish.

Take a timed Computer Science quiz: Free account required to save your score.

Q81. Which is a free and open-source operating system?

  1. Windows
  2. Linux
  3. macOS
  4. iOS
Show answer and explanation

Correct answer: B. Linux

Linux is open-source.

Q82. What is recursion?

  1. A variable
  2. A function calling itself
  3. A loop
  4. A data type
Show answer and explanation

Correct answer: B. A function calling itself

Recursion solves problems by self-reference.

Q83. What is normalization?

  1. Organising data to reduce redundancy
  2. Increasing redundancy
  3. Encrypting data
  4. Deleting data
Show answer and explanation

Correct answer: A. Organising data to reduce redundancy

Normalization reduces duplication.

Q84. What does .edu represent in a domain?

  1. Electronics
  2. Economy
  3. Engineering
  4. Educational institutions
Show answer and explanation

Correct answer: D. Educational institutions

.edu is for education.

Q85. What is the extension of a C source file?

  1. .cs
  2. .c
  3. .h only
  4. .cpp
Show answer and explanation

Correct answer: B. .c

.c is the C extension.

Q86. What does ROM stand for?

  1. Read Operating Memory
  2. Read Only Memory
  3. Run Only Memory
  4. Random Only Memory
Show answer and explanation

Correct answer: B. Read Only Memory

ROM is non-volatile memory.

Q87. Which SQL command retrieves data from a table?

  1. INSERT
  2. UPDATE
  3. SELECT
  4. DELETE
Show answer and explanation

Correct answer: C. SELECT

SELECT queries data.

Q88. What is a syntax error?

  1. An error that occurs at runtime
  2. A hardware failure
  3. A logical mistake
  4. An error in the structure of the code
Show answer and explanation

Correct answer: D. An error in the structure of the code

Syntax errors violate language rules.

Q89. How many characters can standard ASCII represent?

  1. 128
  2. 64
  3. 512
  4. 256
Show answer and explanation

Correct answer: A. 128

7-bit ASCII has 128 characters.

Q90. Which port is commonly used to connect a monitor digitally?

  1. PS/2
  2. HDMI
  3. RJ-45
  4. Serial
Show answer and explanation

Correct answer: B. HDMI

HDMI carries digital video and audio.

Computer Science MCQs by exam

Other subjects

Looking for a job? Apply while you prepare: browse the latest government and private jobs on PK JOBs Hub.