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.

Q151. Which sorting algorithm has an average time complexity of O(n log n)?

  1. Bubble sort
  2. Insertion sort
  3. Merge sort
  4. Selection sort
Show answer and explanation

Correct answer: C. Merge sort

Merge sort is O(n log n).

Q152. What is the extension of a PowerPoint slideshow file?

  1. .ppsx
  2. .xlsx
  3. .docx
  4. .pptx
Show answer and explanation

Correct answer: A. .ppsx

.ppsx opens directly in slideshow mode.

Q153. What is virtual memory?

  1. Using disk space to extend RAM
  2. Extra CPU
  3. A type of ROM
  4. A cloud service
Show answer and explanation

Correct answer: A. Using disk space to extend RAM

Virtual memory uses disk as extended memory.

Q154. Which of the following is not a programming paradigm?

  1. Procedural
  2. Compilation
  3. Functional
  4. Object-oriented
Show answer and explanation

Correct answer: B. Compilation

Compilation is a process, not a paradigm.

Q155. What does RAM stand for?

  1. Read Access Memory
  2. Run Access Memory
  3. Random Active Memory
  4. Random Access Memory
Show answer and explanation

Correct answer: D. Random Access Memory

RAM is volatile main memory.

Q156. Which of the following is an interpreted language?

  1. Python
  2. Fortran
  3. C
  4. C++
Show answer and explanation

Correct answer: A. Python

Python is commonly interpreted.

Q157. Which shortcut key makes text italic?

  1. Ctrl + L
  2. Ctrl + B
  3. Ctrl + I
  4. Ctrl + U
Show answer and explanation

Correct answer: C. Ctrl + I

Ctrl+I makes italic.

Q158. What is the base of the octal number system?

  1. 2
  2. 10
  3. 8
  4. 16
Show answer and explanation

Correct answer: C. 8

Octal uses digits 0-7.

Q159. What does VPN stand for?

  1. Variable Private Network
  2. Virtual Public Network
  3. Verified Private Network
  4. Virtual Private Network
Show answer and explanation

Correct answer: D. Virtual Private Network

A VPN encrypts traffic over public networks.

Q160. Which is the most popular topology with a central hub or switch?

  1. Ring topology
  2. Mesh topology
  3. Bus topology
  4. Star topology
Show answer and explanation

Correct answer: D. Star topology

Star topology uses a central device.

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.