0% found this document useful (0 votes)
26 views

11 CS FOR MATHS-DEVANAND

This document is an annual examination paper for Class 11 Computer Science at Padmasree Central School for the academic year 2023-24. It contains five sections with a variety of question types, including multiple choice, short answer, and programming tasks, all to be answered in Python. The total duration of the exam is 3 hours, and the maximum marks are 70.

Uploaded by

suby sbabu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

11 CS FOR MATHS-DEVANAND

This document is an annual examination paper for Class 11 Computer Science at Padmasree Central School for the academic year 2023-24. It contains five sections with a variety of question types, including multiple choice, short answer, and programming tasks, all to be answered in Python. The total duration of the exam is 3 hours, and the maximum marks are 70.

Uploaded by

suby sbabu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

PADMASREE CENTRAL SCHOOL ,ENATHU

Annual Examination 2023-24

Subject: Computer Science (083)


Time: 3:00 Hours Class 11 Max. Marks:
70 General Instructions

1. This question paper contains five sections, Section A to E.


2. All questions are compulsory.
3. Section A has 18 questions carrying 01 mark each.
4. Section B has 07 Very Short Answer questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
6. Section D has 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each.
8. All programming questions are to be answered in Python Language only.

Section –A
1. Which of the following python mode allows to write python program with
multiple lines?
a) Interactive Mode b) Script Mode
c) Client Mode d) Debug Mode
2. 8 bits makes
a) 1 Byte
c) 1 MB
b) 1 KB
d) 1 Nibble
3. Which of the following is not a logical gate?
a) AND
c) NOT
b) OR
d) NONE
4. Identify the Python keyword

a) if c) min
b) max d) math
5. To run python program which of the following key is used?
a) Ctrl + F5
c) Ctrl + F9
b) Alt + F5
d) F5
6. Which of the following is not a python tokens?
a) Keyword c) List
b) Literals
c) Operato
rs
7. What will be the output of the following code segment?
a,b=5,6
b,a=a,b
print(a,”+”,b)
a) 5 + 6
c) 11
b) 6 + 5
d) None

8. Kriza wants to divide a number and store the result without decimal
places into an integer variable. Suggest her an appropriate operator from
the following:
a) / c) //
b) % d) Both a) & b)

9. What will be the output of following code:

if True:
print(“true”)
else:
print(“false”)
c) true
a) True
d) false
b) False
10. Dhyana wants to terminates the while loop at the end of program.
Suggest her a suitable keyword from the following:
a) terminate c) continue
b) break d) stop

11. Observe the given code and select an appropriate output:


a=’hello’
b=str(30)
print(a+b)
a) h c) 30
b) hello d) hello30
12. Rudra wants to access a second last list element of list object L. Help
him to select an appropriate option to accomplish his task.
a) L[2] c) L[len(l)-2]
b) L[-2] d) L-2
13. Consider these statements:
a=56,78,32,12
print(type(a))
What will be the output?
a) <class ‘int’> c) <class ‘list’>
b) <class ‘tuple’> d) <class ‘str’>
14. Observe the given declarations:
i. d={}
ii. d=dict()
iii. d=Dict()
iv. d=dict.fromkeys()
Which of the following are correct ways to create an empty dictionary?
a) i and ii
c) i,iii and iv
b) i,ii and iv
d) i and iii
15. Jay forgot to sign off from his email account on his laptop. Later, his
classmate Rishi started using the same computer. He is now logged in as
Jay. He sends inflammatory email messages to few of his classmates using
Jay’s email account. Rishi’s activity is an example of which of the following
cybercrime? Justify your answer.
a) Hacking c) Cyber bullying
b) Identity theft d) Plagiarism
16. The while loop does not have an update statement is called ______
a) empty while loop
b) do while loop
c) infinite while loop
d) static while loop
17 and 18 are ASSERTION AND REASONING based questions. Mark the
correct choice as
(A) Both (A) and (R) are true and (R) is the correct explanation (A)
(B) Both (A) and (R) are true and R is not the correct explanation (A)
(C) (A) is True but (R) is False
(D) (A) is false but (R) is True
17. Assertion(A): Data submitted online intentionally known as active digital
foot print.
Reasoning(R): Active digital footprints includes emails, replies,
comments or posts
made on different websites or apps.

18. Assertion(A): Python lists allows to modify their elements by indexes


easily.
Reasoning(R): Python lists are mutable.

Section B

19. What do you mean by identifiers? List out any two rule of identifier naming
convention
20. Convert the following binary numbers to as directed:
a) (1011011)16 b) (1010101) 1 6 c)
(11110011) 8 d) (10010011) 8
21. What do you mean by tokens? List out python tokens
22. Consider the following string
mySubject:

mySubject = "Computer Science"


What will be the output of:
a) print(mySubject[:3])
b) print(mySubject[-5:-1])
c) print(mySubject[::-1])
d) print(mySubject*2)

OR
Differentiate between append() and extend() methods with example.
23. Create a dictionary to assign day number as key and day name as value.
24. List any four benefits of e-waste management.
OR
Mention any four net etiquettes.
25. What do you mean by packing and unpacking of tuples? Illustrate answer with
example.
Section C
26. Evaluate the expressions:

a) 5+5*10**2//4 b) 3*5-4**2 c) not (10<5) and


(13>9) or (5==6)
27. Explain the numeric data types used in python with example.
OR
Explain the following string operations in detail with example.
a) String Concatenation
b) String Replication
c) Membership
28. Find the output of the given code:
l = [6 , 3 , 8 , 10 , 4 , 6 , 7]
print( '@', l[3] - l[2])

for i in range (len(l)-1,-1,-2) :

print( '@',l[i],end='' )

OR
What will be the output of the following code?
tuple1 = (11, 22, 33, 44, 55 ,66)

list1 =list(tuple1)

new_list = []

for i in list1:

if i%2==0:

new_list.append(i)

new_tuple = tuple(new_list)

print(new_tuple)

29. What are the characteristics of dictionary?


30. Write any three restrictions that needs be to keep in mind while creating
a dictionary.

Section D
31. Write an algorithm and flow chart to find the square of given number.
OR
Write a program to print the following pattern up to n
terms:

1
12
123
1234
32. Write a program to accept n number of elements and add them into a
list. Find the maximum and minimum values and print them.
OR
Write a program to create a dictionary as follows:
d={‘empno’:123,’ename’:’Smit’,’salary’:45000}
Print the names of employees who earns more than 20000 salary.
33. Compare lists and strings.

Section E
34. Observe the code given below and write answer of the following questions:
a,b=0,1
n= # Statement 1
if : #Statement 2
print(“Please enter a positive number”)
elif : #Statement 3
print(“You have entered 0”)
else:
#Statement 4
c = a+b
a=b
b=c
print(b)

i. Write input statement to accept n number of terms -> Statement 1


Write if condition to check whether input is positive number or not -
>Statement 2
ii.

iii. Write if condition to check whether input is 0 or not ->


Statement 3
OR (For iii Only)
Write for loop for to iterate the values up to n terms
35. Consider the code given below to compute energy through mass m

multiplied by the speed of light (c=3*108). Fill in the gaps as given in


statements.

import ___________ #Statement 1

m=_________________ #Statement 2

c= _____________ #Statement 3

e=_______________ #Statement 4

print(“Energy:”, e ,” Joule”)
i. Write a statement to import the required module to compute power

ii. Write a statement to accept floating point value for mass

iii. Write a statement to compute c as speed of light as given formula. Use

a function to compute the power.

iv. Write a statement to compute the energy as e = mc2

You might also like