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.

Q191. Which is the largest type of computer in size?

  1. Laptop
  2. Tablet
  3. Microcomputer
  4. Supercomputer
Show answer and explanation

Correct answer: D. Supercomputer

Supercomputers can fill rooms.

Q192. Which constraint ensures a column cannot have NULL values?

  1. CHECK
  2. NOT NULL
  3. UNIQUE
  4. DEFAULT
Show answer and explanation

Correct answer: B. NOT NULL

NOT NULL prevents empty values.

Q193. Which shortcut key right-aligns a paragraph?

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

Correct answer: C. Ctrl + R

Ctrl+R right-aligns.

Q194. What are the four pillars of OOP?

  1. Class, Object, Method, Variable
  2. Encapsulation, Abstraction, Inheritance, Polymorphism
  3. Input, Output, Storage, Processing
  4. Compilation, Linking, Loading, Running
Show answer and explanation

Correct answer: B. Encapsulation, Abstraction, Inheritance, Polymorphism

These are the four fundamental OOP concepts.

Q195. Which tool is used to find and fix errors in a program?

  1. Browser
  2. Editor
  3. Compiler only
  4. Debugger
Show answer and explanation

Correct answer: D. Debugger

A debugger helps trace bugs.

Q196. What does MAN stand for?

  1. Main Area Network
  2. Multi Access Network
  3. Mobile Area Network
  4. Metropolitan Area Network
Show answer and explanation

Correct answer: D. Metropolitan Area Network

A MAN covers a city.

Q197. Which Excel function adds numbers?

  1. SUM
  2. PLUS
  3. ADD
  4. TOTAL
Show answer and explanation

Correct answer: A. SUM

SUM adds a range of values.

Q198. Which is the brain of the computer?

  1. Keyboard
  2. Mouse
  3. Monitor
  4. CPU
Show answer and explanation

Correct answer: D. CPU

The CPU processes instructions.

Q199. Which shortcut key opens a new document?

  1. Ctrl + S
  2. Ctrl + N
  3. Ctrl + P
  4. Ctrl + O
Show answer and explanation

Correct answer: B. Ctrl + N

Ctrl+N creates a new file.

Q200. Which SQL command modifies existing rows?

  1. UPDATE
  2. SELECT
  3. CREATE
  4. DROP
Show answer and explanation

Correct answer: A. UPDATE

UPDATE changes data.

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.