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

Which protocol translates domain names to IP addresses?

  • A SMTP
  • B FTP
  • C DHCP
  • D DNS
542
Easy fpsc Uploaded: 23 Aug 2026

What is a foreign key in a database?

  • A A field that must be unique
  • B A type of index
  • C A field that cannot contain data
  • D A field that links to the primary key of another table
543
Medium css Uploaded: 13 Aug 2026

Who founded Microsoft?

  • A Steve Jobs
  • B Bill Gates
  • C Larry Page
  • D Mark Zuckerberg
544
Easy nts Uploaded: 07 Aug 2026

Which key is used to delete a character to the left of the cursor?

  • A Backspace
  • B Enter
  • C Delete
  • D Tab
545
Easy nts Uploaded: 09 Aug 2026

What is the purpose of a 'loop' in programming?

  • A Design interfaces
  • B Connect to internet
  • C Store data
  • D Repeat a block of code multiple times
546
Medium nts Uploaded: 13 Aug 2026

What is bandwidth throttling?

  • A Intentionally slowing down internet speed
  • B Increasing internet speed permanently
  • C Storing data in cache
  • D Encrypting network traffic
547
Medium nts Uploaded: 23 Aug 2026

What is the function of an operating system's file system?

  • A To process graphics
  • B To connect to the internet
  • C To organize and manage data storage on disks
  • D To manage printers
548
Easy fpsc ppsc nts Uploaded: 18 Jun 2026

What is the full form of HTML?

  • A Hyper Text Markup Language
  • B High Text Making Language
  • C Hyper Transfer Markup Language
  • D High Technology Markup Language
549
Easy nts Uploaded: 20 Jun 2026

What does Ctrl+Home do in Excel?

  • A Go to first worksheet
  • B Go to cell A1
  • C Open Home tab
  • D Save workbook
550
Medium fpsc Uploaded: 09 Aug 2026

What does IP stand for in networking?

  • A Internal Protocol
  • B Internet Provider
  • C Interconnected Protocol
  • D Internet Protocol
551
Easy css Uploaded: 13 Aug 2026

What is social engineering in cybersecurity?

  • A A hardware design technique
  • B Manipulating people into revealing confidential information
  • C A network protocol
  • D A type of encryption
552
Easy nts Uploaded: 07 Aug 2026

What is the primary purpose of an IP protocol version 6 (IPv6) over IPv4?

  • A Provide a larger address space
  • B Reduce internet speed
  • C Eliminate the need for DNS
  • D Remove security features
553
Easy nts Uploaded: 23 Aug 2026

Which key uniquely identifies a record in a database table?

  • A Primary Key
  • B Candidate Key
  • C Composite Key
  • D Foreign Key
554
Easy fpsc nts Uploaded: 20 Jun 2026

Which protocol is primarily used for sending emails over the Internet?

  • A HTTP
  • B SMTP
  • C FTP
  • D DNS
555
Hard ppsc Uploaded: 13 Aug 2026

What does ACID stand for in database transactions?

  • A Atomicity, Consistency, Isolation, Durability
  • B Atomic, Complete, Isolated, Direct
  • C Access, Control, Integrity, Data
  • D Accuracy, Consistency, Integrity, Data
556
Easy fpsc Uploaded: 23 Aug 2026

What is the function of a linker in programming?

  • A To manage memory allocation
  • B To design user interfaces
  • C To debug source code
  • D To combine object files into a single executable
557
Easy nts Uploaded: 20 Jun 2026

Which protocol is used to automatically obtain network configuration information?

  • A HTTP
  • B DHCP
  • C DNS
  • D SSH
558
Medium pms Uploaded: 13 Aug 2026

Which port is commonly used to connect a printer?

  • A USB
  • B Ethernet
  • C VGA
  • D HDMI
559
Easy fpsc Uploaded: 07 Aug 2026

What is the primary purpose of version control systems like Git?

  • A Track and manage changes to source code over time
  • B Encrypt sensitive data
  • C Design user interfaces
  • D Compile programs into executables
560
Medium ppsc Uploaded: 23 Aug 2026

Which of the following best defines a Trojan horse in computing?

  • A A hardware upgrade
  • B A type of firewall
  • C A network cable
  • D Malware disguised as legitimate software
Practiced MCQs0 / 601