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.

Q61. What does a DNS server do?

  1. Prints pages
  2. Stores emails
  3. Blocks viruses
  4. Converts domain names to IP addresses
Show answer and explanation

Correct answer: D. Converts domain names to IP addresses

DNS resolves domain names.

Q62. What does LIFO stand for?

  1. Late In First Out
  2. Last Input First Output only
  3. Last In First Out
  4. Last In First On
Show answer and explanation

Correct answer: C. Last In First Out

Stack order.

Q63. Which of the following is a search engine?

  1. Firefox
  2. Google
  3. Edge
  4. Chrome
Show answer and explanation

Correct answer: B. Google

Google is a search engine.

Q64. Which is the correct way to declare an integer in C?

  1. num x;
  2. x int;
  3. integer x;
  4. int x;
Show answer and explanation

Correct answer: D. int x;

C uses int.

Q65. Which data structure uses FIFO?

  1. Tree
  2. Queue
  3. Graph
  4. Stack
Show answer and explanation

Correct answer: B. Queue

First in, first out.

Q66. Who invented the World Wide Web?

  1. Steve Jobs
  2. Tim Berners-Lee
  3. Vint Cerf
  4. Bill Gates
Show answer and explanation

Correct answer: B. Tim Berners-Lee

Berners-Lee invented the WWW in 1989.

Q67. Which of the following is an input device?

  1. Speaker
  2. Keyboard
  3. Printer
  4. Monitor
Show answer and explanation

Correct answer: B. Keyboard

A keyboard sends data to the computer.

Q68. In MS Word, what does Mail Merge do?

  1. Deletes duplicates
  2. Compresses files
  3. Merges two cells
  4. Sends personalised documents to many recipients
Show answer and explanation

Correct answer: D. Sends personalised documents to many recipients

Mail merge creates personalised letters.

Q69. Which scheduling algorithm executes the process that arrives first?

  1. SJF
  2. Round Robin
  3. Priority
  4. FCFS
Show answer and explanation

Correct answer: D. FCFS

FCFS is first come, first served.

Q70. Which is the primary storage device inside most computers?

  1. Hard disk / SSD
  2. Pen drive
  3. DVD
  4. Floppy disk
Show answer and explanation

Correct answer: A. Hard disk / SSD

Hard disks or SSDs hold OS and files.

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.