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.
141
Easy nts Uploaded: 23 Aug 2026

Which of the following is a benefit of using cloud computing?

  • A Requires no internet connection
  • B Only works on one device
  • C Scalability and remote accessibility
  • D Eliminates the need for security
142
Medium pms Uploaded: 13 Aug 2026

What is the worst-case time complexity of bubble sort?

  • A O(n)
  • B O(n log n)
  • C O(n^2)
  • D O(log n)
143
Medium css Uploaded: 07 Aug 2026

Which of these is a social media platform?

  • A Adobe Photoshop
  • B VLC Media Player
  • C MS Word
  • D Facebook
144
Medium nts Uploaded: 09 Aug 2026

What is the purpose of 'debugging' in programming?

  • A Store data
  • B Compile code
  • C Identify and fix errors in code
  • D Design interfaces
145
Easy nts Uploaded: 13 Aug 2026

What is the primary purpose of compression software?

  • A Reduce file size for storage or transfer
  • B Encrypt data
  • C Increase file size
  • D Backup data
146
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
147
Medium css Uploaded: 09 Aug 2026

Which of these is a type of computer virus?

  • A Firewall
  • B Trojan Horse
  • C Antivirus
  • D Router
148
Medium css Uploaded: 13 Aug 2026

What is ransomware?

  • A A backup tool
  • B Malware that locks data and demands payment
  • C An antivirus program
  • D Free software
149
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
150
Hard nts Uploaded: 23 Aug 2026

Which memory management technique divides memory into fixed-size blocks?

  • A Swapping
  • B Segmentation
  • C Caching
  • D Paging
151
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
152
Hard nts Uploaded: 09 Aug 2026

Which of the following is a characteristic of object-oriented programming?

  • A Sequential execution only
  • B No data types
  • C No functions
  • D Encapsulation
153
Easy pms Uploaded: 13 Aug 2026

What is the purpose of an operating system's file manager?

  • A Manage CPU scheduling only
  • B Compile programs
  • C Manage network traffic
  • D Organize and manage files and folders
154
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
155
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
156
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
157
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
158
Medium pms Uploaded: 13 Aug 2026

What is the default port number for HTTP?

  • A 443
  • B 21
  • C 80
  • D 25
159
Medium pms Uploaded: 07 Aug 2026

What is the main function of a compiler?

  • A Display graphics
  • B Manage network connections
  • C Convert source code into machine code
  • D Store data permanently
160
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
Practiced MCQs0 / 601