[go: up one dir, main page]

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

New 11 Hy

The document is a half-yearly examination paper for Class XI Computer Science at Hayagriva Vidhyashram School, consisting of 37 questions divided into five sections, covering various topics in computer science and Python programming. Each section has a different marking scheme, with questions ranging from one-word answers to detailed programming tasks. Students are instructed to answer all questions, with specific guidelines for programming responses using Python language.

Uploaded by

umasusil29
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)
10 views4 pages

New 11 Hy

The document is a half-yearly examination paper for Class XI Computer Science at Hayagriva Vidhyashram School, consisting of 37 questions divided into five sections, covering various topics in computer science and Python programming. Each section has a different marking scheme, with questions ranging from one-word answers to detailed programming tasks. Students are instructed to answer all questions, with specific guidelines for programming responses using Python language.

Uploaded by

umasusil29
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/ 4

HAYAGRIVA VIDHYASHRAM SCHOOL—SRIPERUMBUDUR

HALF YEARLY EXAMINATION – SEP (2024-2025)


SUBJECT: COMPUTER SCIENCE
CLASS: XI MARKS: 70
DATE: TIME: 3 Hrs
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
I. Answer in one word. (21*1=21)
1. A disk fragmentor is an example of ____________ a) Application software 1
b) System software c) Utility program d) None of these
2. Antivirus software is a type of _______________ 1
3. A computer can work with Decimal Number System. (True / False) 1
4.ASCII code is a 7 bit code for ____________ a) letters b) Numbers 1
c) other symbols d) all of these
5. According to the commutative law a) AB=BA b) A= A.A 1
c) (AB)C = A(BC) d) A.0 = A
6. Inverted XOR is called the OR gate. (True / False) 1
7. Using _______________ we can break down the problem into smaller parts. 1
8. Diamond symbol in a flowchart depicts a condition. (True / False) 1
9. Python is a/an ________language. a) high level b) object oriented 1
c) procedural d) difficult
10. You don’t have to pay for python and you can view its source code too. It means 1
Python is _____________ a) free and open source b) freeware
c) open source d) shareware
11. Which one of the following is not a keyword? a) True b) False 1
c) eval d) is
12. Which of the following is an escape sequence for a newline character? 1
a) \a b) \n c) \t d) \b
13. What is the value of the expression 100//25? 1
a) 4 b) 4.0 c) 2.5 d) none of these
14. What will be the output of the following code produce? 1
X=10.0
Y= (X<100.0) and X > = 10
print(Y)
a) 110 b) True c) False d) Error
15. import math 1
X=100
print(x>0 and math.sqrt(x))
a) True b) 1 c) 10 d) 10.0
16. List is an immutable datatype. (True / False) 1
17. The value of the expression
4+3%5 1
a) 4 b) 7 c) 2 d) 0
18. What are the values of the following expression?
2**(3**2) 1
(2**3)**2
2**3**2
a) 64, 512, 64 b) 64, 64, 64 c) 512, 512, 512 d) 512 , 64, 512

19. full form of IDLE - __________________

II. Assertion and Reasoning


DIRECTIONS
(a) Both A and R are true and R is the correct explanation of A.
(b) Both A and R are true but R is not the correct explanation of A.
(c) A is true but R is false
(d) A is false but R is true.
(e) Both A and R are false
20. Assertion: A 3 – digit number can have maximum 8 unique binary values.
Reason: Maximum number of values possible for an n-digit binary number are 2 n 1
21. Assertion: The operation performed by a NOT gate is called complementation. 1
Reason: The NOT gate is invertor that inverts the state of input signal.

SECTION-B
III. Answer shortly. (7*2=14)
22. what is cache memory? why is it considered crucial for a microprocessor’s 2
performance?
23. What is the need for secondary memory? 2
24. What is the difference between program and an algorithm? 2
25. Who developed Python programming language? 2
26. What is None literal in Python? 2
27.What are literals in Python? How many types of literals are allowed in Python? 2
28. What are data types? How are they important? 2
SECTION-C
IV. Solve (3*3=9)
29. Convert 7290510 to Hexadecimal. 3
30. Find the complement of Boolean expression: A’ + (B’ + C). 3
31. Draw a flowchart to determine the larger of two numbers, along with algorithm. 3
(OR) What will be the output of following code? 3
x,y = 2,6
x,y=y,x+2
print(x,y)
SECTION-D
IV. Answer in detail (4*4=16)
32. What are RAM and ROM? How are they alike? How are they different? What are 4
EEROM, PROM and EPROM?
33. Write an program that inputs an age and print age after 10 years as shown below: 4
What is your age? 17
In ten years, you will be 27 years old!
(or)
Write a program that generates the following output: 5
10
9
Assign value 5 to a variable using assignment operator(=). Multiply it with 2 to
generate 10 and subtract 1 to generate 9.

34. Write a program to find average of three numbers. 4


(or)
What is the difference between an expression and a statement in Python?
35. Verify using Truth Table 4
x + y’z = (x + y’ + z’)(x + y’ + z) (x + y + z)
SECTION-E
V. Detail question type (2*5=10)
36. Variable is a name that is used to refer to memory location. Python variable is
also known as an identifier and used to hold value. In python, we don’t need to
specify the type of variable because Python is a infer language and smart enough to
get variable type. Variable names can be a group of both the letters and digits, but
they have to begin with a letter or underscore.
Q1. Which one of the following is correct way of declaring and initializing a variable, x 1
with value of 5?
a) int x b) int x = 5 c) x = 5 d) declare x = 5 q = 5

Q2. Which of the following is not valid variable name in Python? 1


a) _var b) var_name c) var11 d) 11var
Q3. Which of the following will give error? 1
a) a=b=c=1 b) a,b,c=1 c) a,b,c = 1, python, 1.5 d) None of the above
Q4. Which of the following is correct regarding variables in python? 1
a) Variable names in Python cannot start with number. However, it can contain
number in any other position of variable name.
b) Variable name can start with an underscore.
c) Data type of variable names should not be declared.
d) All the above
Q5. Is Keyword in python used as identifier? True / False 1

37. The operator can be defined as a symbol which is responsible for a particular
operation between two operands. Operators are the pillars of a program on which the
logic is built in a specific programming language. Python provides a variety of
operators a variety of operators which are Arithmetic operators, Comparison
operators, Assignment operators, Logical operators, Bitwise operators, Membership
operators, Identity operators etc.,
Q1. What is the answer to this expression, 22 % 3 is ? 1
a) 7 b) 1 c) 0 d) 5
Q2. What is the output of this expression, 3**1**3? 1
a) 27 b) 9 c) 3 d) 1
Q3. Which one of the following has the same precedence level? 1
a) Addition and Subtraction
b) Multiplication, Division and Addition
c) Multiplication, Division and Addition and Subtraction
d) Addition and Multiplication
Q4. Which one of the following has the highest precedence in the expression? 1
a) Exponential b) Addition c) Multiplication d) Parentheses
Q5. Write an example for unary operator? 1

You might also like