Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

145 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 / 145
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 145 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
Easy css Uploaded: 23 Aug 2026

Which scheduling algorithm gives priority to the shortest job first?

  • A FCFS
  • B Round Robin
  • C Priority Scheduling
  • D SJF
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 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
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 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
7
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
8
Easy css Uploaded: 07 Aug 2026

What is the full form of URL?

  • A Uniform Record Locator
  • B Universal Record Locator
  • C Universal Resource Locator
  • D Uniform Resource Locator
9
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
10
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
11
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
12
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
13
Medium css Uploaded: 13 Aug 2026

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

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

Which design pattern ensures a class has only one instance?

  • A Factory
  • B Singleton
  • C Observer
  • D Adapter
15
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
16
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
17
Hard css Uploaded: 13 Aug 2026

What does the term 'firmware update' refer to?

  • A Updating the low-level software controlling hardware
  • B Updating a webpage
  • C Updating application software
  • D Updating a database
18
Easy css Uploaded: 09 Aug 2026

Who is known as the father of computers?

  • A John von Neumann
  • B Charles Babbage
  • C Bill Gates
  • D Alan Turing
19
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
20
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
Practiced MCQs0 / 145