Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

140 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 / 140
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 140 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.
81
Easy fpsc ppsc Uploaded: 20 Jun 2026

Which device is responsible for connecting different networks together?

  • A Switch
  • B Hub
  • C Router
  • D Repeater
82
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
83
Easy ppsc Uploaded: 09 Aug 2026

Which data type is used to store true/false values in programming?

  • A Boolean
  • B Float
  • C String
  • D Integer
84
Easy ppsc Uploaded: 13 Aug 2026

What is Big Data?

  • A A database software
  • B A type of virus
  • C Small datasets
  • D Extremely large and complex datasets
85
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
86
Easy ppsc Uploaded: 07 Aug 2026

Which of the following is a relational database management system?

  • A Photoshop
  • B MySQL
  • C Windows Media Player
  • D MS Word
87
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
88
Easy fpsc ppsc Uploaded: 09 Aug 2026

What does 'LAN' stand for?

  • A Long Area Network
  • B Large Area Network
  • C Local Area Network
  • D Local Access Network
89
Easy ppsc nts Uploaded: 20 Jun 2026

Which protocol is used to automatically assign IP addresses to devices on a network?

  • A DNS
  • B DHCP
  • C SMTP
  • D SNMP
90
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
91
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
92
Medium ppsc Uploaded: 13 Aug 2026

Which of the following is a popular version control system?

  • A MySQL
  • B Git
  • C Linux
  • D Apache
93
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
94
Easy ppsc Uploaded: 09 Aug 2026

Which of the following is an example of a text editor?

  • A Notepad
  • B Excel
  • C PowerPoint
  • D Photoshop
95
Easy ppsc nts Uploaded: 20 Jun 2026

What does GUI stand for?

  • A General User Interface
  • B Graphical User Interface
  • C Graphic Utility Integration
  • D Global User Internet
96
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
97
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
98
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
99
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
100
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
Practiced MCQs0 / 140