[go: up one dir, main page]

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

Class XI (CS) Annual Exam

The document is an annual examination paper for Computer Science (083) for Class XI, structured into five sections (A to E) with a total of 70 marks. Each section contains questions of varying marks, covering topics such as Python programming, Boolean algebra, and cybersecurity concepts. The paper includes multiple-choice questions, programming tasks, and theoretical questions, with internal choices provided for one question.

Uploaded by

himanshu
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)
712 views4 pages

Class XI (CS) Annual Exam

The document is an annual examination paper for Computer Science (083) for Class XI, structured into five sections (A to E) with a total of 70 marks. Each section contains questions of varying marks, covering topics such as Python programming, Boolean algebra, and cybersecurity concepts. The paper includes multiple-choice questions, programming tasks, and theoretical questions, with internal choices provided for one question.

Uploaded by

himanshu
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

(ANNUAL EXAMINATION 2022-23)

SUBJECT: COMPUTER SCIENCE (083)


CLASS: XI
TIME: 3 HOURS MAX MARKS: 70
General Instructions:
• The question paper is divided into 5 sections – A, B, C, D, and E
• Section A, consists of 18 questions (1-18). Each question carries 1 mark.
• Section B, consists of 7 questions (19-25). Each question carries 2 marks.
• Section C, consists of 5 questions (26-30). Each question carries 3 marks.
• Section D, consists of 2 questions (31-32). Each question carries 4 marks.
• Section E, consists of 3 questions (33-35). Each question carries 5 marks
• Internal choice is given to Q35.
Q NO Section -A
Each question carries 1 mark (18x1=18MARKS)
1 Which of these is not the secondary memory?
a) Hard disk b) ROM c) Pen Drive d) Blue-Ray disc
2 Evaluate the expression and identify the correct answer.
A = 5 * 3 / /4 + 6 / /8 + 7 − 3 + 9 / /3 + 7
(a) 17 b) 20 c) 27 d) 14
3 This gate will give the output signal as TRUE only when all the inputs are True
a) NOT b) AND c) NAND d) OR
4 Given the following dictionaries
dict_student = {"rno" : "53", "name" : ‘Rajveer Singh’}
dict_marks = {"Accts" : 87, "English" : 65}
Which statement will merge the contents of both dictionaries?
(A) dict_student + dict_marks (B) dict_student.add(dict_marks)
(C) dict_student.merge(dict_marks) (D) dict_student.update(dict_marks)
5 Which out of the following 5 statement(s) would give an error after executing the following
code?
D={'rno':32,'name':'Ms Archana','subject':['hindi','english','cs'],'marks':(85,75,89)} # S1
print(D) # S2
D['subject'][2]='IP' # S3
D['marks'][2]=80 # S4
print(D) # S5
(A) S1 (B) S3
(C) S4 (D) S3 and S4
6 What is the output of print(10/2) ?
a) 5 b) 5.0 c) 0 d) 2.0
7 What is the output of print(“ABC”<”abc”) ?
a) True b) False c) 0 d) Error
8 What is the output of
Str=””
print(Str.isalpha())
a) True b) False c) Error d) yes
9 Single Line Comments in python starts with ?
a) + b) # c) $ d) ==
10 What will be the output of following python statement: - print(“foo+bar”)
(a) foo+bar (b) foobar
(c) “foo+bar”(d) none of these
11 Which of the following is a valid statement in python?
(a) abc = 1,000,000 (b) a b c = 1000 2000 3000
(c) a,b,c = 1000, 2000, 3000 (d) a_b_c = 1,000,000
12 ASCII stand for ______________________________

To print the value of a variable in Python, python uses: -


13 (a) Print() function (b) Print statement()
(c) print statement (d) print() function
14 Convert (10110100)2 to its octal form.
15 Write given memory size in ascending order: 20MB, 200KB, 2GB,1024 KB

16 gate has only one input and it complements an input signal.


17 State Absorption law with its truth table of Boolean algebra.
18 Which of the following is not a sequence?
a)Tuple b)List c)Integer d)String

Section -B
Each question carries 2 marks (7x2=14)
19 Differentiate between RAM and ROM.
20 Find error in the following code (if any) and correct code by rewriting code and underline
the correction:
-30=To
for K in range(0,TO):
IF k % 4 == 0:
print(K*4)
Else:
print(K+3)
21 Predict the output of the following code
x=1
for i in range (1, 7, 2):
x+=i+2
print(x)
(a) 16 (b) 9 (c) 25 (d) Error
22 Differentiate between Phishing and Pharming in detail.
23 What is difference between mutable and immutable date types? Explain with example in
python.
24 Define the following terms:
1. Digital Footprint
2. Cookies
25 Find the Boolean equation & truth table of the following logic circuits.

Section -C
Each question carries 3 marks (3x5=15)
26 What is Jump statement in python? Explain its types with suitable python code.
27 Write a program in python to as the user to input year in YYYY format and check whether the
input year is a leap year or not. Display the output on the screen.

28 State and prove De Morgan‟s Laws algebraically.


29 Write a program in python to ask the user to input at least 5 digits integer number and check
whether the input number is a perfect number or not. Display the output on the screen.
30 Write a program in python to create an empty list and ask the user to input 10 integer numbers
in the list. Find the sum of odd and even numbers in the list. Display output properly on the
screen.
Section -D
Each question carries 4 marks (4x2=8)
31 Differentiate between Cyber Stalking and Cyber Trolling.
32 Write a program in python to ask the user to input a string and print the string in reverse order
using loop (without using any function).

For example:
Enter String: PYTHON
Reversed String: NOHTYP
Section -E
Each question carries 5 marks (5x3=15)
33 (a)
For the logic circuit shown in the figure,
What is the dual form of Boolean
expression for Z?
Draw the truth table of dual form of Boolean
expression for this logic circuit. (2.5)

(b) Explain making True copy of List using python code. (2.5)

34 Write a program in Python to print the below mentioned output (pattern matching).
OUTPUT
User, how many rows you want: 5
1
12
123
1234
12345

35 1. Write a program in Python to accept a string from the user and count the total number of
Upper-Case and Lower-Case alphabets in that string. Display the total number of Upper- &
Lower-Case alphabets in that String.
2. For Example: I Love Python Programming.
3. Upper Case alphabets: 4
4. Lower Case alphabets: 18

OR
5. Write a program in Python to accept a string from the user and check whether that input
string is a Palindrome string or not. Display the outcome properly on the screen.

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

You might also like