0% found this document useful (0 votes)
75 views8 pages

Grade 11 CS Term 2 QP 2024-25

The document is the second term exam paper for Grade 11 Computer Science at Sunrise English Private School, Abu Dhabi, scheduled for February 21, 2025. It contains 37 questions divided into five sections, covering various topics in computer science, including programming in Python, data types, and problem-solving techniques. The exam is designed to assess students' understanding and application of computer science concepts, with a total of 70 marks available.

Uploaded by

deepa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views8 pages

Grade 11 CS Term 2 QP 2024-25

The document is the second term exam paper for Grade 11 Computer Science at Sunrise English Private School, Abu Dhabi, scheduled for February 21, 2025. It contains 37 questions divided into five sections, covering various topics in computer science, including programming in Python, data types, and problem-solving techniques. The exam is designed to assess students' understanding and application of computer science concepts, with a total of 70 marks available.

Uploaded by

deepa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

SUNRISE ENGLISH PRIVATE SCHOOL, ABU DHABI

SECOND TERM EXAM (2024-2025)

Date – Friday
Date-– February 21 ,2025
Grade -11 Time –3 Hours
Subject – COMPUTER SCIENCE Marks – 70
Subject Code – 065 No. of Pages –8

General Instructions:
1. Please check this question paper contains 37 questions.
2. All questions are compulsory. However, internal choices have been provided in some questions.
Attempt only one of the choices in such questions
3. The paper is divided into 5 Sections- A, B, C, D and E.
4. Section A consists of 21 questions (1 to 21). Each question carries 1 Mark.
5. Section B consists of 7 questions (22 to 28). Each question carries 2 Marks.
6. Section C consists of 4 questions (29 to 32). Each question carries 3 Marks.
7. Section D consists of 2 case study type questions (33 to 34). Each question carries 4 Marks.
8. Section E consists of 3 questions (35 to 37). Each question carries 5 Marks.
9. All programming questions are to be answered using Python Language only.
10. In case of MCQ, text of the correct answer should also be written.

SECTION A

1 Which of the following Boolean operator operate on single input? 1


a) NOT
b) AND
c) OR
d) NAND

2 Which of the following unit is responsible for converting the data 1


received from the user into a computer understandable format?
a) Control Unit
b) Input Unit
c) Output Unit
d) Memory Unit

3 Variables in Python do not have fixed memory locations. (True/False) 1

4 The smallest individual unit in a program is called ______________. 1

1
5 Evaluate the following expression and identify the correct answer. 1

16 - (5 - 2) * 3 + 2**3 * 2
a) 0
b) 47
c) 23
d) 20

6 Kishore is sales manager of xyz corp. He wants to calculate average sale 1


of his company using Python. The function to accomplish this is_____
a) statistics.mode()
b) statistics.median()
c) statistics.mean()
d) None of the above

7 Sarita learnt about some sequence in Python that stores data as 1


key:value pairs, but she has forgotten its name, name it. Is it mutable or
immutable?

8 Write the statement to add a single item 25 to an existing tuple, Flowers. 1

9 Which of the following functions will always return a tuple of 3 1


elements?
a) split()
b) index()
c) partition()
d) replace()

10 Which of the following will result in an error? str1=”python” 1


a) print(str1[2])
b) str1[1] = “x”
c) print(str1[0:9])
d) Both (b) and (c)

11 If s="board Exam" 1
s.capitalize() = ____________________

2
12 Which of the following can add only one value to a list? 1
a) append()
b) extend()
c) add()
d) none of these

13 The hexadecimal equivalent of (14)10 is ______________ 1

a) D
b) C
c) E
d) F

14 Anuj wrote the following code. How many times is the word 1
“Welcome” printed in the following code?

t = “i love python”
for ch in t[2:7]:
print (“Welcome”)

15 What is the output of this expression, 3*1**3? 1


a) 27
b) 9
c) 3
d) 1

16 What could be the minimum and maximum possible outcomes for the 1
following?

import random
print( random.randrange( 20,30) * 2)

17 What will be the output of following program? 1

data = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]]


print(data[1][0][0])

3
What
18 can happen when you give your personal data (email, address, photos 1
you post…) in exchange for free apps and services?

a) Nothing can happen. Your data is not allowed to be passed on to


