0% found this document useful (0 votes)
20 views6 pages

Sample Paper For RevisionTest

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)
20 views6 pages

Sample Paper For RevisionTest

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/ 6

Sample Paper

Session: 2024 – 2025

Grade: XI

Sub: Computer Science(083)

Maximum Marks: 50 Time allowed : 2 hours

General Instructions:

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


2. All questions are compulsory
3. Section A has 12 Objective questions carrying 1 mark each.
4. Section B has 04 Critical thinking-based questions carrying 02 marks each.
5. Section C has 04 Short Answer type questions carrying 03 marks each.
6. Section D has 02 Long Answer Type questions carrying 04 marks each.
7. Section E has 02 questions carrying 05 marks each.
8. Internal choices are given in Q20 and Q24
9. All programming questions to be answered using Python Language only.

SECTION – A

Q. Do as directed: 1 X 12 = 12 marks

1. A disk fragmentor is an example of


a) Application software
b) System Software
c) Utility Program
d) None of these

1
2. In the below pseudocode, determine how any times the loop is iterated?

a) 0
b) 6
c) 5
d) 4

3. Full Form of SoC is ___________________

4. State whether the following statement is True/False:


Python is an interpreted language.

5. Using someone else’s twitter handle to post something will be termed as


a) Fraud
b) Identity Theft
c) Online Stealing
d) Violation

6. What will the following code result as?

a) True
b) 1
c) False
d) 10.0

7. A _____________ is a reserved word carrying special meaning and purpose.

8. The original code written by programmers for a software is known as


_________.

2
9. Consider the loop given below: What will be the final value of i after the loop?

a) 10
b) 0
c) Error
d) 9
10. ____________ is a general term used to refer to viruses, worms, spyware,
adware, etc.

11. Which of the following options will not result in an error when performed on
types in Python where tp=(5,3,1,0,2)?
a) tp[1] = 5
b) tp.append(3)
c) tp1 = tp + tp
d) tp.sum()

12. What is meant by ‘open source’ software?


a) Software owned by an organization; you may need to buy a license for
b) Freely available, constantly upgraded by users. No fee.

SECTION – B

Q. Do as directed: (Any 4) 2 X 4 = 8 marks

13. What will be the result of the following expression?

14. Draw a flowchart to determine if a student passed the exam or not. (There are 4
subject papers and the average passing is 50 or more.)

3
15. Predict the output of the following program:

16. Predict the output of the following program:

17. Find out the error and correct the error in the below code:

SECTION – C

Q. Answer the following short questions 3 X 4 = 12 marks

18. Write a program that generates six random numbers in a sequence created with
(start, stop, step). Then print the mean, median and mode of the generated
numbers.

19. Write a program which does the below-mentioned tasks:


a) Prompt the user to enter phone number of 10 digits and two dashes. For
example: 017-555-1212
b) Check if the phone number entered is valid or not
c) If it’s valid, print the entered phone number else print “invalid entry”

20. (a) Given the dictionary D1 = {‘A’: [1,2,3], B’: [4,5,6]}, create a dictionary D2
having same keys as D1 but values as the sum of the list elements of D1
i.e. D2 = {‘A’: 6, B’:15}

OR

4
(b) Write a Python program that inputs 3 numbers A, B and C from user, and
arrange them in ascending order and print smallest number, next higher
number and highest number from it.

21. Write a program that creates and prints the list [‘a’, ‘bb’, ‘ccc’, ‘dddd’ ,,,,,,,,,,,]
that ends with 26 copies of the letter z, using a for loop.

SECTION – D

Q. Program the following - 4 X 2 = 8 marks

22. (a) Write a program that creates a tuple storing first 9 terms of Fibonacci Series.

(b) Write a program using nested loops to produce the following output:

B B

C C C

D D D D

E E E E E

23. Write a program that should do the following:


a) Prompt the user for a string
b) Replace all vowels in a string with * and store in in new variable
c) Reverse the original string and store it in new string
d) Print original string, replaced string, reversed string

5
SECTION – E

Q. Do as directed: 5 X 2 = 10 marks

24. (a) Write a program which performs the given tasks:


(i) Prompt the user to enter list A and list B
(Assumption - Enter only 5 Digits)
(ii) Create new list C having all elements of A followed by element of B
and print it.
(iii) Multiply each element of the list A with 2
(iv) Replace all entries in list A that are greater than 10 with 10.
(v) Rotate the elements of list B and print it
i.e. [1,2,3,4,5] -> [5,4,3,2,1]

OR

(b) Define these terms:


(i) Cyber safety
(ii) Cyber Bullying
(iii) Computer Forensics
(iv) Identity Fraud
(v) Cookies

25. (a) Write a program to create a nested tuple for 5 teams which stores the
information as mentioned below e.g. ((“India”, 4, 2, 6), …….)
(i) Prompt the user to enter team name, number of matches won, no of
teams lost
(ii) Calculate the total matches played by a team and add it as a 4th member
in the tuple
(iii) Print the nested tuple.

(b) What is Malware? What type of damage can they cause to the computer?

*********************

You might also like