New 11 Hy
New 11 Hy
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
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.
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