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.

Q71. What is the result of 7 / 2 in integer division in C?

  1. 3.5
  2. 4
  3. 2
  4. 3
Show answer and explanation

Correct answer: D. 3

Integer division truncates.

Q72. Which of the following is a web browser?

  1. Oracle
  2. Chrome
  3. Windows
  4. Excel
Show answer and explanation

Correct answer: B. Chrome

Chrome is a browser.

Q73. What is a flowchart?

  1. A programming language
  2. A database
  3. A graphical representation of an algorithm
  4. A type of table
Show answer and explanation

Correct answer: C. A graphical representation of an algorithm

A flowchart uses symbols to show steps.

Q74. Which SQL command adds new rows?

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

Correct answer: C. INSERT

INSERT adds data.

Q75. What is the extension of an Excel file?

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

Correct answer: B. .xlsx

Excel workbooks use .xlsx.

Q76. What is a process?

  1. A device driver
  2. A stored file
  3. A source code
  4. A program in execution
Show answer and explanation

Correct answer: D. A program in execution

A process is a running instance of a program.

Q77. What does DNS stand for?

  1. Digital Name Service
  2. Domain Name System
  3. Data Name System
  4. Domain Network System
Show answer and explanation

Correct answer: B. Domain Name System

DNS translates names to IP addresses.

Q78. What is the desktop in Windows?

  1. The main screen workspace
  2. A file type
  3. The CPU
  4. A program
Show answer and explanation

Correct answer: A. The main screen workspace

The desktop is the primary screen.

Q79. What is an interpreter?

  1. Prints output
  2. Translates whole program first
  3. Executes a program line by line
  4. Stores programs
Show answer and explanation

Correct answer: C. Executes a program line by line

An interpreter runs code statement by statement.

Q80. Which SQL clause sorts results?

  1. HAVING
  2. ORDER BY
  3. WHERE
  4. GROUP BY
Show answer and explanation

Correct answer: B. ORDER BY

ORDER BY sorts.

Other subjects

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