Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

601 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 / 601
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 601 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.
61
Medium css Uploaded: 07 Aug 2026

Which design pattern ensures a class has only one instance?

  • A Factory
  • B Singleton
  • C Observer
  • D Adapter
62
Medium ppsc Uploaded: 23 Aug 2026

Which number system uses only 0 and 1?

  • A Hexadecimal
  • B Octal
  • C Decimal
  • D Binary
63
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
64
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
65
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
66
Medium ppsc Uploaded: 09 Aug 2026

Which of the following is a type of computer network attack?

  • A Encryption
  • B Antivirus
  • C Firewall
  • D Phishing
67
Medium ppsc Uploaded: 13 Aug 2026

What is version control used for?

  • A Compiling programs
  • B Formatting code
  • C Designing interfaces
  • D Tracking and managing changes to code over time
68
Easy fpsc Uploaded: 07 Aug 2026

What does the term 'bit rate' refer to in digital media?

  • A The physical size of a file
  • B The amount of data processed per unit of time
  • C The color depth of an image
  • D The resolution of a monitor
69
Medium ppsc Uploaded: 23 Aug 2026

What is bandwidth in networking?

  • A The number of devices connected
  • B The physical length of a cable
  • C The maximum data transfer rate of a network
  • D The type of network topology
70
Easy nts Uploaded: 20 Jun 2026

Which key combination opens the Find dialog box in MS Word?

  • A Ctrl+H
  • B Ctrl+F
  • C Ctrl+N
  • D Ctrl+L
71
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
72
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
73
Hard nts Uploaded: 07 Aug 2026

Which layer of the OSI model is responsible for routing?

  • A Transport Layer
  • B Application Layer
  • C Data Link Layer
  • D Network Layer
74
Medium nts Uploaded: 13 Aug 2026

What is a computer virus?

  • A An antivirus tool
  • B A network protocol
  • C A self-replicating malicious program
  • D A hardware component
75
Medium pms Uploaded: 23 Aug 2026

Which HTML tag is used to define the largest heading?

  • A <h6>
  • B <h1>
  • C <header>
  • D <head>
76
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
77
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
78
Medium pms Uploaded: 13 Aug 2026

Which of the following is an example of cloud storage service?

  • A Notepad
  • B Google Drive
  • C MS Paint
  • D Calculator
79
Easy pms Uploaded: 07 Aug 2026

What is the primary difference between compiled and interpreted languages?

  • A Compiled languages translate entire code before execution; interpreted languages execute line by line
  • B Compiled languages are always slower
  • C Interpreted languages cannot handle loops
  • D Compiled languages do not require syntax
80
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 / 601