0% found this document useful (0 votes)
15 views5 pages

Class 11

The document is a question paper for Class XI Computer Science (083) at PM Shri Jawahar Navodaya Vidyalaya Mudipu for the session 2024-25, consisting of 37 questions divided into five sections, covering various topics in Python and computer science. Each section has a different mark allocation, with programming questions specifically requiring Python language. The paper includes multiple-choice questions, programming tasks, and theoretical questions, all aimed at assessing students' understanding of computer science concepts.

Uploaded by

19thbatchforever
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)
15 views5 pages

Class 11

The document is a question paper for Class XI Computer Science (083) at PM Shri Jawahar Navodaya Vidyalaya Mudipu for the session 2024-25, consisting of 37 questions divided into five sections, covering various topics in Python and computer science. Each section has a different mark allocation, with programming questions specifically requiring Python language. The paper includes multiple-choice questions, programming tasks, and theoretical questions, all aimed at assessing students' understanding of computer science concepts.

Uploaded by

19thbatchforever
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

PM SHRI JAWAHAR NAVODAYA VIDALAYA MUDIPU

Class: XI Session: 2024-25 Computer Science (083)


Question Paper (Theory) Maximum Marks: 70
Time Allowed: 3 hours

General Instructions:

This question paper contains 37 questions.


● All questions are compulsory. However, internal choices have been provided
in some questions. Attempt only one of the choices in such questions
● 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.
● Section B consists of 7 questions (22 to 28). Each question carries 2 Marks.
● Section C consists of 3 questions (29 to 31). Each question carries 3 Marks.
● 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.
● All programming questions are to be answered using Python Language only.
● In case of MCQ, text of the correct answer should also be written.
SECTION –A(1*21=21)
1-Which of the following is an invalid datatype in Python?
(a) float (b) bool (c)int (d)Real
2-The base of Hexadecimal number are?
(a) 6 (b) 8 (c)10 (d)None
3-Which gate produces 1 when all input are low?
(a) NOT (b) NAND (c)AND (d)OR
4-Which of the following memory types cannot store data permanently?
(a) RAM (b) cache (c)Flash memory (d)Hard disk
5-In the python statements x=a+5-b : a and b are called?
(a) Expression (b) Operands (c)Operator (d)Equation
6- The return type of input() function is:
a. integer b. list c. string d. tuple
7-Which of the following is not an immutable type in python?
(a) string (b) tuples (c)Both a and b (d)dictionary
8- Evaluate the following expression and identify the correct answer.
30 - (5 + 1) * 6 + 2**3 * 2
a. 10 b. 20 c. 30 d. 40
9-Which of the following statement(s) would give an error during execution of the
following code?
s = ‘Python supremacy’
print(s)
1|Page
#Statement 1
print(s[0]+ ‘O’ ) #Statement 2
s[0] = ‘p’
#Statement 3
print(max(s)) #Statement 4

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

Which one of the following in correct ascending order of size for nibble, byte, kb,
bit, mb
a) bit<byte<nibble<mb<kb b) nibble<byte<bit<kb<mb
c) bit<byte<nibble<kb<mb d) bit<nibble<byte<kb<mb
11-____________________is a system software that translates and executes
instructions
written in a computer program line-by-line.
a) Assembler b) Interpreter
c) Compiler d) None of these
12-Which encoding scheme has code points for all the known languages
a) ASCII b) Unicode
c) ISCII d) none of these
13-(3984.75)10 = ()16
a) F90.C b) 9F.4B
c) F90.4B d) 9F.C
14-Unlawfully gaining sensitive information of someone by posing as genuine entity
a) Spamming b) Hacking
c) Cracking d) Phishing
15-Gaining an unauthorized access is called
a) Spamming b) Hacking
c) Cracking d) Phishing
16-A program which appears safe and genuine but actually is not
a) Spyware b) Worm
c) Trojan d) Adware
17. State True or False: The Python interpreter handles logical errors during code
execution
18. Which of the following expressions evaluates to False?
(A) not(True) and False (B) True or False
(C) not(False and True) (D) True and not(False)
19. What will be the output of the following code snippet?
message= "World Peace"
print(message[-2::-2])
2|Page
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 A
(c) A is True but R is False
(d) A is false but R is True
20-Assertion (A) :- In python string value always contain inside single or double quotes.
Reasoning (R):- String values can be changed by index.
21-Assertion (A) :- In python there are two mode to run the code.
Reasoning (R):- Script mode , Interactive mode and Idle mode are used to run the
code in python
.

