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.
181
Medium pms Uploaded: 09 Aug 2026

Which programming language is primarily used for statistical computing?

  • A R
  • B Java
  • C C++
  • D PHP
182
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
183
Medium fpsc Uploaded: 07 Aug 2026

Which of the following best describes object-oriented programming?

  • A Programming that avoids functions
  • B Programming without variables
  • C Programming using only numbers
  • D Programming based on objects containing data and methods
184
Medium css Uploaded: 23 Aug 2026

Which device converts analog signals to digital signals?

  • A Router
  • B ADC
  • C DAC
  • D Modem
185
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
186
Medium css fpsc Uploaded: 20 Jun 2026

Which database operation removes a table completely?

  • A DELETE
  • B REMOVE
  • C DROP
  • D CLEAR
187
Medium ppsc Uploaded: 13 Aug 2026

Which of the following is a popular version control system?

  • A MySQL
  • B Git
  • C Linux
  • D Apache
188
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
189
Medium css fpsc Uploaded: 20 Jun 2026

Which of the following is a NoSQL database?

  • A Oracle
  • B MySQL
  • C MongoDB
  • D PostgreSQL
190
Medium nts Uploaded: 23 Aug 2026

What is the function of an operating system's device driver?

  • A To store user files
  • B To manage network security
  • C To browse the internet
  • D To enable communication between OS and hardware devices
191
Medium nts Uploaded: 13 Aug 2026

What is the purpose of the 'return' statement in a function?

  • A End the program
  • B Start a loop
  • C Declare a variable
  • D Send a value back to the caller
192
Medium fpsc Uploaded: 23 Aug 2026

What is the purpose of a VPN?

  • A To increase screen resolution
  • B To store files
  • C To manage printers
  • D To create a secure encrypted connection over a network
193
Medium nts Uploaded: 13 Aug 2026

What does AI stand for?

  • A Advanced Integration
  • B Artificial Intelligence
  • C Automated Interface
  • D Applied Informatics
194
Medium nts Uploaded: 07 Aug 2026

Which normal form deals with removing partial dependency on a composite primary key?

  • A Third Normal Form (3NF)
  • B Second Normal Form (2NF)
  • C First Normal Form (1NF)
  • D Boyce-Codd Normal Form (BCNF)
195
Medium css fpsc Uploaded: 20 Jun 2026

What is the time complexity of Binary Search in the worst case?

  • A O(n)
  • B O(log n)
  • C O(n²)
  • D O(1)
196
Medium nts Uploaded: 13 Aug 2026

What does MS Word primarily deal with?

  • A Spreadsheets
  • B Presentations
  • C Database management
  • D Word processing
197
Medium css fpsc Uploaded: 20 Jun 2026

Which programming language is commonly used for data analysis and machine learning?

  • A COBOL
  • B Python
  • C Pascal
  • D Fortran
198
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
199
Medium fpsc Uploaded: 13 Aug 2026

What is an API?

  • A Application Programming Interface
  • B Application Process Integration
  • C Automated Programming Instruction
  • D Advanced Program Interaction
200
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
Practiced MCQs0 / 306