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.
21
Medium css Uploaded: 07 Aug 2026

What is the main advantage of using a linked list over an array?

  • A Dynamic size allocation
  • B Faster random access
  • C Less memory usage always
  • D Simpler syntax
22
Medium ppsc Uploaded: 23 Aug 2026

Which data structure follows the LIFO principle?

  • A Queue
  • B Array
  • C Stack
  • D Linked List
23
Medium pms Uploaded: 23 Aug 2026

How many bits make one byte?

  • A 8
  • B 16
  • C 4
  • D 2
24
Medium ppsc Uploaded: 09 Aug 2026

What is the full form of 'JPEG'?

  • A Joint Picture Export Group
  • B Java Photo Expert Group
  • C Joint Photographic Experts Group
  • D Java Picture Experts Group
25
Medium css Uploaded: 13 Aug 2026

Which of these is a Data Definition Language (DDL) command?

  • A SELECT
  • B INSERT
  • C CREATE
  • D UPDATE
26
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
27
Medium fpsc ppsc Uploaded: 20 Jun 2026

What is the primary purpose of RAID technology?

  • A Increase screen resolution
  • B Improve storage performance and reliability
  • C Enhance processor speed
  • D Manage network traffic
28
Medium fpsc Uploaded: 07 Aug 2026

Which programming language is primarily used for web page structure?

  • A HTML
  • B Python
  • C C++
  • D Java
29
Medium fpsc Uploaded: 09 Aug 2026

Which of the following is a common use of 'machine learning'?

  • A Predictive analytics and pattern recognition
  • B Manual data entry
  • C Cable installation
  • D Physical hardware repair
30
Medium nts Uploaded: 13 Aug 2026

Which shortcut key is used to select all content in a document?

  • A Ctrl+A
  • B Ctrl+P
  • C Ctrl+F
  • D Ctrl+S
31
Medium css Uploaded: 07 Aug 2026

Which design pattern ensures a class has only one instance?

  • A Factory
  • B Singleton
  • C Observer
  • D Adapter
32
Medium ppsc Uploaded: 23 Aug 2026

Which number system uses only 0 and 1?

  • A Hexadecimal
  • B Octal
  • C Decimal
  • D Binary
33
Medium css fpsc Uploaded: 20 Jun 2026

What is the purpose of a firewall?

  • A Increase processor speed
  • B Protect networks from unauthorized access
  • C Store files permanently
  • D Compress data
34
Medium css Uploaded: 13 Aug 2026

What is recursion in programming?

  • A A syntax error
  • B A type of variable
  • C A function calling itself
  • D A loop that never ends
35
Medium fpsc Uploaded: 23 Aug 2026

What is the term for the physical components of a computer?

  • A Firmware
  • B Software
  • C Hardware
  • D Middleware
36
Medium ppsc Uploaded: 09 Aug 2026

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

  • A Encryption
  • B Antivirus
  • C Firewall
  • D Phishing
37
Medium ppsc Uploaded: 13 Aug 2026

What is version control used for?

  • A Compiling programs
  • B Formatting code
  • C Designing interfaces
  • D Tracking and managing changes to code over time
38
Medium ppsc Uploaded: 23 Aug 2026

What is bandwidth in networking?

  • A The number of devices connected
  • B The physical length of a cable
  • C The maximum data transfer rate of a network
  • D The type of network topology
39
Medium nts Uploaded: 13 Aug 2026

What is a computer virus?

  • A An antivirus tool
  • B A network protocol
  • C A self-replicating malicious program
  • D A hardware component
40
Medium pms Uploaded: 23 Aug 2026

Which HTML tag is used to define the largest heading?

  • A <h6>
  • B <h1>
  • C <header>
  • D <head>
Practiced MCQs0 / 306