CSS Computer Science Past Papers

Optional · Group I · code 13 · 200 marks, two papers a year · 8 papers, 2023–2026 · free PDF, no sign-up

Algorithms are the one term in all 8 Computer Science papers held, Paper I and Paper II from 2023 to 2026, with memory in 7 and searching in 6. Processors, instructions and programming each appear in 5, so the papers ask how a machine runs code as often as how code is written. Four years is a short record; the counts will mean more as papers are added.

Written with AI assistance from the counts on this page · see the analysis

What FPSC asks in Computer Science

8 papers read · 2023–2026 · 174 questions (54 written, 120 multiple-choice) · how the counts work

Computer Science: questions on each term in each year's paper
TermPapers23242526Qs
Algorithm 8/82734
Memory 7/82252
Search 6/83533
Instruction 5/81244
Processor 5/81322
Programming 5/81231
Dynamic 5/8222
Stack 5/8221
Agile 4/81113
Algorithms 4/842
Hardware 4/8114
Software development 4/81122
Pointer 4/8212
Coding 4/822
Binary search 3/8123

Year by year

Newest first · main terms per paper

PaperWrittenMCQsMain termsOriginal paper
2026 Paper I 6 20 Agile; Algorithm; Binary search Open
2026 Paper II 6 20 Instruction; Hardware; Processor Open
2025 Paper I 7 20 Search; Algorithm; Binary search Open
2025 Paper II 7 20 Memory; Instruction; Processor Open
2024 Paper I 7 20 Programming; Search; Agile Open
2024 Paper II 7 20 Algorithm; Algorithms; Search Open
2023 Paper I 7 – Agile; Algorithm; Coding Open
2023 Paper II 7 – Search; Algorithm; Coding Open

8 sample questions

As FPSC set them · no answer key exists · all 174 in the search

  1. 2026 Paper I · Q.6 · Algorithm

    (b) A class library contains many book objects. Should this be modeled using inheritance or composition? Why? (c) Demonstrate method overriding using a base class Account and derived class Current Account. Make balance a protected data member. SECTION-B (a) Why is Binary Search not suitable …

  2. 2026 Paper I · Q.8 · Memory

    (b) Explain the difference among lexeme, token, and pattern with examples. (c) Consider the three-address code: t1 = a + b t2 = t1 + c t3 = t2 + d If the machine has only two registers, how should the compiler allocate registers to …

  3. 2023 Paper I · Q.2 · Search

    (a) Write a detailed note on any 03 Super Computing Technologies being used in the world. List key characteristics in each case. (b) What performance metrics are used to analyze the capacity of Super Computers? Discuss. (c) Discuss the role of Web Crawling, Indexing & Searching operations for a Search Engine.

  4. 2026 Paper II · Q.2 · 20 marks · Instruction

    SECTION - A Machine instructions serve as a critical interface between hardware and software. Compare the representation and execution behavior of machine instructions in CISC and RISC based architectures. Evaluate how the instruction-cycle organization shapes the design of the control unit hardwired vs. microprogrammed.

  5. 2026 Paper II · Q.5 · Processor

    their combined use affects the design of the instruction pipeline, the mitigation of control hazards, and the resultant overall processor throughput.

  6. 2026 Paper I · Q.3 · Programming

    (a) What is bit manipulation in programming and why is it used? Give two examples of its use. (b) What are arrays? Describe one advantage and one limitation. (c) Write pseudocode to reverse an array using pointers.

  7. 2023 Paper I · Q.3 · Dynamic

    (a) How does dynamic memory allocation is managed programmatically in a C++ program? Clarify yours understanding through a viable program. (b) Write a note on the use of overloaded operators. Discuss with examples. (c) What is bit twiddling? Give brief description. Q. No. . (a) …

  8. 2023 Paper I · Q.6 · Agile

    (a) Discuss the architecture of aspect-oriented system. (b) Briefly discuss the motivation for aspect-oriented programming. (c) Briefly describe 05 agile software development frameworks.

Related

More from Group I

The rule: One subject carrying 200 marks.

With papers here: Accountancy & Auditing · Economics · Political Science · International Relations · All of Group I · All seven groups · How to use past papers