Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

306 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 / 306
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 306 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.
241
Medium ppsc Uploaded: 13 Aug 2026

What is Machine Learning?

  • A A type of hardware
  • B A subset of AI where systems learn from data
  • C Manually programming every rule
  • D A database technique
242
Medium css Uploaded: 07 Aug 2026

Which scheduling algorithm can lead to starvation?

  • A Shortest Job First without priority handling correctly is arguable, but choose SJF
  • B Round Robin
  • C Priority Scheduling
  • D First Come First Serve
243
Medium ppsc Uploaded: 13 Aug 2026

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

  • A Binary Search
  • B Quick Sort
  • C Bubble Sort
  • D Dijkstra's Algorithm
244
Medium pms Uploaded: 23 Aug 2026

What is the function of GitHub?

  • A To browse the internet
  • B To design graphics
  • C To host and manage version-controlled code repositories
  • D To manage databases
245
Medium css pms Uploaded: 20 Jun 2026

What is the main purpose of a database management system (DBMS)?

  • A Create hardware
  • B Manage and organize data
  • C Design websites
  • D Control printers
246
Medium css Uploaded: 09 Aug 2026

Which of the following is a version control system?

  • A Git
  • B Excel
  • C Photoshop
  • D MySQL
247
Medium pms Uploaded: 13 Aug 2026

What is responsive web design?

  • A Design that works only on desktops
  • B A network protocol
  • C A type of database design
  • D Design that adapts to different screen sizes and devices
248
Medium css pms fpsc ppsc nts Uploaded: 01 Jul 2026

What is the full form of "NLP" in Artificial Intelligence and Computer Science?

  • A Numeric Learning Program
  • B Network Layer Protocol
  • C Neural Logic Processing
  • D Natural Language Processing
249
Medium css Uploaded: 23 Aug 2026

Which of the following best defines a computer network?

  • A A collection of interconnected computing devices
  • B A single standalone computer
  • C A programming language
  • D A type of software application
250
Medium css fpsc Uploaded: 20 Jun 2026

Which layer of OSI handles physical transmission of bits?

  • A Network
  • B Transport
  • C Physical
  • D Session
251
Medium ppsc Uploaded: 07 Aug 2026

Which of the following best describes 'recursion' in programming?

  • A A type of variable declaration
  • B A method of sorting arrays
  • C A function calling itself to solve a smaller instance of a problem
  • D A loop that never terminates
252
Medium css fpsc Uploaded: 20 Jun 2026

Which OSI layer is responsible for end-to-end communication?

  • A Network Layer
  • B Data Link Layer
  • C Transport Layer
  • D Session Layer
253
Medium pms Uploaded: 07 Aug 2026

The smallest unit of data in a computer is called?

  • A Nibble
  • B Bit
  • C Byte
  • D Word
254
Medium fpsc ppsc Uploaded: 20 Jun 2026

What is Track Changes used for in Word?

  • A Database management
  • B Reviewing edits
  • C Creating charts
  • D Printing documents
255
Medium ppsc Uploaded: 23 Aug 2026

Which language is primarily used for styling web pages?

  • A SQL
  • B CSS
  • C Python
  • D HTML
256
Medium css fpsc Uploaded: 20 Jun 2026

What is artificial intelligence?

  • A Computer hardware
  • B Simulation of human intelligence by machines
  • C Network design
  • D Database storage
257
Medium fpsc Uploaded: 13 Aug 2026

Which of the following is a function of the 'Mail Merge' feature in Word?

  • A Checking spelling
  • B Creating personalized letters for multiple recipients
  • C Formatting text
  • D Inserting images
258
Medium ppsc Uploaded: 07 Aug 2026

What is the function of RAM in a computer?

  • A Temporarily store data for quick access by the CPU
  • B Display images on the screen
  • C Connect to the internet
  • D Permanently store the operating system
259
Medium fpsc Uploaded: 23 Aug 2026

Which loop is guaranteed to execute at least once?

  • A For loop
  • B Do-while loop
  • C Nested loop
  • D While loop
260
Medium nts Uploaded: 07 Aug 2026

What is the function of an antivirus program?

  • A Create documents
  • B Increase internet speed
  • C Format hard drives
  • D Detect and remove malicious software
Practiced MCQs0 / 306