IT Jobs Computer Science MCQs with Answers

179 practice MCQs on Computer Science for IT Jobs tests. Think of your answer first, then open "Show answer and explanation". These are practice questions, not official examination papers.

Take a timed Computer Science quiz: Free account required to save your score.

Q51. Which SQL command retrieves data from a table?

  1. INSERT
  2. UPDATE
  3. SELECT
  4. DELETE
Show answer and explanation

Correct answer: C. SELECT

SELECT queries data.

Q52. What is a syntax error?

  1. An error that occurs at runtime
  2. A hardware failure
  3. A logical mistake
  4. An error in the structure of the code
Show answer and explanation

Correct answer: D. An error in the structure of the code

Syntax errors violate language rules.

Q53. Which port is commonly used to connect a monitor digitally?

  1. PS/2
  2. HDMI
  3. RJ-45
  4. Serial
Show answer and explanation

Correct answer: B. HDMI

HDMI carries digital video and audio.

Q54. What does 'dpi' measure?

  1. Data per inch
  2. Dots per inch
  3. Digits per inch
  4. Disks per inch
Show answer and explanation

Correct answer: B. Dots per inch

DPI measures printing or scan resolution.

Q55. What is a compiler?

  1. Designs web pages
  2. Stores data
  3. Executes line by line
  4. Translates the whole program into machine code at once
Show answer and explanation

Correct answer: D. Translates the whole program into machine code at once

A compiler translates source code to machine code.

Q56. Who is known as the father of the Internet?

  1. Tim Berners-Lee
  2. Vint Cerf
  3. Charles Babbage
  4. Dennis Ritchie
Show answer and explanation

Correct answer: B. Vint Cerf

Vint Cerf and Bob Kahn designed TCP/IP.

Q57. What is a field in a database?

  1. A key
  2. A column in a table
  3. A table
  4. A row
Show answer and explanation

Correct answer: B. A column in a table

A field is a column.

Q58. What does GPU stand for?

  1. Graphical Program Unit
  2. Global Processing Unit
  3. Graphics Processing Unit
  4. General Processing Unit
Show answer and explanation

Correct answer: C. Graphics Processing Unit

A GPU handles graphics and parallel computation.

Q59. What does a firewall do?

  1. Speeds up Internet
  2. Compresses files
  3. Prints documents
  4. Filters network traffic
Show answer and explanation

Correct answer: D. Filters network traffic

A firewall blocks unauthorised traffic.

Q60. What is an algorithm?

  1. A programming language
  2. A web page
  3. A step-by-step procedure to solve a problem
  4. A type of computer
Show answer and explanation

Correct answer: C. A step-by-step procedure to solve a problem

An algorithm is a finite sequence of instructions.

Other subjects

Looking for a job? Apply while you prepare: browse the latest government and private jobs on PK JOBs Hub.