anyone
b) It isn’t really used, it’s just compulsory to ask for that information
c) When giving your email you’re automatically entered in a lottery
where you can win something
d) Everything you do online is of value and is used by companies
looking to target their advertising

19 What is the most important activity in system hacking? 1


a) Information gathering
b) Cracking passwords
c) Escalating privileges
d) Covering tracks

Q20 and 21 are ASSERTION AND REASONING based questions. Mark the
correct choice as
a) Both A and R are true and R is the correct explanation for A
b) Both A and R are true and R is not the correct explanation for
c) A is True but R is False
d) A is false but R is True
20 Assertion (A) : Comments are non-executable statements that enable 1
the users to understand the program logic.
Reason (R) : They are basically statements used to put remarks. The
comments are used to explain the code and to make it more informative
for the users.
21 D1= {‘A’: ‘CS’, ‘B’ : ‘IP’} 1
D2= { ‘b’ : ‘IP’, ‘a’ : ‘CS’}
Assertion: Output of print (D1==D2) is True.
Reason: Dictionary is a collection of key-value pairs. It is not a
sequence.

4
SECTION B
22 Ms. Reema will be teaching her students some techniques for 2
problem solving today. Name these techniques. Which of these is
a pictorial technique and which one is closer to a HLL program?

23 Draw logical circuit for the following expression: 2


A . (A’ +B) .(A+B’)

24 What are data types? What are Python’s data types? 2

25 Convert the for loop into while loop. 2

for x in range (8, 24, 4):


print (x)

26 Write the output of the following code: 2

str= “Program@PROGRAM@program”
print(str.split(“@”))
print(str.count(“program”))
print(str.find(‘@’))
print(str.isalnum( ))

27 Anita read an article in today’s newspaper about GOI’s digital India 2


program. But looking around in the society she found that there
are still many people who are too far from the reaches of
technology. Can you explain two reasons for this.

28 What are cookies? How are they used by websites to track you? 2

SECTION C
29 Draw a flowchart to generate the Fibonacci Series as 0,1, 1, 2, 3, 5, 3
8…. Upto N terms.
Where N is the number of terms given by the user.

5
30 i) Predict Output: 3
L=[6,12,18,24,30]
for i in L:
for j in range(1,i%5):
print(j,'#',end='')
print()
OR

ii)Predict Output:
values = [[3, 4, 5, 1 ], [33, 6, 1, 2]]
for row in values:
row.sort()
for element in row:
print(element, end = " ")
print()

31 Give the output of following Python codes: 3


x = “Marvellous”
print (x[3:], “and”, x[:2])
print(x[-7:], “and”, x[- 4:-2])
print(x[2:7], “and”, x[-4:-1]

32 i)List few practices to ensure confidentiality of Information: 3


OR
ii) What do you understand by Net Etiquettes? Explain any two
such etiquettes.

SECTION D
33 1. A data analyst needs to clean up user input by removing any 2+2
extra spaces at the beginning and end of each entry. Which
Python string function should they use?
2. A programmer is developing a password validation system. They
need to check if the password contains only alphabets and
numbers. Which function should they use?
3. The bookstore needs to remove sold-out books from the
inventory. Which function removes an item from a list by its
value?

6
4. The bookstore wants to arrange books alphabetically. Which list
method would you use to sort the inventory list in ascending
order?

34 E-waste is becoming one of the fastest growing environmental 4


hazards in the world today. If it is not properly treated or
disposed of it can cause serious health hazards.
1. What is E-waste?
2. Name two hazards posed by e- waste.
3. Name an organization responsible for e-waste
management.
4. What are the three r’s of E- waste management?

SECTION E
35 1. Write program using nested loop to display the following 3+2
pattern.
1
13
135
1357

2. Write a program to check whether a number is divisible by


7 or not. If divisible find the square root of the number else
display the cube of the number.

36 1. Convert the following 2+2+1

a) (11100.1010)2 to ( )8
b) (10AF) 16 to ( )2

2. Draw the symbol of NAND gate and write down truth table for
this.

3. Write the full form of ASCII.

7
37 Write a program to create a dictionary with Bookid, Bookname, 5
and Price of n books. Data stored in dictionary is as follows

{ Bookid: [Bookname, Price] }

Perform the following:

 Accept a Bookid from user and display the details of that book.

 Delete the details of a particular book with the given book id.

 Increase the price of a particular book by 50

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy