Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

140 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 / 140
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 140 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
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
22
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
23
Easy ppsc Uploaded: 07 Aug 2026

Which of the following is an input device?

  • A Monitor
  • B Printer
  • C Speaker
  • D Keyboard
24
Easy fpsc ppsc nts Uploaded: 18 Jun 2026

What does RAM stand for?

  • A Random Access Memory
  • B Read Access Memory
  • C Rapid Access Memory
  • D Random Application Memory
25
Easy ppsc Uploaded: 13 Aug 2026

What does USB stand for?

  • A Universal Serial Bus
  • B United System Bus
  • C United Serial Bus
  • D Universal System Bus
26
Easy ppsc Uploaded: 07 Aug 2026

What is the time complexity of binary search on a sorted array?

  • A O(log n)
  • B O(1)
  • C O(n)
  • D O(n^2)
27
Easy ppsc nts Uploaded: 20 Jun 2026

Which SQL command is used to retrieve data from a database?

  • A INSERT
  • B UPDATE
  • C SELECT
  • D DELETE
28
Easy ppsc nts Uploaded: 20 Jun 2026

Which Excel feature is used to display only records matching specific criteria?

  • A Sort
  • B Filter
  • C Freeze Panes
  • D Conditional Formatting
29
Easy ppsc nts Uploaded: 20 Jun 2026

What is the default file extension of a Microsoft Word document in modern versions?

  • A .doc
  • B .txt
  • C .docx
  • D .rtf
30
Easy ppsc Uploaded: 13 Aug 2026

What is debugging?

  • A Finding and fixing errors in code
  • B Designing a database
  • C Compiling a program
  • D Writing new code
31
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
32
Hard ppsc Uploaded: 07 Aug 2026

Which of the following is an example of an operating system?

  • A Windows
  • B MS Word
  • C Excel
  • D Photoshop
33
Easy ppsc Uploaded: 09 Aug 2026

What does 'malware' refer to?

  • A Networking protocol
  • B Hardware component
  • C Beneficial software
  • D Malicious software designed to harm systems
34
Hard ppsc Uploaded: 13 Aug 2026

What is the time complexity of binary search?

  • A O(n)
  • B O(n^2)
  • C O(log n)
  • D O(1)
35
Easy ppsc Uploaded: 09 Aug 2026

Which of these is an example of an operating system?

  • A Linux
  • B Excel
  • C MS Word
  • D Photoshop
36
Easy ppsc nts Uploaded: 20 Jun 2026

Which software is used to create spreadsheets?

  • A PowerPoint
  • B Excel
  • C Access
  • D Outlook
37
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

Why are Headers and Footers added to a document in MS Word?

  • A To mark the beginning of a page
  • B To improve the document's appearance
  • C To display repeating information such as page numbers, dates, and titles on printed pages
  • D To make a document easier to read
38
Medium ppsc Uploaded: 07 Aug 2026

Which of the following best describes deadlock in operating systems?

  • A A state where processes wait indefinitely for resources held by each other
  • B A type of virus attack
  • C A process that runs continuously
  • D A memory overflow error
39
Hard ppsc Uploaded: 23 Aug 2026

What is the function of a hub in networking?

  • A To route data intelligently
  • B To store files
  • C To broadcast data to all connected devices
  • D To encrypt data
40
Easy ppsc nts Uploaded: 20 Jun 2026

What is a workbook in Microsoft Excel?

  • A A single cell
  • B A chart
  • C A collection of worksheets
  • D A formula
Practiced MCQs0 / 140