SECTION B(2*7=14)
22-. Identify the output of the following Python statements.
y=2
while y < 9:
print(y, end=''”)
y=y+2
23-Convert the following decimal number into octal and hexadecimal number systems
(589)10= ( ? )2 and (? )16
24. Convert the following for loop code in to while loop.
for x in range (2,100,2):
print(x)
25. Draw logic circuit for following expression:
(i) AB’ + B(A+C)
(ii) (AB+BC)(AC)
26. Explain use of % and //operators with example?
27- Write differences between logical errors and syntax errors?
28-What is the type casting? Explain implicit and explicit type casting?

3|Page
SECTION –C(3 QUESTION 3 MARKS EACH)
29-Write output of the following Python code:
P=[1,6,9,3,8,3,1,7,3,9,1]
Q=[2,3,7,9,5,3,5,9]
R=[ ]
for i in P:
if i in Q and i not in R:
R.append(i)
print(R)

30. Write a program to check whether an integer number input by a user is prime or
not?
OR
Write a program to input an integer value and display it in reverse order.
31- What do you mean by data types? Explain different datatypes available in python
with examples.
SECTION D( 4 LONG ANSWER 4 MARKS)
32
(i) Write logical expression for the following:
Name is Raj and age is between 18 and 25
(ii) if….elif…..,else are not block or compound statement (True/False)
(iii) Write a program to input an alphabet and check it is a vowel or not.
OR (Choice is only for Part (iii)
(iv) Write a program to input a number and check it is odd/even.
33- What will be the conversion of the following statements?
(i) (106)10 = ( ? )16
(ii) (78)10= ( ? )2
(iii) ((122)10 = ( ? )2
(iv) (13B)16 = ( ? ) 10

34. Write a program to print grade of a student as per input percentage as per criteria
given below:-
Percentage range Grade
More than or equivalent 90 A
More than 80 B
More than 60 C
More than 50 D
More Than 33 E
Less than 33 F
35. Write a python code to read a string and Count alphabets, digits, and special
symbols from agiven string

4|Page
Given:str1 = "P@#yn26at^&i5ve"
Expected Outcome:
Total counts of chars, digits, and symbols
Alphabets = 8

SECTION D(2 LONG ANSWER 5 MARKS)


36. a. Rewrite the following code after removing syntax error and underline the
correction:

x=int(“Enter value for x:”)for y


in range[0,11]:
if x=y
print(x+y)Else:
Print x-y
b. Generate the series 1,2,4,8,16,32,64 by using loop.
37- a. (i) Complete the following code for calculating factorial of a number
n = int(input(“Enter a number :”))
f= ___________________________________________________ #Statement-1
for i in range(1,-----,1): #Statement-2
f=f*i
print(‘factorial is’, f)

(ii) What will be the output of the following code


d1={1:10,2:20,3:30,4:40}
d2={5:50,6:60,7:70}
d1.update(d2)
print(d1)
print(d2.get(3))
print(d2.popitem())

OR

b. (i) Complete the following code to compute the sum of first n natural numbers
n = int(input(“Enter a number :”))
s= ___________________________________________ #Statement-1
for i in range(n):
s= ------------ #Statement-2
print(‘Sum is’, s)

(ii) Perform following operations on a dictionary using dictionary methods


only: d = {1: ‘one’, 2: ‘two’, 3 : ‘three’ }
(a) Add a key 5 with value ‘five’
(b) Remove the key value pair for key 2
(c) Print value at key 3

**********************************ALL THE BEST*********************************

5|Page

You might also like