Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

97 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 / 97
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 97 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.
21
Hard pms Uploaded: 23 Aug 2026

What is the function of a kernel in an operating system?

  • A A database index
  • B A type of malware
  • C Core part that manages system resources
  • D A programming language
22
Hard ppsc Uploaded: 13 Aug 2026

Which of the following is used to protect data through scrambling?

  • A Firewall
  • B Backup
  • C Encryption
  • D Antivirus
23
Hard ppsc Uploaded: 13 Aug 2026

What is freeware?

  • A Software available for free use
  • B Malicious software
  • C Software with a mandatory license fee
  • D A hardware component
24
Hard css fpsc Uploaded: 20 Jun 2026

Which algorithm is commonly used to find the shortest path in a weighted graph?

  • A Bubble Sort
  • B Dijkstra's Algorithm
  • C Binary Search
  • D Depth First Search
25
Hard ppsc Uploaded: 13 Aug 2026

Which company developed the iOS operating system?

  • A Google
  • B Samsung
  • C Apple
  • D Microsoft
26
Hard nts Uploaded: 13 Aug 2026

What is the function of a subnet mask?

  • A Compile source code
  • B Divide an IP network into smaller sub-networks
  • C Store website data
  • D Encrypt network traffic
27
Hard ppsc Uploaded: 07 Aug 2026

What does WWW stand for?

  • A World Wide Wire
  • B Wide World Web
  • C World Wide Web
  • D World Web Wide
28
Hard fpsc Uploaded: 13 Aug 2026

What is a cookie in web browsing?

  • A A type of malware
  • B A small piece of data stored by a website on a user's browser
  • C A programming language
  • D A hardware device
29
Hard css pms Uploaded: 20 Jun 2026

Which normal form eliminates transitive dependencies?

  • A First Normal Form
  • B Second Normal Form
  • C Third Normal Form
  • D Boyce-Codd Normal Form
30
Hard fpsc Uploaded: 13 Aug 2026

What is data redundancy?

  • A Unnecessary duplication of data
  • B Compressed data
  • C Unique data storage
  • D Encrypted data
31
Hard pms Uploaded: 23 Aug 2026

Which of the following is a type of computer network based on geographic area?

  • A WAN
  • B RAM
  • C GUI
  • D CPU
32
Hard css Uploaded: 23 Aug 2026

What is the function of an antivirus signature database?

  • A To identify known malware patterns
  • B To manage network traffic
  • C To store user passwords
  • D To compress files
33
Hard fpsc Uploaded: 23 Aug 2026

Which of the following is a client-side scripting language?

  • A JavaScript
  • B Python
  • C PHP
  • D SQL
34
Hard css Uploaded: 07 Aug 2026

Which of the following is a common file compression format?

  • A DOC
  • B ZIP
  • C PDF
  • D EXE
35
Hard pms Uploaded: 13 Aug 2026

Which data structure is used to implement recursion internally?

  • A Tree
  • B Stack
  • C Queue
  • D Array
36
Hard nts Uploaded: 07 Aug 2026

Which cryptographic technique uses two different keys for encryption and decryption?

  • A Symmetric encryption
  • B Checksum
  • C Asymmetric encryption
  • D Hashing
37
Hard css Uploaded: 23 Aug 2026

Which topology connects each device to a central hub?

  • A Ring
  • B Mesh
  • C Star
  • D Bus
38
Hard pms Uploaded: 09 Aug 2026

What is the main advantage of using a database index?

  • A Faster data retrieval
  • B Faster internet
  • C Reduced storage space
  • D Better graphics
39
Hard css Uploaded: 23 Aug 2026

What is the function of a computer's heat sink?

  • A To store data
  • B To connect peripherals
  • C To dissipate heat away from components like the CPU
  • D To process graphics
40
Hard pms Uploaded: 23 Aug 2026

What is the purpose of defragmentation?

  • A To encrypt data
  • B To delete files permanently
  • C To reorganize fragmented data for faster access
  • D To compress files
Practiced MCQs0 / 97