CBSE Class 11 Computer Science — NCERT Solutions
CBSE Class 11 Computer Science NCERT solutions, chapter by chapter — 253 textbook questions solved across 11 chapters. Follows the CBSE syllabus.
About these solutions
253 NCERT textbook questions for CBSE Class 11 Computer Science, solved step by step across 11 chapters. Each chapter page has every exercise: half the solutions are open to read and the rest are free with a Super Tutor account.
Computer System
14 questions solved
- Exercise · 13 questions
- Explore Yourself · 1 question
Q1.Name the software required to make a computer functional. Write down its two primary services.
The software required to make a computer functional is system software, especially the operating system. It is needed because hardware alone cannot work by itself.
Its two primary services are:
- To provide services for building and running application programs — it loads programs into memory and allocates the CPU for execution.
- To provide an interface to the user — it allows the user to interact with the computer through commands, icons, touch, voice, etc.
Q2.How does the computer understand a program written in high level language?
A computer understands a program written in a high-level language only after it is translated into machine language. This translation is done by a compiler or an interpreter.
- The source code is the program written in a high-level language.
- The translator converts it into object code or machine code.
- The machine code is then executed by the computer.
Encoding Schemes and Number System
46 questions solved
- Exercise · 46 questions
Q1.Write base values of binary, octal and hexadecimal number system.
The base value of a number system is the number of unique symbols it uses. So binary has 2 digits, octal has 8 digits, and hexadecimal has 16 digits.
Q2.Give full form of ASCII and ISCII.
ASCII stands for American Standard Code for Information Interchange. ISCII stands for Indian Script Code for Information Interchange.
Emerging Trends
16 questions solved
- Exercise · 16 questions
Q1.List some of the cloud-based services that you are using at present.
Examples of cloud-based services used at present include Google Docs, Dropbox, Google Drive, Microsoft Office 365, and similar online storage or application services. These are accessed over the Internet rather than installed and used only locally.
Q2.What do you understand by the Internet of Things? List some of its potential applications.
Internet of Things (IoT) is a network of devices that have embedded hardware and software to communicate and exchange data with other devices on the same network. These devices can also be controlled remotely through computers or smartphones.
Potential applications include:
- Smart homes: remote control of lights, fans, air conditioners, locks, CCTV cameras, etc.
- Smart cities: efficient management of traffic, waste, water supply, power, and public safety.
- Healthcare: monitoring patients and using wearable devices.
- Transportation: vehicle tracking and navigation.
- Agriculture: monitoring crops and improving farming efficiency.
Introduction to Problem Solving
17 questions solved
- Exercise · 17 questions
Q1.Write pseudocode that reads two numbers and divide one by another and display the quotient.
INPUT num1
INPUT num2
COMPUTE quotient = num1 / num2
PRINT quotientGetting Started with Python
54 questions solved
- Exercise · 54 questions
Q1.Which of the following identifier names are invalid and why?
Invalid identifier names are:
- Serial_no. — contains a dot (.), which is not allowed.
- 1st_Room — begins with a digit, and an identifier cannot start with a digit.
- Hundred), which is not allowed.
- total-Marks — contains a hyphen (-), which is not allowed.
- True — it is a keyword/reserved word, so it cannot be used as an identifier.
Valid identifier names among the given ones are Total_Marks and _Percentage.
Flow of Control
21 questions solved
- Exercise · 10 questions
- Programming Exercises · 10 questions
- Case Study-based Questions · 1 question
Q1.What is the difference between else and elif construct of if statement?
The elif construct lets us check another condition after an if. If the first condition is false, Python checks the elif condition(s) one by one. The else construct is the final default part of the if statement and runs when none of the earlier conditions are true.
So:
- elif = “else if”, used for multiple conditions
- else = executes when all conditions are false
Functions
7 questions solved
- Exercise · 7 questions
Q1.Observe the following programs carefully, and identify the error:
a) create(5) is incorrect because the function create(text, freq) requires two arguments, but only one is given. Also, print text uses old syntax; in Python it should be print(text).
b) cos(0) causes an error because cos has not been imported. Only sqrt and ceil were imported from math. Use from math import cos or import math and then math.cos(0).
c) mynum = mynum + 9 gives an error because mynum is treated as a local variable inside add9(), but it is used before being assigned there. To use the global variable, declare global mynum inside the function.
d) The function header is wrong: a parameter with a default value cannot come before non-default parameters. So val1 = 1.1 must be placed after val2 and val3, or all following parameters must also have default values. Also, findvalue() is wrong because the function name is findValue().
e) greet() = message is invalid because a function call cannot be on the left side of an assignment. It should be message = greet().
Strings
7 questions solved
- Exercise · 2 questions
- Programming Problems · 5 questions
Q1.Consider the following string mySubject:
mySubject = "Computer Science"
What will be the output of the following string operations :
Let mySubject = "Computer Science".
mySubject[0:len(mySubject)]gives the whole string:
Computer Science
mySubject[-7:-1]means characters from index-7to-2:
Scienc
mySubject[::2]takes every 2nd character:
Cmue cec
mySubject[len(mySubject)-1]gives the last character:
e
2 * mySubjectrepeats the string twice:
Computer ScienceComputer Science
mySubject[::-2]takes every 2nd character in reverse:
ecn eurepmoC
mySubject[:3] + mySubject[3:]joins the same string parts back together:
Computer Science
mySubject.swapcase()changes lowercase to uppercase and uppercase to lowercase:
cOMPUTER sCIENCE
mySubject.startswith('Comp')checks whether the string begins withComp:
True
mySubject.isalpha()is False because the string contains a space.
So the outputs are as above, in order.
Lists
20 questions solved
- Exercise · 10 questions
- Programming Problems · 10 questions
Q1(i).What will be the output of the following statements?
sort() arranges the list in ascending order and changes the original list.
So after list1.sort(), the list becomes:
[10, 12, 26, 32, 65, 80]
Tuples and Dictionaries
13 questions solved
- Exercise · 13 questions
Q1.Consider the following tuples, tuple1 and tuple2:
tuple1 = (23,1,45,67,45,9,55,45)
tuple2 = (100,200)
Find the output of the following statements:
i. print(tuple1.index(45))
ii. print(tuple1.count(45))
iii. print(tuple1 + tuple2)
iv. print(len(tuple2))
v. print(max(tuple1))
vi print(min(tuple1))
vii. print(sum(tuple2))
viii. print(sorted(tuple1))
print(tuple1)
Using tuple operations:
tuple1.index(45)gives the index of the first45, which is2.tuple1.count(45)counts all45s, which is3.tuple1 + tuple2concatenates the tuples.len(tuple2) = 2max(tuple1) = 67min(tuple1) = 1sum(tuple2) = 100 + 200 = 300sorted(tuple1)returns a list in ascending order.print(tuple1)prints the original tuple unchanged.
So the outputs are:
i. 2
ii. 3
iii. (23, 1, 45, 67, 45, 9, 55, 45, 100, 200)
iv. 2
v. 67
vi. 1
vii. 300
viii. [1, 9, 23, 45, 45, 45, 55, 67]
(23, 1, 45, 67, 45, 9, 55, 45)
Societal Impact
38 questions solved
- Exercise · 38 questions
Q1.After practicals, Atharv left the computer laboratory but forgot to sign off from his email account. Later, his classmate Revaan started using the same computer. He is now logged in as Atharv. He sends inflammatory email messages to few of his classmates using Atharv's email account. Revaan's activity is an example of which of the following cyber crime? Justify your answer.
Revaan is sending inflammatory email messages to classmates to upset or harass them. This is cyber bullying, because it is an insulting, intimidating, or abusive online behaviour aimed at hurting others. He is also misusing Atharv's account, but the act described is the bullying itself.
Get chapter-wise help for CBSE Class 11 Computer Science
Super Tutor gives you chapter summaries, revision notes, practice quizzes and flashcards, organised around the CBSE syllabus. Free to start.
Try Super Tutor freeFrequently Asked Questions
Where can I find CBSE Class 11 Computer Science NCERT Solutions?
This page has NCERT solutions for 11 chapters of CBSE Class 11 Computer Science for the 2026-27 session. Each chapter links to its own page with the full set.
How should I prepare for CBSE Class 11 Computer Science exams?
Go through the syllabus first, then work chapter by chapter: learn the ideas, practise questions, and revise with notes and flashcards. Leave time at the end to revise every chapter once more under timed conditions.
Are the CBSE Class 11 Computer Science NCERT Solutions free?
Half of the solutions on each chapter page are open to read. The rest are free with a Super Tutor account — signing up is free and needs no card.
Browse NCERT Solutions by Chapter
11 chapters
More Computer Science Resources
CBSE Class 11
Practice Quiz
Test yourself with quick quizzes
Important Questions
Exam-style questions with answers
Revision Notes
Key concepts and quick revision points
Formula Sheet
The formulas of each chapter in one place
Chapter Summary
Understand each chapter at a glance
Concept Maps
Diagrams showing how topics connect
Study Plan
Week-by-week preparation schedule
Flashcards
Quick-fire cards for active recall practice
Syllabus
Chapter list and the topics in each