Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

162 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 / 162
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 162 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.
141
Easy fpsc Uploaded: 07 Aug 2026

Which data structure is most efficient for implementing a priority queue?

  • A Simple Linked List
  • B Stack
  • C Array
  • D Heap
142
Easy fpsc Uploaded: 13 Aug 2026

Which data structure uses LIFO (Last In First Out)?

  • A Array
  • B Linked List
  • C Queue
  • D Stack
143
Medium fpsc Uploaded: 09 Aug 2026

Which of the following is used to uniquely identify a computer on a network?

  • A URL
  • B IP Address
  • C Browser
  • D HTML tag
144
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

Which sorting algorithm generally provides the best average-case performance for large datasets?

  • A Quick Sort
  • B Merge Sort
  • C Bubble Sort
  • D Selection Sort
145
Medium fpsc nts Uploaded: 20 Jun 2026

Which SQL clause is used to filter rows before grouping?

  • A HAVING
  • B GROUP BY
  • C WHERE
  • D ORDER BY
146
Easy fpsc Uploaded: 23 Aug 2026

What is a foreign key in a database?

  • A A field that must be unique
  • B A type of index
  • C A field that cannot contain data
  • D A field that links to the primary key of another table
147
Easy fpsc ppsc nts Uploaded: 18 Jun 2026

What is the full form of HTML?

  • A Hyper Text Markup Language
  • B High Text Making Language
  • C Hyper Transfer Markup Language
  • D High Technology Markup Language
148
Medium fpsc Uploaded: 09 Aug 2026

What does IP stand for in networking?

  • A Internal Protocol
  • B Internet Provider
  • C Interconnected Protocol
  • D Internet Protocol
149
Easy fpsc nts Uploaded: 20 Jun 2026

Which protocol is primarily used for sending emails over the Internet?

  • A HTTP
  • B SMTP
  • C FTP
  • D DNS
150
Easy fpsc Uploaded: 23 Aug 2026

What is the function of a linker in programming?

  • A To manage memory allocation
  • B To design user interfaces
  • C To debug source code
  • D To combine object files into a single executable
151
Easy fpsc Uploaded: 07 Aug 2026

What is the primary purpose of version control systems like Git?

  • A Track and manage changes to source code over time
  • B Encrypt sensitive data
  • C Design user interfaces
  • D Compile programs into executables
152
Easy fpsc nts Uploaded: 20 Jun 2026

What is the role of DNS in networking?

  • A Assign IP addresses
  • B Translate domain names to IP addresses
  • C Transfer files
  • D Encrypt network traffic
153
Easy fpsc Uploaded: 13 Aug 2026

What is the purpose of a flowchart?

  • A Visually represent the steps of an algorithm
  • B Manage databases
  • C Compile code
  • D Store data
154
Medium fpsc Uploaded: 09 Aug 2026

Which of the following is not a programming language?

  • A Java
  • B Python
  • C Excel
  • D HTML
155
Medium fpsc Uploaded: 13 Aug 2026

What is the main advantage of Agile methodology?

  • A No customer involvement
  • B Flexibility and iterative development
  • C Rigid planning
  • D Long release cycles
156
Medium css fpsc Uploaded: 20 Jun 2026

What is the primary purpose of normalization in relational databases?

  • A Increase redundancy
  • B Reduce redundancy
  • C Increase storage space
  • D Improve graphics rendering
157
Medium fpsc Uploaded: 23 Aug 2026

Which of the following is a strong password practice?

  • A Using the same password everywhere
  • B Using a mix of letters, numbers, and symbols
  • C Using your birthdate
  • D Using the word password
158
Medium fpsc ppsc Uploaded: 20 Jun 2026

What is the purpose of Slide Master in PowerPoint?

  • A Print slides
  • B Control overall slide design
  • C Insert videos
  • D Check spelling
159
Easy fpsc Uploaded: 13 Aug 2026

What is the function of a motherboard?

  • A Store files permanently
  • B Display graphics only
  • C Provide internet access
  • D Connect and allow communication between hardware components
160
Easy fpsc nts Uploaded: 20 Jun 2026

What is the full form of VPN?

  • A Virtual Private Network
  • B Verified Public Network
  • C Virtual Program Node
  • D Visual Private Node
Practiced MCQs0 / 162