Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

91 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 / 91
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 91 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.
1
Medium css fpsc Uploaded: 20 Jun 2026

Which Excel chart is best for showing trends over time?

  • A Pie Chart
  • B Line Chart
  • C Scatter Plot
  • D Radar Chart
2
Medium fpsc Uploaded: 07 Aug 2026

In object-oriented programming, what does polymorphism allow?

  • A Functions to run without parameters
  • B Objects to store data only
  • C Classes to prevent inheritance
  • D Objects to take multiple forms through overriding or overloading
3
Medium css fpsc Uploaded: 20 Jun 2026

Which layer of the OSI model is responsible for routing packets?

  • A Transport Layer
  • B Network Layer
  • C Session Layer
  • D Presentation Layer
4
Medium fpsc Uploaded: 09 Aug 2026

Which of the following is used to test software before release?

  • A Testing
  • B Compiling
  • C Encryption
  • D Debugging
5
Medium css pms fpsc ppsc nts Uploaded: 01 Jul 2026

What does "GPT" stand for in ChatGPT?

  • A Global Prediction Technique
  • B Generative Pre-trained Transforme
  • C General Processing Tool
  • D Graphical Pattern Tracke
6
Medium fpsc Uploaded: 23 Aug 2026

What is the function of an Ethernet cable?

  • A To display graphics
  • B To provide wireless connectivity
  • C To connect devices in a wired network
  • D To store data
7
Medium fpsc Uploaded: 13 Aug 2026

Which of the following best defines 'bandwidth' in networking?

  • A Number of connected devices
  • B Speed of a CPU
  • C Storage capacity of a hard disk
  • D Maximum rate of data transfer across a network
8
Medium fpsc ppsc Uploaded: 20 Jun 2026

What is the primary purpose of RAID technology?

  • A Increase screen resolution
  • B Improve storage performance and reliability
  • C Enhance processor speed
  • D Manage network traffic
9
Medium fpsc Uploaded: 07 Aug 2026

Which programming language is primarily used for web page structure?

  • A HTML
  • B Python
  • C C++
  • D Java
10
Medium fpsc Uploaded: 09 Aug 2026

Which of the following is a common use of 'machine learning'?

  • A Predictive analytics and pattern recognition
  • B Manual data entry
  • C Cable installation
  • D Physical hardware repair
11
Medium css fpsc Uploaded: 20 Jun 2026

What is the purpose of a firewall?

  • A Increase processor speed
  • B Protect networks from unauthorized access
  • C Store files permanently
  • D Compress data
12
Medium fpsc Uploaded: 23 Aug 2026

What is the term for the physical components of a computer?

  • A Firmware
  • B Software
  • C Hardware
  • D Middleware
13
Medium fpsc nts Uploaded: 20 Jun 2026

Which protocol is used for receiving email in modern systems?

  • A IMAP
  • B SMTP
  • C DNS
  • D FTP
14
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

Which bus is primarily responsible for transferring data between the CPU and memory?

  • A Address Bus
  • B Expansion Bus
  • C Control Bus
  • D Data Bus
15
Medium fpsc Uploaded: 23 Aug 2026

Which of the following is a popular IDE for Python development?

  • A PyCharm
  • B AutoCAD
  • C Illustrator
  • D Photoshop
16
Medium fpsc Uploaded: 09 Aug 2026

What does 'CAD' stand for in computing?

  • A Computer-Aided Design
  • B Central Aided Design
  • C Computer Application Design
  • D Computer Automated Design
17
Medium css pms fpsc ppsc nts Uploaded: 01 Jul 2026

Which search algorithm explores all nodes one level at a time before moving to the next level?

  • A A* Search
  • B Depth-First Search (DFS)
  • C Breadth-First Search (BFS)
  • D Greedy Search
18
Medium fpsc Uploaded: 07 Aug 2026

What is the purpose of a foreign key in a relational database?

  • A Speed up query execution
  • B Store binary large objects
  • C Establish a link between two tables
  • D Encrypt sensitive data
19
Medium fpsc nts Uploaded: 20 Jun 2026

Which sorting algorithm repeatedly selects the smallest element and places it in the correct position?

  • A Merge Sort
  • B Quick Sort
  • C Selection Sort
  • D Heap Sort
20
Medium fpsc Uploaded: 23 Aug 2026

Which logic gate gives output 1 only when both inputs are 1?

  • A XOR
  • B AND
  • C OR
  • D NOT
Practiced MCQs0 / 91