Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

601 Questions Subject Test
Subject Preparation Guide

Prepare Computer Science with confidence

Strengthen your knowledge of computer fundamentals, hardware, software, programming, networks, databases and information technology.

Computer BasicsProgrammingNetworksDatabases
Recommended for academic classes, IT tests and computer portions of competitive examinations.
Computer Science preparation illustration
Subject Test

Test your Computer Science preparation

Questions are tracked as practiced when you open Show Answer & Explanation. Tracking stays only in this browser tab and no subject-test result is saved.

Practiced MCQs
0 / 601
Use the MCQs you already prepared, or launch a random test from the full subject bank.
No login required Result is not saved Choose your own MCQ count & timer
Choose your test mode
Choose any number up to 601 available MCQs.
Enter 0 for no timer, or choose 1–300 minutes.
Tip: prepare some MCQs first, then start a quick self-check from My Practiced MCQs to test exactly what you studied.
301
Medium pms Uploaded: 13 Aug 2026

Which key uniquely identifies a record in another table?

  • A Foreign Key
  • B Primary Key
  • C Composite Key
  • D Candidate Key
302
Medium css Uploaded: 23 Aug 2026

Which tag is used to create a hyperlink in HTML?

  • A <link>
  • B <a>
  • C <url>
  • D <href>
303
Medium css fpsc Uploaded: 20 Jun 2026

What is a database schema?

  • A Backup file
  • B Structure of a database
  • C Network device
  • D Programming language
304
Hard nts Uploaded: 09 Aug 2026

Which sorting algorithm has the best average time complexity?

  • A Quick Sort
  • B Bubble Sort
  • C Selection Sort
  • D Insertion Sort
305
Hard fpsc Uploaded: 13 Aug 2026

How many bits are there in a nibble?

  • A 2
  • B 4
  • C 16
  • D 8
306
Medium css Uploaded: 07 Aug 2026

Which layer of the OSI model handles data encryption and compression?

  • A Physical Layer
  • B Transport Layer
  • C Presentation Layer
  • D Session Layer
307
Medium fpsc Uploaded: 23 Aug 2026

What is the shortcut key to select all content?

  • A Ctrl+S
  • B Ctrl+A
  • C Ctrl+F
  • D Ctrl+P
308
Medium css fpsc Uploaded: 20 Jun 2026

Which memory is fastest among the following?

  • A Hard Disk
  • B RAM
  • C Cache Memory
  • D ROM
309
Easy fpsc Uploaded: 13 Aug 2026

Which unit of a computer performs arithmetic and logical operations?

  • A ALU
  • B Memory Unit
  • C Control Unit
  • D Cache
310
Medium nts Uploaded: 23 Aug 2026

What is the purpose of indexing in a database?

  • A To delete duplicate records
  • B To speed up data retrieval operations
  • C To back up the database
  • D To encrypt sensitive data
311
Hard fpsc Uploaded: 13 Aug 2026

What is the decimal equivalent of hexadecimal A?

  • A 9
  • B 10
  • C 11
  • D 12
312
Easy css Uploaded: 07 Aug 2026

A computer virus is a type of?

  • A Hardware device
  • B Operating system
  • C Programming language
  • D Malicious software
313
Medium pms Uploaded: 09 Aug 2026

What does 'GPU' stand for?

  • A General Processing Unit
  • B Graphics Processing Unit
  • C General Purpose Unit
  • D Graphical Program Unit
314
Medium pms Uploaded: 13 Aug 2026

What is the shortcut key to undo an action?

  • A Ctrl+Y
  • B Ctrl+A
  • C Ctrl+U
  • D Ctrl+Z
315
Medium css fpsc Uploaded: 18 Jun 2026

Which programming language is known as the "mother of all languages"?

  • A Python
  • B Java
  • C C
  • D FORTRAN
316
Easy nts Uploaded: 20 Jun 2026

What is CSV short for?

  • A Computer Saved Values
  • B Comma Separated Values
  • C Column Stored Variables
  • D Common Spreadsheet View
317
Easy ppsc Uploaded: 09 Aug 2026

Which company developed the Android operating system?

  • A Microsoft
  • B Apple
  • C Samsung
  • D Google
318
Medium ppsc Uploaded: 13 Aug 2026

What is normalization in databases?

  • A Backing up data
  • B Organizing data to reduce redundancy
  • C Increasing redundancy
  • D Encrypting data
319
Medium nts Uploaded: 07 Aug 2026

In database normalization, which normal form eliminates transitive dependency?

  • A Second Normal Form (2NF)
  • B Third Normal Form (3NF)
  • C First Normal Form (1NF)
  • D Fourth Normal Form (4NF)
320
Easy ppsc Uploaded: 23 Aug 2026

Which protocol is used to send emails?

  • A POP3
  • B FTP
  • C SMTP
  • D HTTP
Practiced MCQs0 / 601