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.
21
Medium css Uploaded: 13 Aug 2026

What does phishing typically try to steal?

  • A Software licenses
  • B Network bandwidth
  • C Sensitive personal information
  • D Hardware components
22
Medium css Uploaded: 09 Aug 2026

Which generation of computers used transistors?

  • A Third
  • B First
  • C Fourth
  • D Second
23
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

Why are Headers and Footers added to a document in MS Word?

  • A To mark the beginning of a page
  • B To improve the document's appearance
  • C To display repeating information such as page numbers, dates, and titles on printed pages
  • D To make a document easier to read
24
Medium css Uploaded: 23 Aug 2026

What is polymorphism in OOP?

  • A A type of loop structure
  • B A database normalization technique
  • C A network security protocol
  • D Ability of objects to take multiple forms
25
Medium css pms Uploaded: 20 Jun 2026

What is the purpose of a foreign key?

  • A Store passwords
  • B Identify duplicate records
  • C Create relationships between tables
  • D Encrypt database contents
26
Medium css Uploaded: 07 Aug 2026

Which of these is a social media platform?

  • A Adobe Photoshop
  • B VLC Media Player
  • C MS Word
  • D Facebook
27
Medium css fpsc Uploaded: 20 Jun 2026

Which protocol is used to securely transfer files over SSH?

  • A FTP
  • B TFTP
  • C SFTP
  • D SMTP
28
Medium css Uploaded: 09 Aug 2026

Which of these is a type of computer virus?

  • A Firewall
  • B Trojan Horse
  • C Antivirus
  • D Router
29
Medium css Uploaded: 13 Aug 2026

What is ransomware?

  • A A backup tool
  • B Malware that locks data and demands payment
  • C An antivirus program
  • D Free software
30
Medium css pms fpsc ppsc nts Uploaded: 25 Jun 2026

Which memory type is most commonly used to store firmware in embedded systems?

  • A RAM
  • B Virtual Memory
  • C Cache Memory
  • D ROM
31
Medium css Uploaded: 13 Aug 2026

What is a variable in programming?

  • A A named storage location for data
  • B A function name
  • C A fixed value
  • D A type of loop
32
Medium css fpsc Uploaded: 20 Jun 2026

What is the purpose of a compiler?

  • A Execute programs directly
  • B Translate source code into machine code
  • C Store data permanently
  • D Manage networks
33
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
34
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
35
Medium css fpsc Uploaded: 20 Jun 2026

Which cyberattack encrypts files and demands payment?

  • A Spyware
  • B Ransomware
  • C Adware
  • D Trojan
36
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
37
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
38
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
39
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
40
Medium css Uploaded: 13 Aug 2026

What is the primary function of a firewall?

  • A Compress files
  • B Speed up internet
  • C Store data
  • D Block unauthorized access
Practiced MCQs0 / 102