Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

102 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 / 102
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 102 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 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
3
Medium css Uploaded: 13 Aug 2026

What is spyware?

  • A Software that speeds up a computer
  • B Antivirus software
  • C A firewall tool
  • D Software that secretly monitors user activity
4
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
5
Medium css Uploaded: 07 Aug 2026

What is the main function of a computer's cache memory?

  • A Permanently store operating system files
  • B Speed up data access between CPU and main memory
  • C Display graphics on the monitor
  • D Increase the size of the hard drive
6
Medium css Uploaded: 13 Aug 2026

Which of the following best describes 'hashing' in computer science?

  • A Encrypting data reversibly
  • B Converting data into a fixed-size value using a function
  • C Backing up data
  • D Compressing files
7
Medium css Uploaded: 23 Aug 2026

Which of the following is used to reduce file size for storage or transmission?

  • A Formatting
  • B Compression
  • C Encryption
  • D Partitioning
8
Medium css pms Uploaded: 20 Jun 2026

What is a macro in MS Office?

  • A Database
  • B Automated task sequence
  • C Chart type
  • D Network protocol
9
Medium css Uploaded: 13 Aug 2026

A deadlock in an operating system occurs when?

  • A CPU is idle
  • B A program crashes
  • C Processes wait indefinitely for resources held by each other
  • D Memory is full
10
Medium css Uploaded: 07 Aug 2026

What is the main advantage of using a linked list over an array?

  • A Dynamic size allocation
  • B Faster random access
  • C Less memory usage always
  • D Simpler syntax
11
Medium css Uploaded: 13 Aug 2026

Which of these is a Data Definition Language (DDL) command?

  • A SELECT
  • B INSERT
  • C CREATE
  • D UPDATE
12
Medium css Uploaded: 07 Aug 2026

Which design pattern ensures a class has only one instance?

  • A Factory
  • B Singleton
  • C Observer
  • D Adapter
13
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
14
Medium css Uploaded: 13 Aug 2026

What is recursion in programming?

  • A A syntax error
  • B A type of variable
  • C A function calling itself
  • D A loop that never ends
15
Medium css Uploaded: 09 Aug 2026

What does 'DNS' stand for?

  • A Data Network System
  • B Data Name Server
  • C Domain Name System
  • D Domain Network Server
16
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
17
Medium css Uploaded: 23 Aug 2026

What is the function of a proxy server?

  • A To display graphics
  • B To manage printers
  • C To store permanent files
  • D To act as an intermediary between client and server
18
Medium css Uploaded: 23 Aug 2026

Which protocol is used for transferring web pages?

  • A SMTP
  • B HTTP
  • C TCP
  • D FTP
19
Medium css Uploaded: 13 Aug 2026

What is a Trojan horse in computing?

  • A A type of firewall
  • B A network cable
  • C A useful software tool
  • D Malware disguised as legitimate software
20
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
Practiced MCQs0 / 102