Join WhatsApp ChannelDaily MCQs & Exam Updates

CSS MCQs

Civil Superior Services β€” Complete MCQ Bank

899 Questions
Exam Preparation Guide

How to prepare for CSS

CSS is Pakistan’s premier federal competitive examination. Strong preparation requires conceptual clarity, broad general knowledge and consistent practice across compulsory and optional areas.

Pakistan AffairsCurrent AffairsEnglishEveryday Science
Combine daily MCQ practice with analytical reading, vocabulary building and regular revision of national and international affairs.
CSS preparation illustration
851

What is the primary purpose of normalization in relational databases?

  • AIncrease redundancy
  • BReduce redundancy
  • CIncrease storage space
  • DImprove graphics rendering
Permalink
Correct Answer: Option B β€” Reduce redundancy
Explanation: Normalization organizes data into structured tables to minimize redundancy and dependency issues. It improves data integrity, reduces update anomalies, and makes databases easier to maintain and scale in real-world applications.
Submitted by: PaperMCQs
852

Which data structure is most suitable for implementing recursion?

  • AQueue
  • BArray
  • CStack
  • DHeap
Permalink
Correct Answer: Option C β€” Stack
Explanation: Recursion relies on the call stack to store function calls, local variables, and return addresses. Every recursive call creates a new stack frame, which is removed when the function returns. This makes the stack the fundamental data structure behind recursion.
Submitted by: PaperMCQs
853

What is the purpose of a firewall?

  • AIncrease processor speed
  • BProtect networks from unauthorized access
  • CStore files permanently
  • DCompress data
Permalink
Correct Answer: Option B β€” Protect networks from unauthorized access
Explanation: A firewall monitors and filters network traffic according to predefined security rules. It acts as a barrier between trusted and untrusted networks, helping prevent unauthorized access and cyberattacks.
Submitted by: PaperMCQs
854

What is encapsulation in object-oriented programming?

  • ACombining data and methods into a single unit
  • BCreating multiple classes
  • CExecuting parallel processes
  • DAllocating memory dynamically
Permalink
Correct Answer: Option A β€” Combining data and methods into a single unit
Explanation: Encapsulation is the process of bundling data and methods within a class while restricting direct access to internal details. It improves modularity, maintainability, and security by controlling how data is accessed and modified.
Submitted by: PaperMCQs
855

What is the time complexity of Binary Search in the worst case?

  • AO(n)
  • BO(log n)
  • CO(nΒ²)
  • DO(1)
Permalink
Correct Answer: Option B β€” O(log n)
Explanation: Binary Search repeatedly divides a sorted dataset into halves until the target value is found or determined absent. Because the search space is halved each step, the worst-case time complexity is logarithmic, O(log n).
Submitted by: PaperMCQs
856

Which layer of the OSI model is responsible for routing packets?

  • ATransport Layer
  • BNetwork Layer
  • CSession Layer
  • DPresentation Layer
Permalink
Correct Answer: Option B β€” Network Layer
Explanation: The Network Layer is responsible for logical addressing and routing of packets between networks. Protocols such as IP operate at this layer, enabling data to travel across interconnected networks efficiently.
Submitted by: PaperMCQs
857

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

  • AQueue
  • BArray
  • CStack
  • DLinked List
Permalink
Correct Answer: Option C β€” Stack
Explanation: A stack follows the Last In First Out principle, meaning the most recently added element is removed first. Stacks are widely used in function calls, recursion, expression evaluation, and memory management.
Submitted by: PaperMCQs
858

Which city became the first capital of the Islamic state after Hijrah?

  • ATaif
  • BMakkah
  • CMadinah
  • DJerusalem
Permalink
Correct Answer: Option C β€” Madinah
Explanation: After the Hijrah, Prophet Muhammad (PBUH) established the first Islamic state in Madinah which became the center of Islamic governance and society.
Submitted by: PaperMCQs
859

What is the Arabic term for compulsory charity in Islam?

  • ASadaqah
  • BZakat
  • CFitrana
  • DKhairat
Permalink
Correct Answer: Option B β€” Zakat
Explanation: Zakat is a compulsory form of charity and one of the five pillars of Islam intended to help the poor and purify wealth.
Submitted by: PaperMCQs
860

Which angel brought revelations to the Prophet Muhammad (PBUH)?

  • AMikail (AS)
  • BIsrafil (AS)
  • CJibreel (AS)
  • DIzrail (AS)
Permalink
Correct Answer: Option C β€” Jibreel (AS)
Explanation: Angel Jibreel (AS) was responsible for bringing Allah's revelations to Prophet Muhammad (PBUH) over a period of twenty-three years.
Submitted by: PaperMCQs