You are on page 1of 4

CLASS: XI SESSION: 2023‐24

COMPUTER SCIENCE (083)


SAMPLE QUESTION PAPER (THEORY)
Maximum Marks: 70 Time Allowed: 3 hours

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 type 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. One internal choice is given in
Q34 against part c only.
8. All programming questions are to be answered using Python Language only.
PART‐A
1. Which of the following memory of the computer is used to speed up the computer processing? 1
a. Cache b. ROM c. RAM d. None of these

2. Four Bits makes _______. 1


a. 1Byte b. 1KB c.1MB d. 1Nibble

3. Which of the following is correct about memory and storage? 1

a. Memory is temporary, Storage is temporary


b. Memory is temporary, Storage is permanent
c. Memory is permanent, Storage is temporary
d. Memory is slow, Storage is Fast

4. Is Python code compiled or interpreted? 1


a) Python code is both compiled and interpreted
b) Python code is neither compiled nor interpreted
c) Python code is only compiled
d) Python code is only interpreted

5. All keywords in Python are in _________. 1


a) Capitalized b) lower case c) UPPER CASE d) None of the mentioned

ORANGE EDUCATION 1
6. What will be the output of the following Python code? 1
x = 'abcd'
for i in x:
print(i.upper())
a. a B C D b. a b c d c. Error d. A B C D in vertically

7. NAND Gate can be simplified as: 1


a. AND followed by OR b. AND followed by NOT
c. NOT followed by AND d. OR followed by AND

8. Anju wants to add comment with her python program , which symbol she will use to add comment. 1
(a) // b) # c) “’ d) $
9. What is the value of the expression 125//25? 1
a) 5 b) 5.0 c) 2.5 d) none of these
10. What will the following code result as? 1
import math
x=144
print (x > 0 and math.sqrt(x))
a. Ture b. 1 c. 10 d. 10.0
11. Function range(5) is equivalent to : 1
(a) range(1,5) b. range(0,5) c. range(0,5,2) d. range(1,5,0)

12. Which of the following can add only one value to a list? 1
(a) append() (b). remove() c. pop() d. len()

13. What is the output produced when this code executes? 1


a=0
for i in range(4,8):
if i %2==0:
a=a+i
print(a)
(a) 4 (b) 8 (c) 10 (d) 18

14. Select the correct output of the following String operators. 1


str1='One'
print(str1[:3]+'Two' +str1[‐3:])
(a) OneOneTwo (b) TwoOneOne (c) OneTwoOne (d) Error

15. Firewalls are used to protect against___________. 1


(a) Data Driven attacks (b) Fire attacks (c) Virus Attacks (d) Unauthorized access

16. Which of the following is not a cyber crime? 1


(a) Scam (b) Phishing (c) Child Pornography (d) Downvote a social media post
17 and 18 are ASSERTION AND REASONING based questions. Mark the correctchoice 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

ORANGE EDUCATION 2
17. Assertion :‐ Phishing is a type of deception. 1
Reason ‐ Phishing is a practice of attempting to get sensitive information by taking the user to
authentic looking website.

18. Assertion:‐In Python, a variable can hold values of different types at different times. 1
Reason‐ A variable’s data type once assigned ,remains fixed throughout the program.

Part‐B
19. What is the difference between Interactive mode and Script Mode in Python? 2

20. What is meant by derived logical gates? 2

21. Differentiate between system software and an application software. 2


Or
What is cloud computing?

22. Write a program that takes a sentence as an input where each word in the sentence is separated by a 2
space the function should replace each blank with a hyphen an then print the modified sentence.
23. What is difference between dictionaries and lists? 2
24. 2
What is the importance of the IT Act 2000?
OR
Write a shout note of e‐Waste.

25. 2
Suggest some awareness programs on anti‐phishing to safe online.
Part‐C
26. 3
Explain the basic architecture of computer system.
27. Explain each of the following with an example. 3
Or
What is meant by relational operators? What are its types?

28. Write a program to find and display the sum of the factorial of all the natural numbers from 1 to n. 3
Or
Write a program to display the first ten numbers of the Fibonacci series 0,1,2,3,………………..

29. What is difference between del keyword and pop() function. 3

30. What do you understand by Ethics? Mention at least Three ethical values related to computers. 3
Part‐D
31. Write a program to find out the difference between compound interest and simple interest. The 5
program terminates, as soon as the user enters 0 (zero) simple interest.
Or
Write a program to accept a number and check whether the number is a palindrome or not. Display the
message accordingly.

32. Write a Python program to find the maximum and minimum number in a list of numbers. 5
Or

ORANGE EDUCATION 3
Write a Python code to assign three dictionaries each containing name, age and salary or an employee.
The Company has decided to increase the salary by 20% for the employee whose age is 55 years and
above . Display the original and updated dictionaries.
33. Amar has created a group on whatsapp to share the study material. But his friend Rohit is posting 5
rumors in the group.
a) Which term is used for the task done by Rohit?
b) Write any three safety measures Amar has to follow for this situation.
c) What do you mean by cyber stalking?
d) What do you mean by cyber bullying?
e) Which government portal helps to control cybercrime in India?

Part‐E
34. Observe the code given below and write answer of the following questions: 1+1+2
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


ii. Write if condition to check whether input is positive number or not ‐ Statement 2
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. Kartik is learning python modules. Help him to complete the given partial code: 4
import ____________ # Statement 1
TEXT="CLASS XI"
COUNT=____________ # Statement 2
C=3
while TEXT[C]!='L':
print(TEXT[C]+TEXT[COUNT]+'*',)
COUNT=COUNT+1
C=C‐1

I. Write the name of module required to be imported – Statement 1


II. Write the random function to generate random number between 0 and 3 – Statement 2
III. Write the possible output for the given code
IV. What are the minimum and maximum values can be generated from this module

ORANGE EDUCATION 4

You might also like