CBSE Class 12 Computer Science Revision Of The Basics Of Python Assignment

Read and download free pdf of CBSE Class 12 Computer Science Revision Of The Basics Of Python Assignment. Get printable school Assignments for Class 12 Computer Science for the 2025-26 academic session. Class 12 students should practise questions and answers given here for Revision Of The Basics Of Python prepared as per the latest books and syllabus issued by NCERT, CBSE, KVS and do problems daily to score better marks in tests and examinations

Assignment for Class 12 Computer Science Revision Of The Basics Of Python

Class 12 Computer Science students should refer to the following printable assignment in PDF for Revision Of The Basics Of Python designed by expert teachers as per 2025-26 examination pattern.

Revision Of The Basics Of Python Solved Questions and Answers

Short Answer Type Questions :

Question: What is None literal in Python?
Answer: Python has one special literal called “None”. It is used to indicate something that has not yet been created. It is a legal empty value in Python.

Question: Can List be used as keys of a dictionary?
Answer: No, List can’t be used as keys of dictionary because they are mutable. And a python dictionary can have only keys of immutable types.

Question: Rewrite the code after correcting errors: –
if N=>0
print(odd)
else
Print(“even”)

Answer: – if N>=0:
print(“odd”)
else:
print(“even”)

Question: What is a python variable? Identify the variables that are invalid and state the reason Class, do, while, 4d, a+
Answer: – A variable in python is a container to store data values.
a) do, while are invalid because they are python keyword
b) 4d is invalid because the name can’t be started with a digit.
c) a+ is also not validas no special symbol can be used in name except underscore ( _ ).

Question: Predict the output
for i in range( 1, 10, 3):
print(i)

Answer: – 1
4
7

Question: What will be the output of the following code snippet?
values =[ ]
for i in range (1,4):
values.append(i)
print(values)

Answer: [1]
[1 ,2 ]
[1,2,3]

Question: What problem occurs with the following code
X=40
while X< 50 :
print(X)

Answer: – The given code does not have the incrementing value of X, thus the loop becomes endless.

Question: Find the error in following code. State the reason of the error.
aLst = { ‘a’:1 ,’ b’:2, ‘c’:3 }
print (aLst[‘a’,’b’])

Answer: The above code will produce KeyError, the reason being that there is no key same as the list [‘a’,’b’] in dictionary aLst.

Application Based Questions :

Question: Find output of the following code fragment.
x=”hello world”
print(x[:2],x[:-2],x[-2:])
print(x[6],x[2:4])
print(x[2:-3],x[-4:-2])

Answer: he hello wor ld
w ll
llo wo or

Question: Rewrite the following programs after removing syntactical errors:
for=20
for1=50:
for3=for+for1+for2
print(for3)

Answer: f=20 #( as for is a keyword in python)
for1=50 #(: can not be used here)
for3=f+for1 #(for2 not defined)
print(for3)

CBSE Class 12 Computer Science Revision Of The Basics Of Python Assignment

We hope you liked the above assignment for Revision Of The Basics Of Python which has been designed as per the latest syllabus for Class 12 Computer Science released by CBSE. Students of Class 12 should download and practice the above Assignments for Class 12 Computer Science regularly. We have provided all types of questions like MCQs, short answer questions, objective questions and long answer questions in the Class 12 Computer Science practice sheet in Pdf. All questions have been designed for Computer Science by looking into the pattern of problems asked in previous year examinations. You can download all Revision notes for Class 12 Computer Science also absolutely free of cost. Lot of MCQ questions for Class 12 Computer Science have also been given in the worksheets and assignments for regular use. All study material for Class 12 Computer Science students have been given on studiestoday. We have also provided lot of Worksheets for Class 12 Computer Science which you can use to further make your self stronger in Computer Science.

What are benefits of doing Assignment for CBSE Class 12 Computer Science Revision Of The Basics Of Python?

a. Score higher marks: Regular practice of Computer Science Class 12 Assignments for chapter Revision Of The Basics Of Python will help to improve understanding and help in solving exam questions correctly.
b. As per CBSE pattern: All questions given above follow the latest Class 12 Computer Science Sample Papers so that students can prepare as per latest exam pattern.
c. Understand different question types: These assignments include MCQ Questions for Class 12 Computer Science with answers relating to Revision Of The Basics Of Python, short answers, long answers, and also case studies.
d. Improve time management: Daily solving questions from Revision Of The Basics Of Python within a set time will improve your speed and accuracy.
e. Boost confidence: Practicing multiple assignments and Class 12 Computer Science mock tests for Revision Of The Basics Of Python reduces exam stress.

How to Solve CBSE Class 12 Computer Science Revision Of The Basics Of Python Assignment effectively?

a. Start with Class 12 NCERT and syllabus topics: Always read the chapter carefully before attempting Assignment questions for Class 12 Computer Science Revision Of The Basics Of Python.
b. Solve without checking answers: You should first attempt the assignment questions on Revision Of The Basics Of Python yourself and then compare with provided solutions.
c. Use Class 12 worksheets and revision notes: Refer to NCERT Class 12 Computer Science worksheets, sample papers, and mock tests for extra practice.
d. Revise tricky topics: Focus on difficult concepts by solving Class 12 Computer Science MCQ Test.
e. Maintain notebook: Note down mistakes in Revision Of The Basics Of Python assignment and read them in Revision notes for Class 12 Computer Science

How to practice CBSE Class 12 Computer Science Revision Of The Basics Of Python Assignment for best results?

a. Solve assignments daily: Regular practice of Revision Of The Basics Of Python questions will strengthen problem solving skills.
b.Use Class 12 study materials: Combine NCERT book for Class 12 Computer Science, mock tests, sample papers, and worksheets to get a complete preparation experience.
c. Set a timer: Practicing Class 12 Computer Science Revision Of The Basics Of Python assignment under timed conditions improves speed and accuracy.

Where can I download in PDF assignments for CBSE Class 12 Computer Science Revision Of The Basics Of Python

You can download free Pdf assignments for CBSE Class 12 Computer Science Revision Of The Basics Of Python from StudiesToday.com

How many topics are covered in Revision Of The Basics Of Python Computer Science assignments for Class 12

All topics given in Revision Of The Basics Of Python Computer Science Class 12 Book for the current academic year have been covered in the given assignment

Is there any charge for this assignment for Revision Of The Basics Of Python Computer Science Class 12

No, all Printable Assignments for Revision Of The Basics Of Python Class 12 Computer Science have been given for free and can be downloaded in Pdf format

Are these assignments for Revision Of The Basics Of Python Class 12 Computer Science designed as per CBSE curriculum?

Latest syllabus issued for current academic year by CBSE has been used to design assignments for Revision Of The Basics Of Python Class 12

Are there solutions or answer keys for the Class 12 Computer Science Revision Of The Basics Of Python assignments

Yes, we have provided detailed answers for all questions given in assignments for Revision Of The Basics Of Python Class 12 Computer Science