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

11-COMPUTER SCIENCE-SEE-2024_unlocked

The document is an examination paper for Class XI Computer Science, conducted by Kendriya Vidyalaya Sangathan for the session ending in 2023-24. It consists of five sections, with various types of questions including true/false, multiple choice, short answers, and programming tasks, all requiring answers in Python. The total marks for the exam are 70, and it includes instructions for each section and specific coding tasks.

Uploaded by

nikhilnayak9178
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)
6 views

11-COMPUTER SCIENCE-SEE-2024_unlocked

The document is an examination paper for Class XI Computer Science, conducted by Kendriya Vidyalaya Sangathan for the session ending in 2023-24. It consists of five sections, with various types of questions including true/false, multiple choice, short answers, and programming tasks, all requiring answers in Python. The total marks for the exam are 70, and it includes instructions for each section and specific coding tasks.

Uploaded by

nikhilnayak9178
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/ 5

KENDRIYA VIDYALAYA SANGATHAN: BHUBANESWAR REGION

SESSION ENDING EXAMINATION 2023-24


CLASS XI
TIME: 3 HOURS COMPUTER SCIENCE (083) M.M.70

General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A have 18 questions carrying 01 mark each.
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.One internal choice is given in
Q30.
6. Section D has 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each. One internal choice is given in Q35
8. All programming questions are to be answered using Python Language only.

Q. No SECTION A Marks
1 State True or False: 1
Primary Memory is a section of computer memory that the CPU can access directly. Primary
Memory has a faster access time than secondary memory.

2 What will be the output of the following statement: 1

import math
print(math.ceil(3.956)+math.floor(3.956))

(a) 8 (b) 6 (c) 7 (d) Syntax Error

3 _______________ is the trail of data we leave behind when we visit any website (or use any 1
online application or portal) to fill-in data or perform any transaction.

(a) Digital footprint (b) Hacking (c) phishing (d) Plagiarism

4 Satwik, Bhabani and Abhas went to Amar’s High Speed Internet gaming internet cafe, and they 1
used the computers and left the place after 3 hours but forgot to sign off from their email
accounts. Later, Amar started using those same computers. He is now logged into their email
accounts and sends inflammatory email messages to some other persons using the email
accounts of Bhabani and Satwik. Amar’s activity is an example of which of the following
cybercrime?

(a) Hacking (b) Identity theft & Cyber bullying (c)IPR Issue (d) Plagiarism

5 What will be the output of the following code? 1


L=[1,2,3,4,5,6,7,8,9]
print(L[-1:0])

(a) [9] (b) [9,8,7,6,5,4,3,2,1] (c) [ ] (d) [9,1]

p.t.o.

Page 1 of 5
6 Which of the following is not a valid operator used in python? 1

+, -, **, %, /, <>, //,< , >, is, is not, in, not in

(a) <> (b) not in (c) is not (d) //

7 __________ is all about an ideal pattern of behavior for Internet users, guidelines about what 1
is acceptable in an online medium for personal and professional use.

(a)Cybercrime (b) GPL (c) Apache (d)net etiquettes

8 Predict the correct output of the following code: 1

d="My Name is Abhishek Panigrahi"


s=d.split()
print(s.pop())

(a) Abhishek Panigrahi (b) My Name (c) Abhishek (d) Panigrahi

9 If x=100 and y=10 find the correct value of z as per the following code: 1

z=x>y+90

(a) 91 (b)90 (c) True (d) False

10 Which data type in Python is used to represent the absence of a value? Which is not same as 1
not the same as 0, False, or an empty string.

(a) Null (b) None (c) NaN (d) Undefined

11 The equivalent statement for the following math expression in python is: 1

(a) a2+b2+2ab/c2 (b) (a+b)*2 / c*2

(c) ((a+b)*2) / c*2 (c) (a+b)**2 / c**2

12 1
What will be the value of p after the execution of the following code:

p,n=0,5
while True:
n-=2
p=p+1
if n>1:
break
print(p)

(a) 1 (b) 2 (c) 3 (d) 4

Page 2 of 5
13 Which of the following is a mutable data type in Python? 1
(a) Tuple (b) List (c) String (d) Integer

14 Which logic gate returns true only if exactly one input is true? 1

(a) NOT (b) AND (c) NOR (d) XOR

15 Which open-source software license allows users to freely use, modify, and distribute the 1
software, provided they grant the same freedoms to others?

(a) Creative Commons (b) GPL (GNU General Public License)


(c) Patent license (d) None of these

Q.16 and 17 are assertion and reasoning based questions . Mark the correct choice as
(a) both A and R are true and R is correct explanation of A.
(b) both A and R are true but R is not the correct explanation of A.
(c) A is True but R is False
(d) A is False but R is True
16 Assertion (A) : String is a mutable data type in python. 1
Reason(R) : String once created we cannot change its contents.

