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.

Q101. What is the hexadecimal equivalent of decimal 15?

  1. 10
  2. A
  3. E
  4. F
Show answer and explanation

Correct answer: D. F

Decimal 15 is F in hex.

Q102. What is the default extension for an Excel workbook?

  1. .xlsm
  2. .xlsx
  3. .xls
  4. .csv
Show answer and explanation

Correct answer: B. .xlsx

Modern Excel uses .xlsx.

Q103. Which SQL clause groups rows with the same values?

  1. JOIN
  2. GROUP BY
  3. WHERE
  4. ORDER BY
Show answer and explanation

Correct answer: B. GROUP BY

GROUP BY groups rows for aggregate functions.

Q104. What does WAN stand for?

  1. Web Area Network
  2. Wide Area Network
  3. Wireless Area Network
  4. World Area Network
Show answer and explanation

Correct answer: B. Wide Area Network

A WAN covers a large area.

Q105. Which is the smallest type of computer?

  1. Microcomputer / embedded device
  2. Supercomputer
  3. Minicomputer
  4. Mainframe
Show answer and explanation

Correct answer: A. Microcomputer / embedded device

Microcomputers are the smallest class.

Q106. What is a strong password?

  1. A mix of letters, numbers and symbols
  2. Your birthday
  3. 123456
  4. Your name
Show answer and explanation

Correct answer: A. A mix of letters, numbers and symbols

Strong passwords are long and complex.

Q107. What does HTTP stand for?

  1. HyperText Transport Process
  2. HyperText Transmission Protocol
  3. HyperText Transfer Protocol
  4. High Transfer Text Protocol
Show answer and explanation

Correct answer: C. HyperText Transfer Protocol

HTTP is the web protocol.

Q108. Which symbol is used for single-line comments in Python?

  1. //
  2. --
  3. /*
  4. #
Show answer and explanation

Correct answer: D. #

Python uses # for comments.

Q109. What does $A$1 mean in Excel?

  1. Relative reference
  2. Mixed reference
  3. Named range
  4. Absolute reference
Show answer and explanation

Correct answer: D. Absolute reference

Dollar signs make references absolute.

Q110. Which shortcut key is used to undo an action?

  1. Ctrl + Z
  2. Ctrl + A
  3. Ctrl + Y
  4. Ctrl + U
Show answer and explanation

Correct answer: A. Ctrl + Z

Ctrl+Z undoes.

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.