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

SAMPLE PAPER - 1-XI - CS - Board

This document is a sample question paper for Class 11 Computer Science with a maximum of 70 marks and a duration of 3 hours. It consists of five sections (A to E) covering various topics including programming in Python, logic circuits, and error types. Each section contains different types of questions, including multiple-choice, short answer, and programming tasks.

Uploaded by

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

SAMPLE PAPER - 1-XI - CS - Board

This document is a sample question paper for Class 11 Computer Science with a maximum of 70 marks and a duration of 3 hours. It consists of five sections (A to E) covering various topics including programming in Python, logic circuits, and error types. Each section contains different types of questions, including multiple-choice, short answer, and programming tasks.

Uploaded by

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

Website: YouTube Channel: SuperNova-

www.Learnpython4cbse.com Learnpython4cbse

Class - 11
Sample Paper - 1
Maximum Marks: 70 Computer Science (083) Time Allowed: 3 hours

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

SuperNova-
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.

Learnpython4cbse
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. One internal choice is given in Q35 against part c only.
8. All programming questions are to be answered using Python Language only.

SECTION A
1. is the part of the CPU that performs the arithmetic operations. 1
A) ALU B) CU C) Memory D) None
2. A nibble in computer memory is a group of . 1
A) 8 bits B) 8 bytes C) 4 bits D) 4 bytes
Which of the following does not store data permanently?
3. 1
(i) Hard Disk (ii) Floppy disk (iii) RAM (iv) ROM
4. Which of the following is not an operating system? 1
a) Windows b) Linux c) Oracle d) DOS
5. Keys of the dictionary must be : 1
(A) Similar (B) Unique (C) Can be similar or unique (D) All of these
6. Which of the following fall under utilities software? 1
(i)Text editor (ii) backup (iii) Disk defragmenter (iv) All of the above
7. Is python a case sensitive language? 1
A) True B) False
8. Which of the following can be used as valid variable identifiers in Python? 1

i) 4th Sum ii) Total iii) Number# iv) _Data


9. To increase the value of k five times using an assignment operator, the correct expression 1
will be :

k += 5 B) k *=5 C) k = k**5 D) k =*5


10. What is the value of x ? 1
x = int (13.25 +4/2)
a) 17 b) 14 c) 15 d) 23
11. What will be the output of the following code:- 1
x = 73
y=x
%9
print(y)
12. The statement forms the selection construct in Python. 1
A) for B) while C) if D) None

By: Amjad 11_Sample Paper


Khan -1
Website: YouTube Channel: SuperNova-
www.Learnpython4cbse.com Learnpython4cbse

13. Suppose t = (1, 2, 4, 3), which of the following is incorrect? 1


a) print(t[3]) b) t[3] = 45
c) print(max(t)) d) print(len(t))
14. Identify the type of error 1
a=10 , b=0

SuperNova-
c=a/b

Learnpython4cbse
i) Semantics Error ii) Syntax Error iii) Run Time error iv )No Error
15. A loop becomes an infinite loop if a condition never becomes true. 1

a. True b. False

16. What is the output of following code : 1


L = [ 5, 8]
print (L * 3)
a) Syntax error
b) [5,8,5,8,5,8]
c) [15,24]
d) [8,11]
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the correct choice as
(i) Both A and R are true and R is the correct explanation for A
(ii) Both A and R are true and R is not the correct explanation for A
(iii) A is True but R is False
(iv) A is false but R is True
17. Assertion(A): Comments in the python start with the hash character, #, and extend to the end 1
of the physical line
Reason(R): Comments are interpreted and shown on the output screen.
18. Assertion(A): The input statement is used to get the output on the screen. 1
Reason(R): The value inputted by the user while executing a program are fetched and stored
in the variable using the input() function.
SECTION B
19. Draw logic circuit for following expression: 2

(A+B)’. (B’+C)
20. What is the purpose of count ( ) function in string ? Write an example of count (). 2
21. Predict the output of the following code: 2
x=1
if x>3:

By: Amjad 11_Sample Paper


Khan -1
Website: YouTube Channel: SuperNova-
www.Learnpython4cbse.com Learnpython4cbse
if x>4:
print(‘a’)
else:
print(‘b’)
elif x<2:

SuperNova-
if (x!=0):
print(‘c’)
print(‘d’)

Learnpython4cbse
22. Convert the following for loop code in to while loop.

for x in range (1,100,2):


2

print(x)
23. Explain use of % and //operators with example? 2
24. What do you understand by syntax error? Give an example in this context. 2
25. Define the term L- Value and R-Value with example. 2
SECTION C
26. State De Morgan’s law and prove it with the help of truth table 3
27. Find and write the output of the following python code : 3
Text=”Gmail@Com”
Len=len(Text)
ntext= “ “
for iin range(0,Len):
if Text[i].isupper():
ntext=ntext+Text[i].lower( )
elif Text[i].isalpha( ):
ntext=ntext+Text[i].upper( )
else:
ntext=ntext+’bb’
print(ntext)
28. Write a program to print grade of a student as per input percentage as per criteria given 3
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
29. Write a program to check whether an integer number input by a user is prime or not? 3
OR
Write a program to input an integer value and display it in reverse order.

By: Amjad 11_Sample Paper


Khan -1
Website: YouTube Channel: SuperNova-
www.Learnpython4cbse.com Learnpython4cbse
30. Explain Arithmetic, Relational and logical Operators with one example for all these operators. 3
OR
What do you mean by data types? Explain different datatypes available in python with
examples.
SECTION D
31. Convert the following accordingly: 4+1

SuperNova-
(i) (106)10 = ( ? )16
(ii) (78)10= ( ? )2
(iii) ((122)10 = ( ? )2

Learnpython4cbse
(iv) (13B)16 = ( ? ) 10
(v) (101101)2=( ? )10
32. a) Rewrite the following code after removing syntax error and underline the correction: 3+2

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


for y in range[0,11]:
if x=y
print(x+y)
Else:
Print x-y

a) Generate the series

1,2,4,8,16,32,64 by using loop.


33. a. What is the output of this expression, print(‘Hello’==’Hello’) ? 1+2+2
b. What will be the output of following
code: x, y = 2, 6
x, y = y, x + 2
print(x,y)
c. Evaluate the following expressions
i) 12 + (3 ** 4 - 6) / 2
ii) 12 + 3 * 3-6 / 2
SECTION E
34 Write a python code to read a string and Count alphabets, digits, and special symbols from a 4
given string
Given:str1 = "P@#yn26at^&i5ve"
Expected Outcome:
Total counts of chars, digits, and symbols
Alphabets = 8

Digits = 3
Symbol = 4

By: Amjad 11_Sample Paper


Khan -1
Website: YouTube Channel: SuperNova-
www.Learnpython4cbse.com Learnpython4cbse
35 i) Write logical expression for the following: 4
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)

SuperNova-
Write a program to input a number and check it is odd/even.

************* End of Paper *******************

Learnpython4cbse

By: Amjad 11_Sample Paper


Khan -1

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