Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

306 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 / 306
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 306 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.
121
Medium fpsc nts Uploaded: 20 Jun 2026

Which network topology uses a single communication backbone?

  • A Star
  • B Mesh
  • C Bus
  • D Ring
122
Medium css Uploaded: 13 Aug 2026

What is the primary function of a firewall?

  • A Compress files
  • B Speed up internet
  • C Store data
  • D Block unauthorized access
123
Medium nts Uploaded: 13 Aug 2026

Which of the following best describes a 'zero-day' vulnerability?

  • A A well-known, patched flaw
  • B A flaw unknown to the software vendor and unpatched
  • C A type of firewall
  • D A hardware defect
124
Medium nts Uploaded: 07 Aug 2026

Which of the following is an example of a compiled programming language?

  • A JavaScript
  • B Python
  • C C++
  • D PHP
125
Medium nts Uploaded: 09 Aug 2026

What is the primary purpose of a 'sitemap' in web development?

  • A Compress images
  • B Store user data
  • C Design page layouts
  • D Help search engines index website pages
126
Medium nts Uploaded: 13 Aug 2026

Which testing checks individual units of source code?

  • A Integration Testing
  • B Acceptance Testing
  • C Unit Testing
  • D System Testing
127
Medium css pms fpsc ppsc nts Uploaded: 01 Jul 2026

In Machine Learning, what is a hyperparameter?

  • A A configuration set before training
  • B A learned weight
  • C An output label
  • D A type of dataset
128
Medium pms Uploaded: 23 Aug 2026

Which of the following describes a MAN?

  • A A network covering a city or large campus
  • B A network within a single room
  • C A personal network
  • D A global network
129
Medium ppsc Uploaded: 09 Aug 2026

Which of the following data structures uses FIFO principle?

  • A Graph
  • B Tree
  • C Stack
  • D Queue
130
Medium fpsc Uploaded: 13 Aug 2026

What is the function of an IP address?

  • A Uniquely identify a device on a network
  • B Manage database tables
  • C Store data permanently
  • D Compile source code
131
Medium pms Uploaded: 07 Aug 2026

Which technique is used to handle collisions in a hash table?

  • A Sorting
  • B Chaining
  • C Indexing
  • D Compression
132
Medium css Uploaded: 23 Aug 2026

Which company developed ChatGPT?

  • A Meta
  • B OpenAI
  • C Microsoft
  • D Google
133
Medium css pms Uploaded: 20 Jun 2026

What is polymorphism in object-oriented programming?

  • A Data hiding
  • B Ability of an object to take multiple forms
  • C Memory allocation
  • D Database indexing
134
Medium ppsc Uploaded: 13 Aug 2026

What is the purpose of a search engine?

  • A Help users find information on the internet
  • B Store files locally
  • C Design websites
  • D Manage databases only
135
Medium fpsc Uploaded: 13 Aug 2026

Which data type stores true/false values?

  • A Integer
  • B Boolean
  • C Char
  • D Float
136
Medium css Uploaded: 09 Aug 2026

What is the primary purpose of encryption?

  • A Store data permanently
  • B Compress data
  • C Increase internet speed
  • D Secure data by converting it into unreadable format
137
Medium ppsc Uploaded: 07 Aug 2026

Which of the following is a common wireless communication standard for short-range data transfer?

  • A Bluetooth
  • B Fiber Optic
  • C Ethernet
  • D Coaxial Cable
138
Medium pms Uploaded: 23 Aug 2026

What is IPv6?

  • A A version of Internet Protocol using 128-bit addresses
  • B A database index
  • C A programming language
  • D A type of firewall
139
Medium nts Uploaded: 23 Aug 2026

Which company developed the Java programming language?

  • A IBM
  • B Microsoft
  • C Apple
  • D Sun Microsystems
140
Medium ppsc Uploaded: 23 Aug 2026

What is cache memory used for?

  • A To connect to networks
  • B To display graphics
  • C To temporarily store frequently accessed data for quick access
  • D To permanently store files
Practiced MCQs0 / 306