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.

Q261. Which shortcut key justifies a paragraph?

  1. Ctrl + L
  2. Ctrl + E
  3. Ctrl + J
  4. Ctrl + R
Show answer and explanation

Correct answer: C. Ctrl + J

Ctrl+J justifies.

Q262. Which shortcut key selects all?

  1. Ctrl + E
  2. Ctrl + A
  3. Ctrl + L
  4. Ctrl + S
Show answer and explanation

Correct answer: B. Ctrl + A

Ctrl+A selects all.

Q263. What does .pk represent as a domain?

  1. Pakistan
  2. Packet
  3. Peking
  4. Public
Show answer and explanation

Correct answer: A. Pakistan

.pk is the country-code domain for Pakistan.

Q264. What is the full form of ASCII?

  1. American Symbolic Code for Information Interchange
  2. Advanced Standard Code for Information Interchange
  3. American Standard Code for Internet Interchange
  4. American Standard Code for Information Interchange
Show answer and explanation

Correct answer: D. American Standard Code for Information Interchange

ASCII encodes characters in 7 or 8 bits.

Q265. What does a Trojan horse do?

  1. Repairs files
  2. Speeds up the computer
  3. Disguises itself as legitimate software
  4. Backs up data
Show answer and explanation

Correct answer: C. Disguises itself as legitimate software

A Trojan hides malicious code inside a useful-looking program.

Q266. What does .com stand for in a domain?

  1. Computer
  2. Commercial
  3. Community
  4. Company
Show answer and explanation

Correct answer: B. Commercial

.com originally meant commercial.

Q267. What is a variable?

  1. A function
  2. An error
  3. A type of loop
  4. A named storage location
Show answer and explanation

Correct answer: D. A named storage location

A variable stores a value.

Q268. Which key combination closes the active window?

  1. Alt + F4
  2. Ctrl + Esc
  3. Ctrl + F4
  4. Alt + F5
Show answer and explanation

Correct answer: A. Alt + F4

Alt+F4 closes the current program.

Q269. What does HTTPS stand for?

  1. HyperText Transmission Protocol Secure
  2. HyperText Transport Process Secure
  3. High Transfer Protocol Secure
  4. HyperText Transfer Protocol Secure
Show answer and explanation

Correct answer: D. HyperText Transfer Protocol Secure

HTTPS uses TLS encryption.

Q270. What is the base of the hexadecimal number system?

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

Correct answer: A. 16

Hexadecimal uses digits 0-9 and A-F.

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.