aglasem.com
Home Schools Admission Career Mock Test PDF Docs Playground
ClassChoose class
StateSelect state

Class 11 Half Yearly Question Paper 2025-26 Computer Science

Download the Class 11 Half Yearly Question Paper 2026 Computer Science PDF at AglaSem Docs. Solve this question paper to understand the latest exam pattern, question types and marking scheme, practise time management, and strengthen your preparation to score higher.
Class 11 Half Yearly Question Paper 2025-26 Computer Science - Page 1 of 7

Finished viewing? Save it for later —

Download Class 11 Half Yearly Question Paper 2025-26 Computer Science (PDF · 7 pages)
Downloaded 150 times

About Class 11 Half Yearly Question Paper 2025-26 Computer Science

Class 11 Half Yearly Question Paper 2025-26 Computer Science is available here for free download. Published by AglaSem for Class 11, this question paper can be viewed online or downloaded as a PDF (7 pages). Candidates preparing for Class 11 can use Class 11 Half Yearly Question Paper 2025-26 Computer Science to understand the exam pattern, the type of questions asked, and the overall difficulty level.

Frequently Asked Questions

How can I download Class 11 Half Yearly Question Paper 2025-26 Computer Science?

Open this page and click the Download button to save Class 11 Half Yearly Question Paper 2025-26 Computer Science as a PDF. It is completely free on AglaSem Docs.

Is Class 11 Half Yearly Question Paper 2025-26 Computer Science free to download?

Yes. Class 11 Half Yearly Question Paper 2025-26 Computer Science can be viewed online and downloaded as a PDF free of cost on AglaSem Docs.

How many pages does Class 11 Half Yearly Question Paper 2025-26 Computer Science have?

Class 11 Half Yearly Question Paper 2025-26 Computer Science contains 7 pages, which you can read online or download together as a single PDF.

Where can I find more Class 11 study material?

You can find more Class 11 question papers, sample papers, syllabus, and answer keys on AglaSem Docs.

Class 11 Half Yearly Question Paper 2025-26 Computer Science – Text

Read the full text of this question paper below — useful to quickly search, copy and reference the content online without downloading the PDF.

📄 View text version (7 pages)

Page 1

CBSE CLASS 11
Half Yearly Question Paper
Session 2025-26

COMPUTER
SCIENCE

Exam CBSE Class 11
Subject Computer Science
Session 2025-26
Document Type Half Yearly Question Paper

Notes · Sample Papers · Previous Year Papers · Mock Tests

Page 2

m
om .co

c m
m. as e
se l
Question Paper
HALF YEARLY EXAMINATION
Session: 2025 - 2026 ag
Class: XI Maximum Marks: 70
Subject: Computer Science (Code: 083) Time: 3hrs
___________________________________________________________________________
General Instructions:
• This question paper contains 37 questions and 6 pages.
• All questions are compulsory, internal choices are to be marked in different sections.
m
.co
• Programming language: Python
m
.co m
• The paper is divided into 5 Sections - A, B, C, D and E.
Section A, consists of 21 questions (1 to 21). Each question carries 1 Mark.
s e
s em l a
Section B, consists of 7 questions (22 to 28). Each question carries 2 Marks.

l a
Section C, consists of 3 questions (29 to 31). Each question carries 3 Marks.
ag
ag
Section D, consists of 4 questions (32 to 35). Each question carries 4 Marks.
Section E, consists of 2 questions (36 to 37). Each question carries 5 Marks.

Q No. SECTION A (21 × 1=21 Marks) Marks
1. When we work on any file on PC, it is stored temporarily in ______ 1
memory.
a) RAM b) ROM
c) CPU d) CD-ROM
2. Which is an example of a system software : 1
m
.co
a) Disk Defragmenter b) Openoffice

em
c) Linux d) None of the above

s
3. “The OR operation of a variable with its complement always results in 1

la
1”
Which law is stated above?
a) Associative law ag b) Complement law
c) Distributive law d) Identity law
4. This gate can be combined to replace any other logic gates. Identify this 1
logic gate.
a) AND b) NOT
c) OR d) NAND
5. Extended ASCII has __________ code points 1
a) 8 b) 64
m1
.co
c) 128 d) 256
m
.co
6. A decimal number 233 is _______ in binary.

e m
s
a) 11100001 b) 11001101

e m c) 11101001 d) 10101011
la
las 7.
ag
_________ is the term refers to the process of locating the place of error 1

