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.

Q31. Which key combination locks a Windows computer?

  1. Alt + L
  2. Windows + L
  3. Ctrl + L
  4. Shift + L
Show answer and explanation

Correct answer: B. Windows + L

Win+L locks the screen.

Q32. Which shortcut key is used to copy selected text?

  1. Ctrl + V
  2. Ctrl + Z
  3. Ctrl + C
  4. Ctrl + X
Show answer and explanation

Correct answer: C. Ctrl + C

Ctrl+C copies.

Q33. Which key moves the cursor to the start of the line?

  1. Home
  2. End
  3. Page Up
  4. Insert
Show answer and explanation

Correct answer: A. Home

Home goes to line start.

Q34. Which number system does a computer use?

  1. Hexadecimal
  2. Binary
  3. Decimal
  4. Octal
Show answer and explanation

Correct answer: B. Binary

Computers use binary (base 2).

Q35. What is polymorphism?

  1. Storing data
  2. Hiding implementation
  3. Creating loops
  4. Ability of one interface to take many forms
Show answer and explanation

Correct answer: D. Ability of one interface to take many forms

Polymorphism means many forms.

Q36. Which function key refreshes a web page?

  1. F12
  2. F1
  3. F7
  4. F5
Show answer and explanation

Correct answer: D. F5

F5 reloads.

Q37. What is a foreign key?

  1. An encryption key
  2. A password
  3. A field referring to the primary key of another table
  4. A key that is always unique
Show answer and explanation

Correct answer: C. A field referring to the primary key of another table

Foreign keys link tables.

Q38. In Excel, how many columns are there in a worksheet (modern versions)?

  1. 256
  2. 65,536
  3. 1,024
  4. 16,384
Show answer and explanation

Correct answer: D. 16,384

Excel has 16,384 columns (A to XFD).

Q39. What is the binary of decimal 8?

  1. 1010
  2. 1100
  3. 0100
  4. 1000
Show answer and explanation

Correct answer: D. 1000

8 = 2^3 = 1000.

Q40. Which shortcut key is used to paste?

  1. Ctrl + V
  2. Ctrl + P
  3. Ctrl + C
  4. Ctrl + X
Show answer and explanation

Correct answer: A. Ctrl + V

Ctrl+V pastes.

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.