Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

162 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 / 162
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 162 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 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
22
Easy fpsc Uploaded: 09 Aug 2026

Which of the following is a common cybersecurity practice?

  • A Ignoring software updates
  • B Using strong, unique passwords
  • C Disabling firewalls
  • D Sharing passwords openly
23
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
24
Medium fpsc Uploaded: 23 Aug 2026

Which of the following is a popular IDE for Python development?

  • A PyCharm
  • B AutoCAD
  • C Illustrator
  • D Photoshop
25
Easy fpsc Uploaded: 23 Aug 2026

What is the function of a computer's power supply unit (PSU)?

  • A To store data
  • B To connect to networks
  • C To convert AC power to DC power for internal components
  • D To display graphics
26
Medium fpsc Uploaded: 09 Aug 2026

What does 'CAD' stand for in computing?

  • A Computer-Aided Design
  • B Central Aided Design
  • C Computer Application Design
  • D Computer Automated Design
27
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
28
Easy fpsc nts Uploaded: 20 Jun 2026

What is phishing?

  • A Programming method
  • B Data backup
  • C Fraudulent attempt to steal information
  • D Network topology
29
Medium fpsc Uploaded: 07 Aug 2026

What is the purpose of a foreign key in a relational database?

  • A Speed up query execution
  • B Store binary large objects
  • C Establish a link between two tables
  • D Encrypt sensitive data
30
Medium fpsc nts Uploaded: 20 Jun 2026

Which sorting algorithm repeatedly selects the smallest element and places it in the correct position?

  • A Merge Sort
  • B Quick Sort
  • C Selection Sort
  • D Heap Sort
31
Hard fpsc Uploaded: 23 Aug 2026

Which of the following best describes an operating system's multitasking feature?

  • A Running multiple programs simultaneously
  • B Formatting the hard disk
  • C Running only one program at a time
  • D Deleting unused files
32
Easy fpsc Uploaded: 07 Aug 2026

Which of the following is used to uniquely identify a record in a database table?

  • A Primary Key
  • B Index
  • C Foreign Key
  • D Query
33
Medium fpsc Uploaded: 23 Aug 2026

Which logic gate gives output 1 only when both inputs are 1?

  • A XOR
  • B AND
  • C OR
  • D NOT
34
Medium fpsc Uploaded: 13 Aug 2026

Which of the following is a biometric authentication method?

  • A Password
  • B PIN
  • C Fingerprint scan
  • D Security question
35
Easy fpsc Uploaded: 07 Aug 2026

Which shortcut key is used to save a document?

  • A Ctrl+P
  • B Ctrl+N
  • C Ctrl+A
  • D Ctrl+S
36
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
37
Medium css fpsc Uploaded: 20 Jun 2026

Which protocol is used to securely transfer files over SSH?

  • A FTP
  • B TFTP
  • C SFTP
  • D SMTP
38
Easy fpsc Uploaded: 07 Aug 2026

Which of the following is a type of software license that allows free use and modification?

  • A GNU General Public License
  • B Trial License
  • C Commercial License
  • D Proprietary License
39
Medium fpsc Uploaded: 13 Aug 2026

What is a transaction in a database?

  • A A sequence of operations performed as a single logical unit
  • B A type of index
  • C A single query
  • D A backup process
40
Medium fpsc Uploaded: 23 Aug 2026

What is the function of Wi-Fi?

  • A To manage databases
  • B To provide wireless internet connectivity
  • C To store files
  • D To compile code
Practiced MCQs0 / 162