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.
501
Hard nts Uploaded: 23 Aug 2026

What is the purpose of cookies in web browsing?

  • A To store user data for websites
  • B To manage hardware drivers
  • C To compress images
  • D To speed up the CPU
502
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
503
Easy pms Uploaded: 09 Aug 2026

What is the purpose of an algorithm?

  • A Design graphics
  • B Provide step-by-step instructions to solve a problem
  • C Store data permanently
  • D Connect hardware
504
Medium fpsc Uploaded: 13 Aug 2026

Which of the following is a function of the 'Mail Merge' feature in Word?

  • A Checking spelling
  • B Creating personalized letters for multiple recipients
  • C Formatting text
  • D Inserting images
505
Medium ppsc Uploaded: 07 Aug 2026

What is the function of RAM in a computer?

  • A Temporarily store data for quick access by the CPU
  • B Display images on the screen
  • C Connect to the internet
  • D Permanently store the operating system
506
Medium fpsc Uploaded: 23 Aug 2026

Which loop is guaranteed to execute at least once?

  • A For loop
  • B Do-while loop
  • C Nested loop
  • D While loop
507
Easy ppsc nts Uploaded: 20 Jun 2026

Which search algorithm checks each element sequentially?

  • A Binary Search
  • B Linear Search
  • C Interpolation Search
  • D Hash Search
508
Easy nts Uploaded: 13 Aug 2026

What is the purpose of a 'patch' in software?

  • A Format a disk
  • B Create a backup
  • C Fix bugs or security vulnerabilities in software
  • D Add new hardware
509
Easy fpsc Uploaded: 23 Aug 2026

What is the function of an operating system's process scheduler?

  • A To manage network connections
  • B To store files
  • C To display graphics
  • D To determine which process runs on the CPU next
510
Easy fpsc Uploaded: 13 Aug 2026

What is a DDoS attack?

  • A A programming technique
  • B An attack that overwhelms a system with traffic to disrupt service
  • C A backup method
  • D A type of encryption
511
Medium nts Uploaded: 07 Aug 2026

What is the function of an antivirus program?

  • A Create documents
  • B Increase internet speed
  • C Format hard drives
  • D Detect and remove malicious software
512
Hard css Uploaded: 09 Aug 2026

Which of the following is a characteristic of a 'supercomputer'?

  • A Used only for gaming
  • B Limited processing capability
  • C Small size for portability
  • D Extremely high processing power for complex calculations
513
Easy fpsc Uploaded: 13 Aug 2026

Which storage device uses flash memory?

  • A Floppy Disk
  • B CD-ROM
  • C Solid State Drive
  • D Hard Disk Drive
514
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
515
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
516
Medium fpsc nts Uploaded: 20 Jun 2026

What is the purpose of a checksum?

  • A Compress data
  • B Verify data integrity
  • C Increase speed
  • D Encrypt files
517
Medium pms Uploaded: 09 Aug 2026

What is the function of a compiler?

  • A Manage memory
  • B Store data
  • C Connect to internet
  • D Convert source code to machine code
518
Hard css Uploaded: 13 Aug 2026

What is the shortcut key to save a document?

  • A Ctrl+N
  • B Ctrl+S
  • C Ctrl+O
  • D Ctrl+P
519
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
520
Medium css Uploaded: 23 Aug 2026

Which of these is an example of an interpreted language?

  • A C
  • B C++
  • C Java
  • D Python
Practiced MCQs0 / 601