★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
ISC Class 12 · Computer Science 868 · 2027 preparation
A list of ISC Class 12 computer science important questions is only useful if you know where each kind is asked and what it earns. So the pattern comes first: what every question number has asked in the two CISCE specimens we read. After it come our own questions, section by section, with answers you can open one at a time.
34 short questions and 5 programs with answers · pattern read from the 2024 and 2025 specimens · practised one to one
Start here
Questions find the gap; a course fills it. Choose by the section that gave you the most trouble.

Sections A to C
Two school years with separate ISC lessons in Java: Boolean algebra, recursion, inheritance, linked lists, trees and the 30-mark practical.
Open the course →
Section B
If tracing is slow, the cause is usually too few programs written. This course has a student write them from the first lesson.
Open the course →
Section C and after
Takes the ideas of Section C into interview territory, with complexity worked out for each structure.
Open the course →Ans. The short version
The most important ISC Class 12 computer science questions follow the paper's own shape: a story turned into a truth table and Karnaugh map, a POS reduction, reading a circuit, one class each on strings, arrays and recursion, a queue-like structure, a subclass, and a binary tree. That is what the CISCE 2024 and 2025 specimens share. The paper has 70 marks: 20 compulsory, then any two questions from each of three sections. Below is an original bank with answers. Our teachers practise it with one student at a time, and a priority demo shows you how.
Q1. How is the paper built?
Paper 1 has 70 marks and three hours. Part I (20 marks) is compulsory, and Part II (50 marks) has three sections in which you answer any two questions out of three. Both specimens we read, 2024 and 2025, follow this.
| Question | Marks | 2024 specimen | 2025 specimen |
|---|---|---|---|
| 1 | 10 | Ten parts: 4 multiple choice, 2 assertion and reason, 4 short | Ten parts: 5 multiple choice, 3 assertion and reason, 2 short |
| 2 | 2 + 2 + 3 + 3 | Postfix; base address, row wise; a recursive trace; three gaps in a function | Prefix; an address, column wise; a recursive trace; three gaps in a function |
| 3 | 5 + 5 | Four-input story to truth table and SOP, then map and circuit | The same plan with a new story |
| 4 | 5 + 5 | POS map with circuit; expression from a drawn circuit | The same plan |
| 5 | 5 + 3 + 2 | Encoder circuit; validity by truth table; decoder and multiplexer | Decoder circuit; validity by truth table; a gate to read |
| 6, 7, 8 | 10 each | Recursion on a number; two-dimensional array; string | String; array of one dimension with objects; recursion on numbers |
| 9 | 4 + 1 | Queue: two methods, then its name and principle | Dequeue: two methods, then its name and principle |
| 10 | 5 | A subclass to write, super class given | A subclass to write, super class given |
| 11 | 2 + 3 | Complexity; three parts on a drawn tree | Linked list; three parts on a drawn tree |
You leave out one question in each section and may not move choice from one section to another. Questions 1 and 2 have no choice at all.
In both specimens Section B is one string class, one array class and one recursion class, in a different order. A student sure of any two kinds has 20 marks in sight.
Two specimens are not a promise. CISCE may change a design, so check cisce.org and your school for anything newer before March.
In the 2025 specimen most parts carry a word in brackets such as Recall, Understanding, Application, Analysis or Create. The programs are marked Create: you are expected to write something new, and knowing a list by heart will not be enough. The 2027 paper is reported for Wednesday 17 March at 2:00 PM, from CISCE's timetable as news sites carried it; your admit card decides. The topics behind every question number are in our reading of the 2027 syllabus.
Q2. Which questions do I pick?
Use the reading time to mark the two in each section whose last part you can finish. A question with an easy start and an impossible end is worth less than it looks.
| Section | Ask yourself | Then |
|---|---|---|
| A | Can I turn this story into symbols without doubt? | If yes, Question 3 is ten steady marks, because the second half grows out of the first |
| A | Do I know the block diagram asked in Question 5? | If not, 3 and 4 use the same map skill twice |
| B | Can I see the main method in my head? | Choose the two whose key loop or base case you can say aloud |
| C | Is the structure in Question 9 one I have coded? | If the ends confuse you, 10 and 11 are the calmer pair |
To practise choosing against the clock, sit the complete practice paper with answers.
Question bank. Section A
Fourteen questions on laws, canonical forms, Karnaugh maps, circuits and propositions. In the maps, only the cells of the list are filled and the small figure is the cell number.
| AB / CD | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | 1 0 | . 1 | . 3 | 1 2 |
| 01 | . 4 | 1 5 | 1 7 | . 6 |
| 11 | . 12 | 1 13 | 1 15 | . 14 |
| 10 | 1 8 | . 9 | . 11 | 1 10 |
| PQ / RS | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | 0 0 | . 1 | . 3 | . 2 |
| 01 | 0 4 | . 5 | . 7 | . 6 |
| 11 | 0 12 | 0 13 | 0 15 | . 14 |
| 10 | 0 8 | 0 9 | 0 11 | . 10 |
| SL / KF | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | . 0 | . 1 | . 3 | . 2 |
| 01 | . 4 | 1 5 | . 7 | . 6 |
| 11 | 1 12 | 1 13 | 1 15 | 1 14 |
| 10 | . 8 | . 9 | 1 11 | 1 10 |
If the maps are the slow part, work through the Boolean algebra and K-map page first.
Question bank. Section B
Eight short questions, then one class of each kind that both specimens used: string, array and recursion. Cover the answer and write each class on paper before comparing.
int h(int n) { if (n <= 2) return n; return h(n - 1) - h(n - 2) + n; } Find h(5). StringBuffer sb = new StringBuffer("logic"); sb.insert(2, "-").reverse(); What is in sb? Then sb.setCharAt(0, 'K')? String s = "isc"; s.concat("868"); System.out.println(s); s = s.concat("868") would print isc868.switch (x) { case 1: y += 1; case 2: y += 2; case 3: y += 3; break; default: y += 9; } Find y. Design a class RunPack that shortens a word by writing each run of equal letters as the letter and its count, leaving single letters as they are: aaabccdd becomes a3bc2d2. Members: word, packed, RunPack(), void readWord(), void pack(), void show().
import java.util.*;
class RunPack {
String word, packed;
RunPack() {
word = "";
packed = "";
}
void readWord() {
Scanner in = new Scanner(System.in);
System.out.println("Word:");
word = in.next();
}
void pack() {
int i = 0;
while (i < word.length()) {
char ch = word.charAt(i);
int run = 0;
// move past every copy of ch standing together
while (i < word.length() && word.charAt(i) == ch) {
run++;
i++;
}
packed = packed + ch;
if (run > 1)
packed = packed + run;
}
}
void show() {
System.out.println(word + " -> " + packed);
}
public static void main(String args[]) {
RunPack r = new RunPack();
r.readWord();
r.pack();
r.show();
}
}Word: aaabccdd -> a3bc2d2
The inner loop must test the length first. If the two conditions are swapped, charAt runs past the last letter and the program stops with an exception.
Design a class Pivot that finds the first index where the sum of the elements before it equals the sum of those after it, or reports that there is none. Members: a[], n, Pivot(int), void fill(), int find(), void show().
import java.util.*;
class Pivot {
int a[], n;
static Scanner in = new Scanner(System.in);
Pivot(int nn) {
n = nn;
a = new int[n];
}
void fill() {
System.out.println("Enter " + n + " integers:");
for (int i = 0; i < n; i++)
a[i] = in.nextInt();
}
int find() {
int right = 0, left = 0;
for (int i = 0; i < n; i++)
right += a[i]; // everything, to begin
for (int i = 0; i < n; i++) {
right -= a[i]; // a[i] is on neither side
if (left == right)
return i;
left += a[i];
}
return -1;
}
void show() {
int p = find();
if (p == -1)
System.out.println("No such index");
else
System.out.println("Index " + p + ", element " + a[p]);
}
public static void main(String args[]) {
System.out.println("How many?");
Pivot v = new Pivot(in.nextInt());
v.fill();
v.show();
}
}How many? Enter 7 integers: Index 3, element 9
Adding up both sides again for every index also works and is O(n²). Keeping two running sums makes it O(n), a ready answer for Section C as well.
Design a class HexForm that shows a non-negative integer in hexadecimal, with the conversion done by a recursive method. Members: n, hex, HexForm(), void readNum(), String toHex(int), void show().
import java.util.*;
class HexForm {
int n;
String hex;
HexForm() {
n = 0;
hex = "";
}
void readNum() {
Scanner in = new Scanner(System.in);
System.out.println("Number:");
n = in.nextInt();
}
String toHex(int x) {
char d = "0123456789ABCDEF".charAt(x % 16);
if (x < 16) // one digit left
return "" + d;
return toHex(x / 16) + d; // front part, then d
}
void show() {
hex = toHex(n);
System.out.println(n + " in base 16 is " + hex);
}
public static void main(String args[]) {
HexForm h = new HexForm();
h.readNum();
h.show();
}
}Number: 2027 in base 16 is 7EB
Write the result as "front part, then last digit". Returning d first would give the digits backwards: BE7.
For longer problems with an algorithm and unseen inputs see the solved practical problems. A topic-wise list is in the ISC Java programs post.
Question bank. Section C
Twelve short questions, then two classes: a stack written to an interface, and a single linked list with deletion and reversal. Section C questions carry 5 marks, so the methods are short and exact.
class P { P() { hi(); } void hi() { System.out.print("P"); } } and class Q extends P { void hi() { System.out.print("Q"); } }. What does new Q(); print? for (i = 1; i <= n; i = i * 2)? The interface Pile has void add(int) and int take(). Write a class Plates that implements it with an array of given size, showing "NO ROOM" when full and returning -99 when empty.
interface Pile {
void add(int v);
int take();
}
class Plates implements Pile {
int p[];
int top;
Plates(int size) {
p = new int[size];
top = -1; // nothing on it yet
}
public void add(int v) { // public is required
if (top == p.length - 1)
System.out.println("NO ROOM");
else
p[++top] = v;
}
public int take() {
if (top == -1)
return -99;
return p[top--];
}
public static void main(String args[]) {
Pile x = new Plates(2); // interface type
x.add(14);
x.add(27);
x.add(35);
System.out.println(x.take());
System.out.println(x.take());
System.out.println(x.take());
}
}NO ROOM 27 14 -99
Leaving out public in front of add or take is a compile error, because interface methods are public.
For a list of Item nodes, write void cut(int x), which removes the first node holding x, and void reverse().
class Item {
int n;
Item link;
Item(int n, Item link) {
this.n = n;
this.link = link;
}
}
class NumChain {
Item head;
void cut(int x) {
Item prev = null, cur = head;
while (cur != null && cur.n != x) {
prev = cur; // one step behind
cur = cur.link;
}
if (cur == null)
System.out.println(x + " not in list");
else if (prev == null)
head = head.link; // first node goes
else
prev.link = cur.link; // jump over cur
}
void reverse() {
Item done = null;
while (head != null) {
Item next = head.link; // keep the rest
head.link = done;
done = head;
head = next;
}
head = done;
}
void show() {
for (Item t = head; t != null; t = t.link)
System.out.print(t.n + " ");
System.out.println();
}
public static void main(String args[]) {
NumChain c = new NumChain();
c.head = new Item(3, new Item(8, new Item(5, null)));
c.show();
c.reverse();
c.show();
c.cut(5);
c.cut(8);
c.cut(11);
c.show();
}
}3 8 5 5 8 3 11 not in list 3
If the question allows an algorithm instead: point prev at nothing and cur at the first node; move both along until cur is empty or holds x; if it holds x, link prev to the node after cur, or move the head if prev is empty.
Q3. What about past papers?
Official specimens come from cisce.org, and past board papers from your school or from the sites that carry them. They belong to CISCE, so we do not copy them or print their answers here, the 2026 question paper included.
Compare an old paper with the table above. If its sections or marks differ, use its questions for practice and not its timing.
Double linked lists, programs on trees and file programs turn up in older books. Skip them.
Then run the printed program too. Solutions found online are not always compiled by those who post them.
New inputs in the story, descending for ascending, front for rear. The paper will not repeat the figures, only the skill.
The student attempts a question aloud. The teacher says nothing until the first wrong turn, and then asks why that step was chosen. Wrong ideas are easier to remove than wrong answers.
Each lost mark is put under one of four headings: rule not known, rule known but not seen, slip, or no time. Every heading has a different cure, and only the first needs new teaching. Practice continues until the same kind of question comes out right on paper twice, some days apart.
The practical has its own preparation: the work file and its 25 assignments. For a compressed plan before the theory paper, see the ISC Class 12 crash course.
One to one, at your own timing
One student, one teacher, questions chosen for what that student gets wrong. The days and the hour are yours. Start by booking a priority demo for a full class at your slot, with its fee credited to month one when you enrol, or ask for the free demo class. You pay month by month, admission costs nothing, and leaving at a month end needs no reason.
Before you enrol · Try a class
a full live class of about 45 to 60 minutes
The classes · Choose your own timing
₹4,999
per month, 4 private classes, fully flexible timingtwo private classes a week, at a time set with you
Students usually arrive with one section they trust and one they avoid. Classes begin with the avoided one, because Part II will not let you skip a section. Your monthly fee is shown above in the currency of your country.
Studying outside India?
Wherever an ISC school is, its students face the same choice of two from three. From the UAE to Singapore, we look for an hour after school that still leaves the evening free.
| Where you live | Time difference | Usual class window, local time | Format |
|---|---|---|---|
| India every Indian city | Indian time | Any time you choose | Personalised 1-on-1 |
| United Arab Emirates Dubai, Sharjah | 1 h 30 min behind India | 3:00 PM to 9:00 PM | Personalised 1-on-1 |
| Indonesia and Thailand West Java, Bangkok area | 1 h 30 min ahead of India | 3:30 PM to 9:00 PM | Personalised 1-on-1 |
| Singapore Singapore | 2 h 30 min ahead of India | 3:30 PM to 9:00 PM | Personalised 1-on-1 |
Paper, pen and a phone camera cover Sections A and C; a computer with Java is needed for Section B. Mention your section of worry in the form.
What families say
Real reviews from real families. We neither write nor commission them.
★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
★★★★★
"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."
Samriddha Mondal
Student
★★★★★
"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."
Vansh Agarwal
Student
★★★★★
"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."
Sonam Oswal
Parent of Dhairya
★★★★★
"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."
Sonu Goyal
Parent
★★★★★
"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."
Ritu Kedia
Parent
The rest of the ISC Class 11 and 12 series
Every page in the ISC Computer Science (868) series, grouped by what you need.
CBSE Class 12 Computer Science (083): Class 12 CS viva questions Class 12 CS sample paper practice Class 12 CS project with source code Class 12 CS important questions
CBSE Class 12 Informatics Practices (065): Class 12 IP practical file Class 12 IP project with source code Class 12 IP sample paper practice Class 12 IP important questions
CBSE Class 12 Information Technology (802): IT 802 practical and project file IT 802 Java notes and programs IT 802 notes
CBSE Class 11 CS, IP and AI: Class 11 CS practical file Class 11 IP practical file CS or IP in Class 11
Program lists with output: Java programs for ISC Class 11 and 12 String and array programs in Java
Pattern and questions: FAQ
Paper 1 is 70 marks in three hours. Part I has two compulsory questions of 10 marks each. Part II has Section A (two questions of 10 marks from three), Section B (two of 10 from three) and Section C (two of 5 from three). This is the design of the 2024 and 2025 CISCE specimens.
Those whose shape appears in both specimens: a four-input story reduced on a Karnaugh map, a POS reduction, an expression from a drawn circuit, a validity check by truth table, a class each on strings, arrays and recursion, two methods of a queue-like structure, a subclass, and a tree with traversals. Practise the skill, because the figures will change.
Section A of Part II gives 20 marks for two questions on Boolean algebra and hardware. Part I adds more: in the 2025 specimen several of the one-mark parts of Question 1 are on Boolean algebra, gates and propositions. There is no fixed figure in the syllabus, so treat 20 as the minimum.
Two complete classes in Section B, at 10 marks each, chosen from three. Section C can add two or three methods, depending on your choice: two methods of a data structure, a subclass, or a short linked list method. Part I needs tracing and filling gaps, not full programs.
Yes, in Question 1. The 2024 specimen has four multiple choice and two assertion and reason parts; the 2025 specimen has five and three. The remaining parts of Question 1 are one-line answers. Part II of both specimens has no multiple choice.
Ask your school, and use cisce.org for specimens with their answer keys. Other sites host board papers with solutions of varying quality, so run any printed program before trusting it. We do not reprint CISCE papers; the questions on this page are original and the answers were checked.
Nobody outside the board can say, and we make no prediction. What can be seen is that the two specimens repeat kinds of question, with fresh stories, figures and classes. Practising a kind three times with different figures is a better use of an hour than reading one solved paper again.
Write add and remove for a stack, a queue, a circular queue and a dequeue until the full and empty tests come without thought. Then do insertion, deletion and reversal in a single linked list. Trees need terms and three traversals, and Big O needs counting steps. Each question is 5 marks, so aim for short exact answers.
Yes. Question 2 is compulsory, and in both specimens it has a recursive function to trace for 3 marks and a function with three gaps for another 3. Write a small table of calls with their arguments and returned values. It shows working, which the instructions for Part I ask for.
Yes. Modern Age Coders teaches ISC 868 live and one to one, at a time the student picks. A priority demo is a full class in which a teacher works through your chosen questions and sends a written skill report afterwards. A free demo class is there if you would like a first meeting.
Start
Everyone has one: the map, the dequeue, the recursive trace. In a priority demo a teacher spends a full live class of about 45 to 60 minutes on that kind of question with you, at a slot you choose, and puts the findings in a written skill report. The fee is adjusted against your first month if you join.
You can also begin with a free demo class, or read about the subject on the ISC Class 12 tuition page.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Every class is live video. The form requests a callback and reserves nothing.
A full live class of about 45 to 60 minutes at a slot you pick, with a written skill report and learning roadmap on WhatsApp afterwards. The fee is adjusted against your first month if you enrol.
Book a priority demo