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.

Q1. Which of these is a relational database management system?

  1. MySQL
  2. Linux
  3. HTML
  4. Photoshop
Show answer and explanation

Correct answer: A. MySQL

MySQL stores data in related tables; the others are not database systems.

Q2. Which device is used for pointing on screen?

  1. Scanner
  2. Printer
  3. Speaker
  4. Mouse
Show answer and explanation

Correct answer: D. Mouse

A mouse is a pointing device.

Q3. What does ISP stand for?

  1. Internal Service Provider
  2. Information Service Provider
  3. Internet Service Provider
  4. Internet System Protocol
Show answer and explanation

Correct answer: C. Internet Service Provider

An ISP provides Internet access.

Q4. Which SQL statement is used to create a table?

  1. NEW TABLE
  2. ADD TABLE
  3. MAKE TABLE
  4. CREATE TABLE
Show answer and explanation

Correct answer: D. CREATE TABLE

CREATE TABLE defines a table.

Q5. Which key combination switches between open windows?

  1. Alt + Tab
  2. Ctrl + Tab
  3. Win + Tab only
  4. Shift + Tab
Show answer and explanation

Correct answer: A. Alt + Tab

Alt+Tab switches applications.

Q6. Which shortcut key left-aligns a paragraph?

  1. Ctrl + L
  2. Ctrl + J
  3. Ctrl + R
  4. Ctrl + E
Show answer and explanation

Correct answer: A. Ctrl + L

Ctrl+L left-aligns.

Q7. Which Excel function is used for conditional logic?

  1. WHEN
  2. IF
  3. CASE
  4. LOGIC
Show answer and explanation

Correct answer: B. IF

IF returns values based on a condition.

Q8. Which symbol is used for single-line comments in C/C++/Java?

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

Correct answer: D. //

// begins a line comment.

Q9. What is the binary of decimal 5?

  1. 100
  2. 110
  3. 101
  4. 111
Show answer and explanation

Correct answer: C. 101

5 = 4 + 1 = 101.

Q10. How many bits are in an IPv4 address?

  1. 64
  2. 32
  3. 128
  4. 16
Show answer and explanation

Correct answer: B. 32

IPv4 addresses are 32 bits.

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.