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.

Q71. What is an object in OOP?

  1. An instance of a class
  2. A type of loop
  3. A function
  4. A header file
Show answer and explanation

Correct answer: A. An instance of a class

Objects are instances of classes.

Q72. What does Wi-Fi use to send data?

  1. Cables
  2. Light only
  3. Sound waves
  4. Radio waves
Show answer and explanation

Correct answer: D. Radio waves

Wi-Fi uses radio frequencies.

Q73. What does SSL/TLS provide?

  1. Encrypted communication
  2. Free storage
  3. Spam filtering
  4. Faster Internet
Show answer and explanation

Correct answer: A. Encrypted communication

It encrypts data in transit.

Q74. What is a deadlock?

  1. Processes waiting for each other indefinitely
  2. A fast process
  3. A completed process
  4. A memory leak
Show answer and explanation

Correct answer: A. Processes waiting for each other indefinitely

Deadlock occurs when no process can proceed.

Q75. What does SMTP stand for?

  1. Standard Mail Transfer Program
  2. Simple Mail Transfer Protocol
  3. Secure Mail Transfer Protocol
  4. Simple Message Transfer Protocol
Show answer and explanation

Correct answer: B. Simple Mail Transfer Protocol

SMTP sends email.

Q76. What does SQL stand for?

  1. Sequential Query Language
  2. Structured Query Language
  3. Simple Query Language
  4. Standard Query Logic
Show answer and explanation

Correct answer: B. Structured Query Language

SQL is used for relational databases.

Q77. How many bits are in a byte?

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

Correct answer: B. 8

One byte equals 8 bits.

Q78. Which of the following is an image file extension?

  1. .exe
  2. .mp3
  3. .jpg
  4. .docx
Show answer and explanation

Correct answer: C. .jpg

.jpg is a compressed image format.

Q79. In MS Word, where is the Table option found?

  1. Home tab
  2. Insert tab
  3. Review tab
  4. View tab
Show answer and explanation

Correct answer: B. Insert tab

Tables are inserted via the Insert tab.

Q80. Which data structure is used for DFS (depth-first search)?

  1. Queue
  2. Heap
  3. Hash table
  4. Stack
Show answer and explanation

Correct answer: D. Stack

DFS uses a stack (or recursion).

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.