ag
and correcting accordingly.
a) Dry Run b) Testing
c) Debugging d) Compiling
8. This operator returns Boolean value after comparing the memory 1
locations of two objects. Identify the operator.
a) is b) =
c) = = d) in
9. Evaluate: print((3 + 4 * 2) - 5 / (1 + 1) % 2 ** 2) 1
a) 7.0 b) 8.5

m .
.co
c) 1 d) 7
10. Consider the following Python code: 1
e m
em l as
s
1

l a ag
ag For more Question Papers, Sample Papers, Notes & Syllabus visit Page 1 of 6

Page 3

x,y = 10,0
result = x / y
What type of error will occur when this code is executed?
a) Logical Error b) Semantic Error
c) Syntax Error d) Runtime Error
11. A ___________ statement skips the rest of the current loop iteration and 1
proceeds with the next iteration.
a) break b) continue
c) jump d) pass
12. Which keyword is used to add an alternative condition to an if statement 1
in Python?
a) else if b) elseif
c) elif d) otherwise
13. What is the output of print("ABC"<"abc") ? 1
a) True b) False
c) 0 d) Error
14. Which of the following function will raise an error if the given substring 1
is not found in the string?
a) find() b) index()
c) replace() d) All of these
15. Which of the following function will return the last three characters in a 1
string s?
a) s[3:] b) s[:3]
c) s[-3:] d) s[:-3]

Answer the given questions briefly
16. What would be the output produced if for the following code, the input 1
given is 11.
print(bool(input("Input:")) and 10 < 13-2)
17. Define the term Syntax Error. 1
18. Use the Python range function to create the following list: [7,3,-1,-5] 1
19. What will be the output of the following Python code? 1
count = 0
while count < 10:
if count==5:
break
else:
print(count,end=' ')
count += 1
else:
print("Loop finished")
print("Out of Loop")

Question 20 & 21 are Assertion (A) and Reason (R) based questions.
Mark the correct choice as:
a) Both A and R are correct and R is the correct explanation of A.
b) Both A and R are correct but R is NOT the correct explanation of A
c) A is correct but R is incorrect
d) A is incorrect but R is correct.
20. Assertion (A): An if statement without an else block is a valid 1
statement in Python.
Reason (R): An if statement can execute a block of code conditionally,
and an else block is optional for handling the false condition.
2

For more Question Papers, Sample Papers, Notes & Syllabus visit Page 2 of 6

Page 4

m
om .co

c m
m. as e
se l
21. Assertion (A): Operators + and * can work with number as well as 1

ag
string.
Reason (R): Unlike numbers, for string + means concatenation and *
means replication.

Section-B (7 × 2=14 Marks)
22. Why is primary memory termed as “destructive write memory but non- 2
destructive read memory?
23. State Demorgan’s Theorems. Prove any one Theorem by using Truth 2
Table.
m
.co
24. What is difference between mutable and immutable date types? Explain 2

m
.co
with example.
m
se
OR

em 2 la
How is implicit conversion different from an explicit conversion?
25.
as
Rewrite the following program after removing the errors if any, any
l ag
ag
underline the correction(s).
Num=int("Enter a Number-")
for I in range[0,10]
if Num = I:
print("Both are equal")
Else:
print("Both are not equal")
OR
Write the output for the following code:

m
.co
var = 7
while var > 0:

e m
print ('Current variable value: ', var)
var = var -1
l as
ag
if var == 3:
break
else:
if var == 6:
var = var -1
continue
print ("Good bye!")
26. Re-write the following program using while loop. 2
sum_even = 0

m
for i in range(2, 21, 2):

m .co
sum_even += i

c. o 27. e m
print("Sum:", sum_even)

m las
Write the output for the following code. 2

s e Text="gmail@com"
g
g la a
L=len(Text)

a
nText=""
for i in range (0,L):
if Text[i].isupper():
nText=nText+Text[i].lower()
elif Text[i].isalpha():
nText=nText+Text[i].upper()
else:
nText=nText+"bb"

m .
print(nText)

.co m
OR

s e
s em l a
3

l a ag
ag For more Question Papers, Sample Papers, Notes & Syllabus visit Page 3 of 6

Page 5

