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.
101
Medium fpsc ppsc Uploaded: 20 Jun 2026

Which scheduling algorithm gives each process a fixed time slice?

  • A FCFS
  • B Round Robin
  • C Shortest Job First
  • D Priority Scheduling
102
Medium nts Uploaded: 13 Aug 2026

What is two-factor authentication?

  • A A backup method
  • B Using two passwords only
  • C A type of firewall
  • D A security process requiring two forms of verification
103
Medium nts Uploaded: 13 Aug 2026

Which of the following describes 'many-to-many' relationship in a database?

  • A One record relates to one record only
  • B One record relates to many records only
  • C Multiple records in one table relate to multiple in another
  • D No relationship exists
104
Medium css pms Uploaded: 20 Jun 2026

Which Excel reference remains fixed when copied?

  • A Relative Reference
  • B Mixed Reference
  • C Absolute Reference
  • D Dynamic Reference
105
Medium pms Uploaded: 13 Aug 2026

What is the purpose of a 'checksum'?

  • A Verify data integrity during transmission
  • B Encrypt files
  • C Compress data
  • D Increase network speed
106
Medium ppsc Uploaded: 07 Aug 2026

Which of the following is a type of computer network covering a small geographic area?

  • A MAN
  • B GAN
  • C WAN
  • D LAN
107
Medium nts Uploaded: 23 Aug 2026

Which generation of computers introduced microprocessors?

  • A First
  • B Third
  • C Fourth
  • D Second
108
Medium css Uploaded: 13 Aug 2026

What is the purpose of a CAPTCHA?

  • A Encrypt data
  • B Backup files
  • C Distinguish humans from bots
  • D Speed up browsing
109
Medium css fpsc Uploaded: 20 Jun 2026

Which cyberattack encrypts files and demands payment?

  • A Spyware
  • B Ransomware
  • C Adware
  • D Trojan
110
Medium fpsc Uploaded: 09 Aug 2026

What is the function of a router?

  • A Print documents
  • B Display images
  • C Connect multiple networks and direct data traffic
  • D Store data
111
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

Which protocol is commonly used to create a secure and encrypted communication channel over the Internet?

  • A HTTPS (SSL/TLS)
  • B FTP
  • C DHCP
  • D Telnet
112
Medium fpsc Uploaded: 23 Aug 2026

Which file extension is used for Microsoft Excel files?

  • A .txt
  • B .pptx
  • C .xlsx
  • D .docx
113
Medium pms Uploaded: 23 Aug 2026

What is the purpose of a sitemap on a website?

  • A To compress images
  • B To display advertisements
  • C To store user passwords
  • D To help search engines index website pages
114
Medium ppsc Uploaded: 13 Aug 2026

What is an IDE in programming?

  • A Integrated Development Environment
  • B Integrated Data Engine
  • C Interconnected Device Environment
  • D Internal Data Exchange
115
Medium fpsc Uploaded: 07 Aug 2026

Which of the following is an output device?

  • A Monitor
  • B Keyboard
  • C Scanner
  • D Mouse
116
Medium css Uploaded: 09 Aug 2026

What does 'VPN' stand for?

  • A Virtual Private Network
  • B Virtual Public Network
  • C Virtual Protocol Network
  • D Verified Private Network
117
Medium pms Uploaded: 13 Aug 2026

Which of the following best describes 'firmware'?

  • A Software permanently programmed into hardware
  • B A network protocol
  • C Application software
  • D A type of virus
118
Medium fpsc Uploaded: 09 Aug 2026

Which of the following protocols is used to send emails?

  • A SNMP
  • B SMTP
  • C HTTP
  • D FTP
119
Medium css pms Uploaded: 20 Jun 2026

Which data structure follows the Last In First Out (LIFO) principle?

  • A Queue
  • B Array
  • C Stack
  • D Linked List
120
Medium css Uploaded: 13 Aug 2026

Which of the following is used to structure content on a webpage?

  • A JavaScript
  • B Python
  • C HTML
  • D CSS
Practiced MCQs0 / 306