Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

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

What is the main purpose of a database management system (DBMS)?

  • A Create hardware
  • B Manage and organize data
  • C Design websites
  • D Control printers
82
Medium css Uploaded: 09 Aug 2026

Which of the following is a version control system?

  • A Git
  • B Excel
  • C Photoshop
  • D MySQL
83
Medium css pms fpsc ppsc nts Uploaded: 01 Jul 2026

What is the full form of "NLP" in Artificial Intelligence and Computer Science?

  • A Numeric Learning Program
  • B Network Layer Protocol
  • C Neural Logic Processing
  • D Natural Language Processing
84
Medium css Uploaded: 23 Aug 2026

Which of the following best defines a computer network?

  • A A collection of interconnected computing devices
  • B A single standalone computer
  • C A programming language
  • D A type of software application
85
Medium css fpsc Uploaded: 20 Jun 2026

Which layer of OSI handles physical transmission of bits?

  • A Network
  • B Transport
  • C Physical
  • D Session
86
Medium css fpsc Uploaded: 20 Jun 2026

Which OSI layer is responsible for end-to-end communication?

  • A Network Layer
  • B Data Link Layer
  • C Transport Layer
  • D Session Layer
87
Medium css fpsc Uploaded: 20 Jun 2026

What is artificial intelligence?

  • A Computer hardware
  • B Simulation of human intelligence by machines
  • C Network design
  • D Database storage
88
Medium css Uploaded: 23 Aug 2026

Which of the following is an example of a spreadsheet application?

  • A Adobe Photoshop
  • B Google Chrome
  • C Microsoft Word
  • D Microsoft Excel
89
Medium css pms fpsc ppsc nts Uploaded: 22 Jun 2026

What is the default port number for HTTPS?

  • A 21
  • B 25
  • C 80
  • D 443
90
Medium css Uploaded: 23 Aug 2026

Which of these is an example of an interpreted language?

  • A C
  • B C++
  • C Java
  • D Python
91
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
92
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
93
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
94
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
95
Medium css Uploaded: 13 Aug 2026

Which protocol translates domain names to IP addresses?

  • A SMTP
  • B FTP
  • C DHCP
  • D DNS
96
Medium css Uploaded: 13 Aug 2026

Who founded Microsoft?

  • A Steve Jobs
  • B Bill Gates
  • C Larry Page
  • D Mark Zuckerberg
97
Medium css Uploaded: 13 Aug 2026

Which keyword is used to define a function in Python?

  • A define
  • B func
  • C def
  • D function
98
Medium css Uploaded: 23 Aug 2026

What is the purpose of a debugger?

  • A To manage networks
  • B To design databases
  • C To compile programs faster
  • D To identify and fix errors in code
99
Medium css Uploaded: 07 Aug 2026

In computer networks, what does the term 'bandwidth' refer to?

  • A The number of connected devices
  • B The maximum data transfer rate of a network
  • C The color of network cables
  • D The physical length of a cable
100
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
Practiced MCQs0 / 102