Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

75 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 / 75
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 75 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.
41
Medium ppsc Uploaded: 23 Aug 2026

What is the purpose of an IDE in programming?

  • A To design databases
  • B To provide a comprehensive environment for writing and testing code
  • C To store backup files
  • D To manage network connections
42
Medium ppsc Uploaded: 13 Aug 2026

Which loop executes at least once regardless of condition?

  • A for loop
  • B if-else
  • C do-while loop
  • D while loop
43
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

Who is widely regarded as the father of Computer Science?

  • A John von Neumann
  • B Alan Turing
  • C Charles Babbage
  • D Bill Gates
44
Medium ppsc Uploaded: 13 Aug 2026

What is the primary function of a compiler's lexical analysis phase?

  • A Design the user interface
  • B Break source code into tokens
  • C Manage memory
  • D Execute machine code
45
Medium ppsc Uploaded: 13 Aug 2026

What is a 'wildcard' character commonly used for in searches?

  • A Representing one or more unknown characters in a search pattern
  • B Formatting text
  • C Compiling code
  • D Encrypting search terms
46
Medium ppsc Uploaded: 13 Aug 2026

Which of the following is a popular version control system?

  • A MySQL
  • B Git
  • C Linux
  • D Apache
47
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

On which tab in Microsoft Word can you find the Header and Footer commands?

  • A Home
  • B References
  • C View
  • D Insert
48
Medium ppsc Uploaded: 09 Aug 2026

What does 'RAM' primarily affect in a computer's performance?

  • A Storage capacity
  • B Screen resolution
  • C Multitasking speed
  • D Battery life
49
Medium ppsc Uploaded: 07 Aug 2026

What is the function of a router in a network?

  • A Display graphical content
  • B Store files permanently
  • C Direct data packets between different networks
  • D Compile program code
50
Medium ppsc Uploaded: 23 Aug 2026

Which of the following is a type of computer network topology?

  • A Firewall
  • B Compiler
  • C Kernel
  • D Mesh
51
Medium ppsc Uploaded: 13 Aug 2026

What is the function of a graphics card?

  • A Render images and video output
  • B Store data permanently
  • C Cool the CPU
  • D Provide internet connection
52
Medium css pms fpsc ppsc nts Uploaded: 01 Jul 2026

Which data structure is primarily used by the Depth-First Search (DFS) algorithm?

  • A Queue
  • B Hash Table
  • C Stack
  • D Heap
53
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

Who co-invented the World Wide Web (WWW) alongside Robert Cailliau?

  • A Tom Berners
  • B Mark Zuckerberg
  • C Tim Berners-Lee
  • D Bill Gates
54
Medium ppsc Uploaded: 07 Aug 2026

Which of the following is an example of system software?

  • A MS Word
  • B Operating System
  • C Google Chrome
  • D Adobe Photoshop
55
Medium ppsc Uploaded: 09 Aug 2026

What is the function of 'RAM slots' on a motherboard?

  • A Connect to internet
  • B Hold memory modules
  • C Store permanent data
  • D Display graphics
56
Medium ppsc Uploaded: 13 Aug 2026

Which of the following best describes 'latency' in networking?

  • A Total data transferred
  • B Delay before data transfer begins
  • C Storage capacity
  • D Number of devices connected
57
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

What is the main purpose of a Firewall in a computer network?

  • A To prevent unauthorized access
  • B To remove all viruses from a computer
  • C To increase internet speed
  • D To store network Data
58
Medium ppsc nts Uploaded: 20 Jun 2026

What is Freeze Panes used for?

  • A Lock worksheet
  • B Keep rows or columns visible
  • C Protect workbook
  • D Hide formulas
59
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
60
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
Practiced MCQs0 / 75