Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

77 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 / 77
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 77 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.
1
Medium pms Uploaded: 13 Aug 2026

What is the main function of an operating system?

  • A Manage hardware and software resources
  • B Compile programs
  • C Write documents
  • D Design websites
2
Medium pms Uploaded: 23 Aug 2026

What does HTTP status code 200 indicate?

  • A Page not found
  • B Bad request
  • C Successful request
  • D Server error
3
Medium css pms fpsc ppsc nts Uploaded: 01 Jul 2026

What does "GPT" stand for in ChatGPT?

  • A Global Prediction Technique
  • B Generative Pre-trained Transforme
  • C General Processing Tool
  • D Graphical Pattern Tracke
4
Medium pms Uploaded: 13 Aug 2026

What does Wi-Fi stand for?

  • A Wireless Fidelity
  • B Wireless Field
  • C Wireless Finder
  • D Wide Fidelity
5
Medium css pms Uploaded: 20 Jun 2026

What is a macro in MS Office?

  • A Database
  • B Automated task sequence
  • C Chart type
  • D Network protocol
6
Medium pms Uploaded: 09 Aug 2026

What is the binary equivalent of decimal number 10?

  • A 1010
  • B 1100
  • C 1011
  • D 1001
7
Medium pms Uploaded: 23 Aug 2026

How many bits make one byte?

  • A 8
  • B 16
  • C 4
  • D 2
8
Medium pms ppsc Uploaded: 07 Aug 2026

Which of the following best describes 'Big Data'?

  • A A programming language
  • B A small database table
  • C Extremely large and complex data sets
  • D A type of computer virus
9
Medium pms Uploaded: 23 Aug 2026

Which HTML tag is used to define the largest heading?

  • A <h6>
  • B <h1>
  • C <header>
  • D <head>
10
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
11
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
12
Medium pms Uploaded: 07 Aug 2026

What does SQL stand for?

  • A Structured Question Language
  • B Simple Query Language
  • C Structured Query Language
  • D System Query Language
13
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
14
Medium pms Uploaded: 23 Aug 2026

What is the function of the CPU's ALU?

  • A To manage memory addresses
  • B To connect peripherals
  • C To perform arithmetic and logical operations
  • D To store instructions
15
Medium pms Uploaded: 23 Aug 2026

Which of the following best describes an e-commerce website?

  • A A search engine
  • B A platform for buying and selling goods online
  • C An operating system
  • D A social networking site
16
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
17
Medium css pms Uploaded: 20 Jun 2026

What is the purpose of a foreign key?

  • A Store passwords
  • B Identify duplicate records
  • C Create relationships between tables
  • D Encrypt database contents
18
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)
19
Medium pms Uploaded: 13 Aug 2026

What is the default port number for HTTP?

  • A 443
  • B 21
  • C 80
  • D 25
20
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
Practiced MCQs0 / 77