17 Assertion (A): Dictionary in Python holds data items in key-value pairs. Items in a dictionary are 1
enclosed in curly brackets { }. Every key is separated from its value using a colon (:) sign.
Dictionary can be accessed using the key.
Reason(R): D={1:"Farhad",2:"Amar"} # the code is an example of dictionary.
D[1]='Farhad Hussain' # used to access and modify the dictionary.

18 What type of malware is designed to display unwanted advertisements on a user's device? 1

(a) Virus (b) Trojan (c) Adware (d) None of these

QNo. SECTION B 2 X7=14

19 What is Open Source software and FOSS? 2

20 The following python code is having syntax errors. Rewrite the correct code and underline the 2
corrections made.
n=INT(input("Enter any No.:"))
primeFlag=True
if n < 2:
primeFlag=False
for i in range(2, int(n**0.5) + 1)
if n % i = 0:
primeFlag=False

if primeFlag:
print(n, " is a prime number.")
Else:
print(n, " is not a prime number.")

Page 3 of 5
21 Explain the similarities and differences between compiler and interpreter? 2

22 What are keywords? Write any two keywords. 2

23 What are the difference between Virus and Trojans? 2

24 Draw a flowchart that will accept any two integers, subtract the small value from the greater 2
value, and print the subtraction result.

25 Write the following code using for loop in python programming language. 2
num = 0
while num <=10:
print(num)
num += 2

QNo. SECTION-C 3X5=15


26 A dictionary named dd is given with following values: 3
dd={1:"Akanksha",2:"Shivika", 3:"Astha", 4:"Suchismita", 5:"Debasmita"}
Find the output of the following print statements:
(i) print(list(dd.keys()))
(ii) print(list(dd.values()))
(iii) print(max(dd)+min(dd))

27 Write a program, which will accept a dictionary with key:value pair as : 3


Roll_no: [list with 5 subject marks] and print the roll number and total mark of the student
who scored the highest mark.
Example: if the inputted dictionary is :
{1:[80,90,59,60,35], 2:[90,80,80,60,90],4:[80,50,50,70,40]}
Then the program should display the highest mark details as:
Roll: 2 Highest Mark: 400

28 Write a Python program to print the following patterns using nested loops: 3
54321
4321
321
21
1
29 Define cyber safety and outline the essential measures required to ensure it effectively. 3

30 (a) The following statement is True or False: [1 mark] 3


Malware is a term used to describe hardware components of a computer system.

(b)What are the various ways of e-waste management? [2 marks]


OR
What is the difference between Hacking and Eavesdropping?

QNo. SECTION-D 5x3


31 Answer the following questions: 5
(a) 1 GB = ___________ MB. [1 mark]
(b) Write De Morgan’s Boolean Laws. [1 mark]
(c) (217)8 = (________) 2 [1 mark]
(d) Draw the logic circuit diagram of the following Boolean expression:
F=(A.B)+(A.C)’ [2 marks]
Page 4 of 5
32 Two lists are given as L1 and L2: 1x5
L1=[10,20,2]
L2=[20,"AMAR",('KVS','PMKVN'),[5,4]]

Write the output of the following codes as per the values in the above list L1 and L2:
(a) print( L2[3]*L1[-1])
(b) Print(L2[0:4:2])
(c) print(L1[len(L1)-1])
(d) print(L2[2][1])
(e) L2.pop()
33 Go through the following python code and answer the question: [2 marks] 5

import random
L= [1,2,3,4,5,6,7];
START = random.randint(1,3)
END= random.randint(2,4)
for k in range(START, END+1):
print(L[k], end = "#")

(a) What possible output are expected to be displayed on the screen when the above
program is executed?
i) 1#2#3# ii) 4#5#6#
iii) 5#6#7# iv) 2#3#4#

(b)Go through the following python code and write the output : [3 marks]

name="Pradhan Mantri Kaushal Vikash Yojana"


name=name.split()
for k in range(0,len(name)):
for i in range(0,k+1):
if name[i][0].isupper():
print(name[i][0], end="")
print()
p.t.o.
Q.No. SECTION-E 4x2

34 Two Tuples are given as T1 and T2: 4

T1=(10,20,30,20)
T2=(50,60)
Write the output of the following codes as per the values in the above Tuples:
(a) print(T1.count(20))
(b) print(T1+T2)
(c) print(T1.index(20))
(d) print(T1[::-1])
35 (a) Write a python program that will accept N elements from the user to a List and print the 4
sum of all the odd element in the list. [2 marks]

OR
Write a Python program that prompts the user to enter a tuple of numbers and counts and
print how many of those numbers have digit 5 in its units place.

(b) Write a Python program that prompts the user to enter a string and counts and displays
the number of vowels and digits in it. [2 marks]
- END -
Page 5 of 5

You might also like