★★★★★
"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
CBSE Class 11 · Computer Science, code 083 · Annual exam practice
This Class 11 Computer Science sample paper for 2026-27 is our own practice paper. It is not an official one, because the Class 11 annual exam is set by each school and CBSE publishes only the marks for each unit. The paper keeps to those marks and to the Class 11 syllabus, so you will find no functions, files or SQL in it. Answers stay folded until you open them.
Live online · 37 original questions, 16 more to follow · every program run · your own days and timing · first class free
Start here
Use the marked paper to choose. If marks fell everywhere, take the board course. If the programs were the trouble, take Python. If the paper was easy, start next year’s SQL.

Marks lost across / 083
The full two-year subject on the CBSE track. A student can join in any month and is bridged to the point the school has reached.
Open the course →
Programs left blank
For the student who can read a program and cannot begin one: Python built up from small pieces, with code written in each class.
Open the course →
Paper felt easy
Queries, tables and database design, started in the gap between the annual exam and Class 12.
Open the course →Ans. The short version
A Class 11 Computer Science sample paper for 2026-27 should match the CBSE 083 unit marks: Computer Systems and Organisation 10, Computational Thinking and Programming 1 45, and Society, Law and Ethics 15, a theory total of 70. CBSE publishes only these marks for Class 11; each school sets its own annual paper. This page gives an original 70-mark practice paper with 37 questions, worked answers and 16 more important questions. Modern Age Coders marks such papers live in personalised one to one classes at your own timing. A priority demo lets you try a full class first.
Q1. Is there an official paper?
Your school does. For Class 11 the CBSE curriculum gives the unit marks and the syllabus, and nothing about the number of questions, sections or choices, so the Class 11 paper in one school can look different from the next.
| Detail | Status for Class 11 in 2026-27 |
|---|---|
| Theory 70, practical 30 | Fixed in the CBSE curriculum |
| Unit marks 10, 45, 15 | Fixed in the CBSE curriculum |
| Topics | Fixed: the Class XI syllabus |
| Number and type of questions | Decided by the school |
| Internal choice | Decided by the school |
| Exam date and duration | Decided by the school |
| Official CBSE sample paper | None for Class XI among the 2026-27 papers we checked; the 083 one is for Class XII |
So before you practise, ask your teacher three things: how many questions, how many marks for writing programs, and whether the term exams left any chapters out.
| Section | Questions | Systems | Python | Society | Total |
|---|---|---|---|---|---|
| A, 1 mark | 1 to 21 | 4 | 12 | 5 | 21 |
| B, 2 marks | 22 to 28 | 2 | 6 | 6 | 14 |
| C, 3 marks | 29 to 31 | 0 | 9 | 0 | 9 |
| D, 4 marks | 32 to 35 | 4 | 8 | 4 | 16 |
| E, 5 marks | 36 and 37 | 0 | 10 | 0 | 10 |
| Marks | 37 | 10 | 45 | 15 | 70 |
We borrowed the five-section shape from the Class 12 board design, so that you meet it a year early. If your school uses another shape, keep the questions and move them about. Next year’s version is on the Class 12 sample paper page.
Practice paper. Section A, 21 marks
All questions are compulsory and programs are in Python. Give this section 30 minutes. In Questions 20 and 21 answer (a) if both are true and R explains A, (b) if both are true and R does not explain A, (c) if only A is true, (d) if only R is true.
_total marks2 2nd_term Class_ print(18 % 5 * 2 ** 2 // 3 - 1)
9 / 3? (1) list(range(15, 2, -4)) give? (1) [15, 11, 7, 3] [15, 11, 7] [15, 11, 7, 3, -1] [2, 6, 10, 14] place = "Lakshadweep" print(place[2:9:3])
L = [3, 1] L.append([2, 4]) print(len(L))
append() adds the inner list as one item. With extend() the answer would be 4.t = (5, 6) t[0] = 7 print(t)
d = {"a": 1, "b": 2, "a": 5}
print(len(d), d["a"])import random word = "PYTHON" n = random.randint(1, 3) print(word[n], word[n + 2])
s.upper() sorted(L) L.sort() t + (1,) sorted() builds a new list.print("Total: " + 5) stops the program with a message. This is: (1) i = 20
while i > 0:
print(i)
i //= 3Practice paper. Section B, 14 marks
Questions 22 to 28. Where you see OR, attempt one part. About 30 minutes; two marks want two points, so number them.
| A | B | A.B | (A.B)’ | A’ | B’ | A’ + B’ |
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 | 0 | 0 | 0 |
n = int(input("How many? ")
total = 0
for i in range(1, n):
total =+ i
Print("Sum", total)n = int(input("How many? ")) # 1. bracket closed
total = 0
for i in range(1, n + 1): # 2. n must be included
total += i # 3. += adds, =+ assigns
print("Sum", total) # 4. small pHow many? 5 Sum 15
city = " new delhi " get the string "New Delhi"; (II) from T = (4, 9, 4, 7) find how many times the smallest value occurs. OR B. Predict the output. (2)text = "Monday-Tuesday"
a, sep, b = text.partition("-")
print(b.find("day") + len(a))
print(a.replace("Mon", "Sun").isalpha())city.strip().title() (II) T.count(min(T)), which gives 2. One mark each. values = [5, 12, 7, 20]
result = {}
for v in values:
if v % 5 == 0:
result[v] = v // 5
else:
result["other"] = result.get("other", 0) + v
print(result)| v | Branch | result after the pass |
|---|---|---|
| 5 | divisible | {5: 1} |
| 12 | other | {5: 1, 'other': 12} |
| 7 | other | {5: 1, 'other': 19} |
| 20 | divisible | {5: 1, 'other': 19, 20: 4} |
Definitions for Questions 26 to 28 are set out in tables in the Class 11 CS notes.
Practice paper. Section C, 9 marks
Questions 29 to 31 ask for a number program, a string program and a list or tuple program. About 25 minutes. In the sample runs, what follows a prompt was typed.
# Sum of 1/2 + 2/3 + 3/4 + ... + n/(n + 1)
n = int(input("Number of terms: "))
total = 0
for k in range(1, n + 1):
total += k / (k + 1)
print("Sum =", round(total, 4))Number of terms: 4 Sum = 2.7167
# Count the even digits and odd digits of a number
number = int(input("Positive number: "))
even = odd = 0
while number > 0:
digit = number % 10
if digit % 2 == 0:
even += 1
else:
odd += 1
number //= 10
print("Even digits:", even, " Odd digits:", odd)Positive number: 730462 Even digits: 4 Odd digits: 2
# Length of every word, and the longest word
sentence = input("Sentence: ")
words = sentence.split()
longest = ""
for word in words:
print(word, len(word))
if len(word) > len(longest):
longest = word
print("Longest:", longest)Sentence: The rover landed near a crater The 3 rover 5 landed 6 near 4 a 1 crater 6 Longest: landed
split() and the loop, one for lengths, one for the longest. Because the test is > and not >=, landed stays although crater has six letters too.temps = (34, 36, 35, 38, 33, 38, 37). Write a program to display how many days were above 35 and the number of the first day with the highest temperature. (3) # Runs that are above the mean
runs = []
n = int(input("Innings: "))
for i in range(n):
runs.append(int(input("Runs: ")))
mean = sum(runs) / n
print("Mean", mean)
for score in runs:
if score > mean:
print(score)Innings: 5 Runs: 12 Runs: 60 Runs: 33 Runs: 8 Runs: 47 Mean 32.0 60 33 47
# Hot days in a week
temps = (34, 36, 35, 38, 33, 38, 37)
hot = 0
for t in temps:
if t > 35:
hot += 1
print("Days above 35:", hot)
print("Hottest first on day", temps.index(max(temps)) + 1)Days above 35: 4 Hottest first on day 4
Practice paper. Section D, 16 marks
Questions 32 to 35, four marks each, usually split into parts. About 45 minutes. Write the part number before every answer.
| A | B | A NOR B |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
# Distances cycled, name : kilometres
rides = {}
n = int(input("Cyclists: "))
for i in range(n): # (I)
name = input("Name: ")
rides[name] = float(input("Km: "))
for name in rides: # (II)
if rides[name] > 20:
print(name, "rode more than 20 km")
for name, km in rides.items(): # (III)
if km == max(rides.values()):
print("Farthest:", name, km)
for name in rides: # (IV)
rides[name] += 2
print(rides)Cyclists: 3
Name: Aditi
Km: 18.5
Name: Rohan
Km: 27
Name: Sana
Km: 22.5
Rohan rode more than 20 km
Sana rode more than 20 km
Farthest: Rohan 27.0
{'Aditi': 20.5, 'Rohan': 29.0, 'Sana': 24.5}max() on the keys would not do.for i in range(4, 0, -1):
for j in range(i):
print(i * j, end=" ")
print()M = [[2, 5], [7, 1], [4, 4]]
total = 0
for row in M:
row.sort()
total += row[0]
if row[0] == row[1]:
row.append(0)
print(M, total)0 4 8 12 0 3 6 0 2 0
If Question 32 was slow, practise on number system and Boolean logic before another paper.
Practice paper. Section E, 10 marks
Questions 36 and 37. About 35 minutes. Read all the parts first, because later parts reuse what the earlier ones store.
1 3 5 7 3 5 7 5 7 7
# Triangle of odd numbers
n = int(input("Rows: "))
for row in range(n):
for k in range(row, n):
print(2 * k + 1, end=" ")
print()Rows: 4 1 3 5 7 3 5 7 5 7 7
# Numbers divisible by the sum of their digits
low = int(input("From: "))
high = int(input("To: "))
for number in range(low, high + 1):
digits = 0
copy = number
while copy > 0:
digits += copy % 10
copy //= 10
if number % digits == 0:
print(number, "is divisible by", digits)From: 110 To: 120 110 is divisible by 2 111 is divisible by 3 112 is divisible by 4 114 is divisible by 6 117 is divisible by 9 120 is divisible by 3
# Two-digit numbers equal to the sum of digits plus product
for number in range(10, 100):
tens = number // 10
units = number % 10
if tens + units + tens * units == number:
print(number, end=" ")
print()19 29 39 49 59 69 79 89 99
# Stationery bill, one inner list for each item
import math
items = []
n = int(input("Items: "))
for i in range(n): # (I)
name = input("Name: ").strip().title()
price = float(input("Price: "))
pieces = int(input("Pieces: "))
items.append([name, price, pieces])
total = 0
count = 0
for name, price, pieces in items: # (II)
amount = price * pieces
print(name, pieces, "x", price, "=", amount)
total += amount
count += pieces
print("Bill:", total)
print("Bags:", math.ceil(count / 6)) # (III)Items: 2 Name: gel pen Price: 12.5 Pieces: 8 Name: drawing book Price: 60 Pieces: 3 Gel Pen 8 x 12.5 = 100.0 Drawing Book 3 x 60.0 = 180.0 Bill: 280.0 Bags: 2
ceil(). Eleven pieces need two bags, since 11 / 6 is more than 1.A program of this kind, grown to eight menu options, is the Class 11 Computer Science project. The 20 programs for the file are on the practical file page.
Beyond the paper
Sixteen more questions on parts of the syllabus the paper had no room for. "Important" here means that the topic is in the syllabus and students often answer it loosely; nobody outside your school knows what it will ask.
3 + 1.5 turns 3 into a float and gives 4.5. Explicit is written by you: int("42") + 1 gives 43.for k in range(10, 3, -2): print(k) with a while loop. k = 10
while k > 3:
print(k)
k -= 2first = "Listen" second = "Silent" print(sorted(first.lower()) == sorted(second.lower()))
L = [4, 9, 4, 2, 9]
unique = []
for x in L:
if x not in unique:
unique.append(x)
print(unique)pop(), remove() and del for a list. pop(i) removes by index and returns the item; remove(x) removes the first item equal to x and returns None; del L[i] is a statement that removes by index, or a whole slice, and returns nothing.text = "kaveri kaapi"
count = {}
for ch in text:
if ch != " ":
count[ch] = count.get(ch, 0) + 1
print(count)
# {'k': 2, 'a': 3, 'v': 1, 'e': 1, 'r': 1, 'i': 2, 'p': 1}random.randrange(10, 20, 5) return? s = "python" s = s[-1] + s[1:-1] + s[0] print(s)
Q2. How do I use a practice paper?
Write the paper in one sitting, mark it the next day with the step marks above, and put each lost mark into one of four boxes. The box tells you what to do; the total does not.
| Box | What it looks like | What to do this week |
|---|---|---|
| Did not know | A blank, or a guess | Read that topic, then write it from memory |
| Traced wrongly | Output off by one value | Ten outputs with a trace table, one column for each name |
| Could not begin | A program left empty | Write its steps in plain words before any code |
| Careless | Colon, indent, missing unit or example | Keep five minutes for a slow last reading |
| Section | Minutes |
|---|---|
| A | 30 |
| B | 30 |
| C | 25 |
| D | 45 |
| E | 35 |
| Checking | 15 |
| Total | 180 |
The minutes are our suggestion. If your school’s paper is shorter in time, cut each in proportion.
Whole numbers want int(), measurements want float(), names want neither. A missing conversion makes every line after it wrong.
Sum at 0, product at 1, longest word at an empty string, largest at the first item. It is the line most easily forgotten.
Leave a clear gap for each level and keep it the same down the page. An indent that cannot be read changes what the program means.
Two items are enough. If the hand run prints what the question shows, move on.
For many more complete programs, see Python programs for Class 11 with output.
One to one, at your own timing
Because each school sets its own paper, practice is most useful when it copies yours. Bring a past term paper to a priority demo, a paid full live class at your chosen slot that ends with a written skill report; the fee is adjusted if you enrol. A free demo class is also available.
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
A student starting a term ahead can cover all three units and still write several papers. One starting late does outputs and programs first, since Unit 2 is 45 of the 70 marks. There is no admission fee, billing is monthly, and you may stop at the end of any month.
Studying outside India?
Students of CBSE schools in Sharjah, Riyadh or Kathmandu sit a school-set paper too, often in a different week. We fit the classes to your timetable and your clock.
| 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 |
| UAE and Oman Dubai, Abu Dhabi, Sharjah, Muscat | 1 h 30 min behind India | 3:00 PM to 9:00 PM | Personalised 1-on-1 |
| Saudi Arabia, Qatar, Kuwait, Bahrain Riyadh, Jeddah, Dammam, Doha, Kuwait City, Manama | 2 h 30 min behind India | 3:00 PM to 9:00 PM | Personalised 1-on-1 |
| Nepal Kathmandu | 15 min ahead of India | 4:30 PM to 9:00 PM | Personalised 1-on-1 |
| Ethiopia and East Africa Addis Ababa and East Africa Time | 2 h 30 min behind India | 4:30 PM to 9:00 PM | Personalised 1-on-1 |
| Singapore and Malaysia Singapore, Kuala Lumpur | 2 h 30 min ahead of India | 3:30 PM to 9:00 PM | Personalised 1-on-1 |
Send us the portion and the dates when the school announces them, and the remaining classes are divided between units. For the whole year’s teaching, see Class 11 Computer Science tuition.
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 Class 11 series
Every page in the CBSE Class 11 Computer Science, IP and AI 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
ISC Computer Science (868): ISC Class 12 CS syllabus 2027 ISC Class 12 CS practice paper ISC Class 12 practical questions solved ISC Boolean algebra and K-maps
Program lists with output: Python programs for Class 11 Python project ideas
About the Class 11 paper
The official 2026-27 sample question paper we have checked for Computer Science (083) is for Class XII. For Class XI the CBSE curriculum gives the syllabus and unit marks, and each school sets its own annual paper. The paper on this page is an original practice paper built on those unit marks.
Only the marks are common to all schools: 70 for theory, divided as 10 for computer systems, 45 for Python and 15 for society, law and ethics. The number of questions, sections and choices is decided by the school. Many students find it useful to practise in the Class 12 shape, as here.
This page has a full 70-mark paper with every answer worked and every program run. Add your own school’s term papers, because they show the pattern you will meet. Check any older paper you find online against the 2026-27 syllabus, since some still carry C++ or topics that have been dropped.
The date is fixed by your school, not by CBSE, and so is the duration. Ask for the date sheet, and ask separately about the practical, which is often on another day. The date sheet CBSE publishes is for the board classes, so it will not list your paper.
Outputs that use slicing, list and dictionary methods; programs on numbers, strings and lists; number conversions; truth tables and De Morgan’s laws; and differences in Unit 3, such as copyright and patent or virus and trojan. This page adds 16 such questions with answers after the paper.
There is no published number. Unit 2 as a whole is 45 marks and includes theory, outputs and programs, so the split depends on the school. In this practice paper, 23 marks are for writing programs from scratch: nine in Section C, four in Section D and ten in Section E.
They are not in the Class XI syllabus for 2026-27. User-defined functions, file handling and SQL all belong to Class 12 Computer Science. If a sample paper you are solving has def or SELECT in it, it was made for another class, another subject or another year.
Split your time as the marks are split. Trace two outputs and write one program most days, learn Unit 3 as term, meaning and example, and do a few conversions and one truth table each week. Then write two or three full papers by hand and repair what each one shows.
The scheme is your school’s, but splitting a program into input, logic and output is common sense and common practice. The answers here show one way to divide the marks. It means a program with one slip should not be left out: write as many correct steps as you can.
You can print the page from your browser or choose Save as PDF. The answers stay folded on screen so that you can attempt the questions first. If you want them in your copy, open each one before you print.
Yes. In a personalised one to one class at Modern Age Coders, the teacher marks your handwritten paper with you and runs your programs exactly as you wrote them. You can start with a priority demo at a slot you pick, with a written skill report, or with the free demo class.
Start
Section D is a good one to bring, because it touches all three units in 16 marks. Write it without notes, send a photograph, and the demo class goes through it line by line, with the marks you would have received and the reason for each.
Choose the priority demo for a slot of your own and a written skill report; its fee is adjusted in the first month if you enrol.
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