[go: up one dir, main page]

0% found this document useful (0 votes)
114 views4 pages

CLASS XI Computer Science

This document is a pre-annual exam paper for Class XI Computer Science, containing various sections with questions on Python programming and computer science concepts. It includes multiple choice questions, short answer questions, and programming tasks, with a total duration of 3 hours and a maximum score of 70 marks. The exam is structured into five sections, each focusing on different types of questions and topics related to Python and computer science.

Uploaded by

testqqqtest222
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)
114 views4 pages

CLASS XI Computer Science

This document is a pre-annual exam paper for Class XI Computer Science, containing various sections with questions on Python programming and computer science concepts. It includes multiple choice questions, short answer questions, and programming tasks, with a total duration of 3 hours and a maximum score of 70 marks. The exam is structured into five sections, each focusing on different types of questions and topics related to Python and computer science.

Uploaded by

testqqqtest222
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/ 4

Website: www.Learnpython4cbse.

com YoutubeChannel:SuperNova-Learnpython4cbse

NAVYUG CONVENT SCHOOL


PRE ANNUAL EXAM-(2024-25)
SUBJECT- COMPUTER SCIENCE(083)
CLASS – XI
TimeAllowed:3 hours

Maximum 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 1 mark each.
4. SectionBhas07VeryShortAnswertypequestionscarrying2markseach.
5. Section C has 05 Short Answer type questions carrying 3 marks each.
6. Section D has03 Long Answer type questions carrying 5 markseach.
7. Section E has 02 questions carrying 4 marks each.
8. All programming questions are to be answered using Python Language only.

SECTION A

1 Evaluate the following expression in Python: 1


print( 17//2 * 3 + 10.0)
a.34.5 b. 34.0 c.25.0 d. 34

2 Which of the following is an invalid data type in Python? 1


a.set b. None c. int d. Real

What will be the output of the following code:


3 1
NumLst = [2,5,1,7]
print(NumLst * 2)
a.[2,5,1,7,2,5,1,7]
b.[2,5,1,7][2,5,17]
c.[4,10,2,14]
d.Error

4 Consider the given expression: 1


False or not False and True
Whichofthefollowingwillbethecorrectoutputifthegivenexpressionis evaluated?

a. None
b. 1
c. False
d. True

5 Which of the following isa function of themath Module? 1


a. random()
b. mean()
c. floor()
d. median()

By:AmjadKhan #1/4 SamplePaper-4


Website: www.Learnpython4cbse.com YoutubeChannel:SuperNova-Learnpython4cbse

6 Is a software with source code that any one can inspect, modify, 1
and enhance.
a. Operating system
b. Utility software
c. Compiler
d. Open Source

7 The operator ‘and’ is a operator in Python ? 1


a. Logical
b. Relational
c. Arithmetic
d. Augmented

8 Which of the following outputs is the correct option for the code shown here ? 1
STR='TEXT CONTENT'
print(STR.strip('T'))
a. EX CONEN
b. EX CONTEN
c. EXT CONTEN
d. TEXT CONTEN

9 is a cyber attack, also known as sniffing. 1


a. Virus
b. Phishing
c. Spam
d. Eavesdropping

10 Which of the following is a Logic Gate? 1


a. not
b. in
c. between
d. like

11 Which of the following is the correct way to make a copyof a dictionary D ? 1


a. D1=D
b. D1+=D
c. D1=D.copy()
d. D1=D.assign()

12 Which of the following operators displays the remainder with integers ? 1


a. **
b. %
c. //
d.+

13 Which of the following is an example of system software ? 1


a. Open office
b. Windows
c. Antivirus
d. Firefox
14 Convert (0110101100)2 to hexadecimal 1

By:AmjadKhan #2/4 SamplePaper-4


Website: www.Learnpython4cbse.com YoutubeChannel:SuperNova-Learnpython4cbse

15 Are visitors who leave inflammatory comments in public comment 1


sections.
a. Cyber Trolls
b. Hackers
c. Digital footprints
d. Confidentiality

16 What will be the output of the given code? 1


import math math.floor(26.5)

a. 25
b. 26
c. 27
d. 26.5

17 1
Convert (100101.101)2 into decimal.

18 Define IDLE in python ? 1

SECTION B

19 Differentiate append () and extend () function in a list 2

Re write the following code after removing all the syntax errors with each of the corrections
20 2
underlined:
n=int(input("Enter number to check::") for i in range (2, n//2):
if n%i=0:
print("Number is not prime \n")
break else
print("Number is prime \n’)

21 Differentiate between copy rights and trade marks. 2

What will be the output of the following statements?


22 2

list1 = [12, 32, 65, 26, 80, 10]


list1.sort()
print(list1)

23 Write the results of the following: 2


a. print(6 * 15 - 2 // 7 - 2 * 3)
b. print(12 * 3 + 43 - 2 + 5 % 2)

24 Write a program to print the following pattern: 2

1 2 3 4 5:
12345
1234
123
12
1

25 Draw a logic circuit equivalent for the following Boolean Expression: 2


A’ + B’ + C’

By:AmjadKhan #3/4 SamplePaper-4


Website: www.Learnpython4cbse.com YoutubeChannel:SuperNova-Learnpython4cbse

SECTION C

Define the following terms :


26 3
a) Ransom ware
b) Cyber Crime

27 Draw a flow chart to convert temperature from Fahrenheit to Celsius. 3

28 Differentiate between split()and partition() in Python.Give suitable examples of each. 3

29 Write a Python code to accept a number and display its factors.The process should continue till 3
the user wants.
For Example
Enter N: 10
Factors: 1,2,5,10

30 Write a Python code to accept a string from the user,find and display the counts of special 3
characters, alphabets and digits present in it.

SECTION D

31 Write a Python code to 5


● Input 10 integers into a list NUM.
● Display all the multiple of 5 from the list NUM
● Display the highest and lowest integer from the the list NUM
● Display the list NUM in the ascending order.
Write a pseudo code to find the largest of the three numbers, taken as input from user.
32 5

33 Convert the following from one number system to another(show the complete working ) : 5
a. (512)10 = ( )2
b. (10010111)2 = ( )10
c. (451)8 = ( )16
d. (111001101)2=( )8
e. (175)10 = ( )8

SECTION E
Write the output of the following:
34 (a) 4
num1 = 4
num2 = num1 + 1
num1 = 2
print (num1, num2)

(b)

num1, num2 = 2, 6
num1, num2 = num2, num1 + 2
print (num1, num2)

35 Write a python code to accept values of X as float and N as int,find and display the sum of 4
following series:
(a) 1 + 4 + 7 + ... up to N
(b) 1/X1+1/X2+1/X3...up to Nth Terms

By:AmjadKhan #4/4 SamplePaper-4

You might also like