Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

601 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 / 601
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 601 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.
521
Medium css pms Uploaded: 20 Jun 2026

What is encapsulation in object-oriented programming?

  • A Combining data and methods into a single unit
  • B Creating multiple classes
  • C Executing parallel processes
  • D Allocating memory dynamically
522
Easy pms Uploaded: 13 Aug 2026

Which of the following is a markup language, not a programming language?

  • A C++
  • B Python
  • C HTML
  • D Java
523
Medium nts Uploaded: 23 Aug 2026

What is the function of a switch in networking?

  • A To direct data only to the intended device
  • B To broadcast data to all devices
  • C To provide internet access
  • D To store files
524
Easy css Uploaded: 09 Aug 2026

What is the function of a web browser?

  • A Access and display web pages
  • B Compile code
  • C Store files permanently
  • D Manage hardware
525
Medium css Uploaded: 13 Aug 2026

What is the purpose of a proxy server?

  • A Store files permanently
  • B Design web pages
  • C Compile programs
  • D Act as an intermediary between a client and server
526
Medium nts Uploaded: 07 Aug 2026

What is the main advantage of using SSD over HDD?

  • A Higher power consumption
  • B Larger physical size
  • C Faster data access speed
  • D Lower cost per gigabyte
527
Easy pms Uploaded: 23 Aug 2026

What is application software?

  • A A hardware component
  • B Software that manages hardware
  • C Software designed to perform specific user tasks
  • D A type of network protocol
528
Easy nts Uploaded: 20 Jun 2026

Which Excel symbol is used to begin a formula?

  • A #
  • B @
  • C =
  • D $
529
Medium ppsc Uploaded: 13 Aug 2026

What is a kernel?

  • A A hardware component
  • B A type of virus
  • C An application software
  • D Core part of an operating system
530
Medium pms Uploaded: 13 Aug 2026

Which of the following is an example of secondary storage?

  • A RAM
  • B Register
  • C Hard Disk
  • D Cache
531
Medium css Uploaded: 07 Aug 2026

Which sorting algorithm has the best average-case time complexity among these?

  • A Selection Sort
  • B Bubble Sort
  • C Quick Sort
  • D Insertion Sort
532
Easy fpsc Uploaded: 13 Aug 2026

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

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

What is a hyperlink?

  • A A database key
  • B A clickable link that navigates to another resource
  • C A hardware component
  • D A type of virus
534
Easy nts Uploaded: 20 Jun 2026

Which Excel function returns the smallest value in a range?

  • A MAX()
  • B MIN()
  • C LOW()
  • D SMALL()
535
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
536
Medium pms Uploaded: 13 Aug 2026

How many bits does Unicode UTF-16 typically use per character?

  • A 32
  • B 16
  • C 8
  • D 64
537
Hard nts Uploaded: 07 Aug 2026

Which of the following best describes 'multithreading'?

  • A Running multiple operating systems simultaneously
  • B Connecting multiple computers via a network
  • C Executing multiple threads concurrently within a single process
  • D Storing data across multiple hard drives
538
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
539
Easy css Uploaded: 23 Aug 2026

Which key combination is used to undo an action?

  • A Ctrl+U
  • B Ctrl+Z
  • C Ctrl+X
  • D Ctrl+Y
540
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
Practiced MCQs0 / 601