Skip to main content
BharatBoard

Last verified: 28 November 2026 across official school board and government recruitment portals.

BharatBoard is a private, independent guide. It does not represent any government entity and does not provide any government service. Information is summarised from official board and government websites.

Tap any MCQ option to check
Original practice paper. Not an official board paper.Session 2026–27

Cambridge (CAIE) · Class 12 · Set 2

Computer Science

Code 961815 questions20 marks1 hour

Practice for Cambridge 2026-27 examinations, offered in the February-March (India), May-June and October-November series.

Independent practice paper — verify on official board sources

Disclaimer: BharatBoard is an independent student and parent guide — not affiliated with, associated with, or endorsed by any Central Board, State Board, school, educational institution, recruitment commission, or government body, and does not represent any government entity. We recommend that you contact and verify all exam results, date sheets, syllabi, school admission dates, eligibility criteria, fee schedules, scholarships, and government job notifications directly with the respective school, institution, Central Board, State Board, or recruitment body via their official websites and notifications. These questions are original practice items for revision. Follow the official syllabus, the prescribed textbooks, and your school or institution. Model answers are a study aid. They are not an official marking scheme.

Cambridge (CAIE) Class 12 Computer Science, Set 2, is an original BharatBoard revision set of 20 marks. It is shorter than a full board paper. The official syllabus and sample papers on the Cambridge (CAIE) website remain the authority.

Timed Exam Mode

Official 60-minute writing countdown

01:00:00

General instructions & how to use this paper

  1. This revision set has 15 questions and 20 marks. Ten questions are one mark. Five questions are two marks. Attempt every question. A calculator is not needed.
  2. Timing is typical months only — always verify the exact dates on the official board website, which change every session.

Section A

· Multiple-choice questions

Attempt all ten 1-mark questions.

10 marks
Q1

In operating-system virtual memory management, what causes "disk thrashing" and sharp system slowdown?

1 mark

Model answer · Option C

Excessive page-fault interrupts saturate slow disk/SSD I/O channels whenever active working sets exceed physical RAM frames.

Q2

Evaluate the Reverse Polish Notation (postfix) expression `8 5 3 + * 4 -` using a standard stack evaluation algorithm.

1 mark

Model answer · Option B

Stack evaluation computes 5 + 3 = 8, multiplies 8 × 8 = 64, and subtracts 4 to leave 60.

Q3

During compilation of high-level source code, which stage strips whitespace and comments, replaces keywords/identifiers with fixed-length tokens, and starts populating the symbol table?

1 mark

Model answer · Option A

Lexical analysis scans character streams into tokens prior to syntax analysis building parse/abstract syntax trees.

Q4

When Alice sends a digitally signed document to Bob over an insecure network to prove authenticity and non-repudiation (without encrypting the document text itself), which key encrypts the message digest (hash)?

1 mark

Model answer · Option D

Only Alice possesses her private key; successful decryption with Alice’s public key yielding an identical fresh hash proves sender identity and unaltered integrity.

Q5

In Object-Oriented Programming (OOP), why should class attributes be declared `PRIVATE` and accessed only via `PUBLIC` getter and setter methods?

1 mark

Model answer · Option C

Restricting direct attribute mutation preserves class invariants and decouples internal representation from external callers.

Q6

Distinguish OOP "containment" (aggregation/composition) from "inheritance" using a `Car` class and an `Engine` class.

1 mark

Model answer · Option B

Choosing "has-a" composition versus "is-a" subclassing is fundamental to clean object-oriented class design.

Q7

What happens in memory if a recursive function is invoked without a reachable terminating base case?

1 mark

Model answer · Option A

Winding without unwinding grows the call stack monotonically until it exceeds allocated stack space.

Q8

What are the worst-case time complexities in Big-O notation for Binary Search on a sorted array of n items versus Merge Sort on an unsorted array of n items?

1 mark

Model answer · Option D

Binary search halves the search interval each comparison (log₂ n), whereas merge sort recursively splits log₂ n levels doing O(n) merge work per level.

Q9

When traversing a Binary Search Tree (BST) containing distinct integers, which recursive depth-first traversal visits every node in strictly ASCENDING sorted order?

1 mark

Model answer · Option C

Because all left-subtree values < root < all right-subtree values, visiting Left, Root, Right outputs keys in ascending order.

Q10

How does the A* (A-star) pathfinding algorithm improve search efficiency over standard Dijkstra’s shortest-path algorithm on a road-map graph with a known single destination?

1 mark

Model answer · Option B

Minimising f(n) = g(n) + h(n) with a non-overestimating heuristic finds the optimal path while visiting far fewer off-direction vertices.

Section B

· Short-answer questions

Attempt all five 2-mark questions.

10 marks
Q11

Distinguish between paging and segmentation in operating-system memory management.

2 marks

Model answer

Paging divides memory into equal fixed-size physical frames and pages transparent to programmers, whereas segmentation divides memory into variable-sized logical modules matching code subroutines, arrays, and stacks.

Q12

Give two advantages of Reverse Polish Notation (RPN) over standard infix notation for expression evaluation in compilers and stack architectures.

2 marks

Model answer

RPN is completely unambiguous without needing brackets or operator-precedence rules, and expressions evaluate in a single left-to-right pass using a simple hardware/software stack.

Q13

Outline how TLS/SSL combines BOTH asymmetric and symmetric encryption when establishing a secure HTTPS browser session.

2 marks

Model answer

Asymmetric public/private keys and server digital certificates authenticate the server and securely exchange a fresh session key; fast symmetric encryption then encrypts bulk session traffic using that shared key.

Q14

Explain polymorphism in OOP using a base class `Shape` with method `calculateArea()` overridden in subclasses `Circle` and `Rectangle`.

2 marks

Model answer

Calling `s.calculateArea()` on a polymorphic array of `Shape` references dynamically dispatches at runtime to either `Circle`’s `πr²` implementation or `Rectangle`’s `w × h` implementation according to each object’s actual subclass.

Q15

Explain why Backus-Naur Form (BNF) uses recursive production rules (defining an unsigned integer in terms of a digit followed by an unsigned integer) rather than listing every valid integer.

2 marks

Model answer

Recursive production rules finitely and concisely define an infinite set of syntactically valid multi-digit numbers or nested expressions using a handful of terminal and non-terminal symbols.

Official syllabus & blueprint sources

Syllabus scope and question-paper structure were verified against the official portals below, which remain the sole authority.