Consider the following code write the output if the input is: 1bzz
Str=input("Enter a String-")
while len(Str) <=4:
if Str[-1] == 'z':
Str=Str[0:3]+'c'
elif 'a' in Str:
Str=Str[0]+'bb'
elif not int(Str[0]):
Str='I'+Str[1:]+'z'
else:
Str=Str+'*'
print(Str)
28. a. Which string method is used to return a copy of the string with the 1+1
first character capitalized?
b. What is the output for the statement?
s="abc1".replace("1", "")
s=s+"Hello\\nworld\'s"
print(len(s))

Section-C (3 × 3=9 Marks)
29. Anish is developing a fitness tracking app that recommends daily step 3
goals based on the Fibonacci pattern. The user inputs the number of
days they want to plan their workout. On each day, the step goal
increases following the Fibonacci sequence (starting from 0 and 1).
Draw a flowchart to generate this sequence up to N days.
OR
Consider the following code to write the output of the following code?
Explain reason.
A=3+5/8
B=int(3+5/8)
print(B)
C=3+float(5)/8
print(C)
D=3+5.0//8
print(D)
30. Write a program to calculate the sum of the series 3
S=1+1/8+1/27+….+1/n3
OR
Write a program to generate the following pattern with n number of
lines (without using string replication operator).
Example:
Enter the number of line: 4
Output:
a
ab
abc
abcd
31. Consider the following string. Write the statements in Python to 1×3
implement the following:
Str=”Green revolution”
a) To display the last four characters.
b) To check whether the string contains ‘vol’ or not.
c) To display the starting index for the substring ‘vo’
4

For more Question Papers, Sample Papers, Notes & Syllabus visit Page 4 of 6

Page 6

m
om .co

c m
m. as e
se l
OR

ag
Predict the String function which generates the following outputs if the
string st=" this is a python string "
i. " This Is A Python String "
ii. "this is a python string"
iii. " THIS IS A PYTHON STRING "

Section-D (4 × 4=16 Marks)
32. a) What is Unicode? Write different standards to represent Unicode 2+1+1
encoding scheme.
m
.co
b) Convert the following:

m
.co
i) (FACE)16 to Octal
ii) (1010100.011)2 to Decimal
em
33.
em
Evaluate the following. 1×4
l as
as
a) 12 + (3**4-6)//2
l ag
ag
b) 12 % 5 * 3 + (2*6)//4
c) (87 // 5.0) == int(87 / 5.0)
d)(2<10) and (10<2) or (3<8) and not (3<-3)
34. Write a program to accept a number and check whether the number is a 4
palindrome or not. Display the message accordingly.
(A number is said to be a palindrome if the new number obtained after
reversing the digits is the same as the original number.)
Sample input: 707
Sample output: 707 is a palindrome number

m
.co
OR
A cloth showroom announced the following festival discounts and the

e m
assured gifts on the purchase of items, based on the total cost of the
items purchased.
l as
ag
Total Cost Discount (on Total Assured Gift
cost)
Less than or upto Rs 2000 5% Wall Clock
Rs 2001 to Rs 5000 10% School Bag
Rs 5001 to 10000 15% Electric Iron
More than Rs 10000 20% Wrist Watch
Write a Python code to input the total cost of the items purchased.
Calculate and display the discount and amount to be paid along with
assured gift.

om4
35. Consider the following and Answer the questions below. 1×

m . c
String = "Programming in Python is Fun"

c. o e m
Write statements in python to implement the following:

em
a) To replace all the occurrences of space in the string with “*”
las
as g
b) To extract all the words of the string in a list form.

l a
ag
c) To count number of P appears in the above string.
d) To repeat the string 2 times.
Section-E (2 × 5=10 Marks)
36. a) Write a program in Python to Enter name and marks in 3 subjects of a 2+3
student and find the grade of a student as per the following.
Percentage of Marks Grade
Above 90% A
80 % to 90% B
70% to 80% C

m .
.co
60% to 70% D
Below 60% E
e m
em l as
s
5

l a ag
ag For more Question Papers, Sample Papers, Notes & Syllabus visit Page 5 of 6

Page 7

b) Write a program in Python to accept a number and check it is a
special number or not.
A number is a special number if the sum of the factorial of its digits is
equal to the original number.
Examples:
145 is a special number because
1! + 4! + 5! = 1 + 24 + 120 = 145
37. a) Write a program in Python to enter a string and display the longest 3+2
word in the string.
b) Write a program to enter a string and capitalize every other letter in
the string and then print it.

6

For more Question Papers, Sample Papers, Notes & Syllabus visit Page 6 of 6

Document Details

Board / OrgAglasem
ExamClass 11
TypeQuestion Paper
Pages7
Updated18 Sep 2026