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.

Q21. Which language adds interactivity to web pages?

  1. C
  2. HTML
  3. JavaScript
  4. SQL
Show answer and explanation

Correct answer: C. JavaScript

JavaScript runs in browsers.

Q22. Which SQL statement changes a table's structure?

  1. ALTER TABLE
  2. MODIFY ROW
  3. CHANGE DATA
  4. UPDATE TABLE
Show answer and explanation

Correct answer: A. ALTER TABLE

ALTER TABLE changes structure.

Q23. Which OS is developed by Apple for iPhones?

  1. Symbian
  2. Windows Phone
  3. Android
  4. iOS
Show answer and explanation

Correct answer: D. iOS

iOS runs on iPhones.

Q24. Which data structure uses LIFO?

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

Correct answer: C. Stack

Last in, first out.

Q25. Which command changes directory?

  1. cd
  2. go
  3. move
  4. chdir only
Show answer and explanation

Correct answer: A. cd

cd changes directory.

Q26. What does IP stand for in IP address?

  1. Internet Protocol
  2. Internal Protocol
  3. Information Protocol
  4. Intranet Protocol
Show answer and explanation

Correct answer: A. Internet Protocol

IP identifies devices on a network.

Q27. What does WWW stand for?

  1. Web World Wide
  2. Wide World Web
  3. World Wide Web
  4. World Web Wide
Show answer and explanation

Correct answer: C. World Wide Web

WWW is the Web.

Q28. What is a logical error?

  1. Program crashes at start
  2. Program runs but gives wrong output
  3. Program does not compile
  4. Missing semicolon
Show answer and explanation

Correct answer: B. Program runs but gives wrong output

Logical errors produce incorrect results.

Q29. Which is the main circuit board of the computer?

  1. Graphics card
  2. Power supply
  3. Motherboard
  4. Soundcard
Show answer and explanation

Correct answer: C. Motherboard

It is the main PCB.

Q30. In a flowchart, which shape represents start/end?

  1. Diamond
  2. Circle
  3. Rectangle
  4. Oval (Terminator)
Show answer and explanation

Correct answer: D. Oval (Terminator)

Terminators mark start and stop.

Other subjects

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