Join WhatsApp ChannelDaily MCQs & Exam Updates

Computer Science MCQs

MCQs on Programming, Networking, Database and OS

6 Questions
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
1
Hard css pms

Which algorithm technique divides a problem into smaller subproblems?

  • A Greedy
  • B Divide and Conquer
  • C Brute Force
  • D Backtracking
Permalink
Correct Answer: Option B — Divide and Conquer
Explanation: Divide and Conquer breaks a problem into smaller parts, solves them independently, and combines results.
Submitted by: PaperMCQs
2
Hard css pms

Which normal form eliminates transitive dependencies?

  • A First Normal Form
  • B Second Normal Form
  • C Third Normal Form
  • D Boyce-Codd Normal Form
Permalink
Correct Answer: Option C — Third Normal Form
Explanation: Third Normal Form removes transitive dependencies and improves database consistency.
Submitted by: PaperMCQs
3
Hard css pms

Which programming paradigm focuses on functions and immutability?

  • A Procedural Programming
  • B Object-Oriented Programming
  • C Functional Programming
  • D Assembly Programming
Permalink
Correct Answer: Option C — Functional Programming
Explanation: Functional programming emphasizes pure functions, immutability, and declarative problem solving.
Submitted by: PaperMCQs
4
Hard css fpsc

What is a deadlock in an operating system?

  • A A memory leak
  • B A security attack
  • C A situation where processes wait indefinitely for resources
  • D A file corruption error
Permalink
Correct Answer: Option C — A situation where processes wait indefinitely for resources
Explanation: Deadlock occurs when processes are permanently blocked waiting for resources held by one another.
Submitted by: PaperMCQs
5
Hard css pms

Which topology provides the highest fault tolerance?

  • A Bus
  • B Star
  • C Ring
  • D Mesh
Permalink
Correct Answer: Option D — Mesh
Explanation: Mesh topology offers multiple communication paths between nodes, providing excellent redundancy and fault tolerance.
Submitted by: PaperMCQs
6
Hard css fpsc

Which algorithm is commonly used to find the shortest path in a weighted graph?

  • A Bubble Sort
  • B Dijkstra's Algorithm
  • C Binary Search
  • D Depth First Search
Permalink
Correct Answer: Option B — Dijkstra's Algorithm
Explanation: Dijkstra's Algorithm finds shortest paths in weighted graphs with non-negative edge weights and is widely used in navigation systems.
Submitted by: PaperMCQs