XIComp
XIComp
Class :11
General Instructions:
A
1. MS-Office is a- 1
(a) Operating Software (b) Utility program
(c) Programming language (d) Application Software
2. What is the ASCII equivalent decimal no. for ‘Y’ ? 1
a) 87 (b)88 (c) 89 (d)90
3. Hexa-Decimal of (346)10= (?)16(Show calculation) (a) 1
14B (b) 1A5 (c)15A (d) 5A1
x=45 while
x>0:
1
print(x) x=x-10
(a) 25 (b) 45 (c) 5 (d) -5
(a) XOR
(b) NAND (c) AND (d) OR
14. Which is equivalent of (A+B)’ 1
(a) A’.B’
(b) A’+B’
(c) A.B’
(d) A’.B
15. Which is not a threat? 1
(a) Worm (b) Trojan
(c)Virus (d) E-Mail
16. What type damages can be caused by viruses to your computer? 1
(a) Damage or Delete files
(b) Slow down your computer
(c) Invade all Programmes in your Computer (d) All of these
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the correct
choice as:
(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d) A is false but R is True
17. Choose correct option: 1
A: Viruses are the malicious program. R:
(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d) A is false but R is True
2
18 Choose correct option: 1
. Statement 1: t1=tuple(’python’)
Statement 2: t1[4]=’z’
A: Above code will generate error Statement2: R: Tuple
is immutable by nature.
(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d) A is false but R is True
SECTION B
19 What will be the output of the following Python code? x, y=4, 2
. 2 while(x>=y): print(x, y) x=x-1 y=y+1
21 Convert the following program into for loop without affecting the output. 2
. count=0 while
count<10:
print(“Hello”) print(“Good
Bye!”) count=count+1
for i in range(-1,-7,-2):
for j in range(3):
print(1, j)
OR
30. Umesh wanted to gift his brother a football or a wrist watch. So he searched for 3
many sports items and wrist watches online. But after that every time he goes(1+1+1
)
online, his web browser shows him advertisements about sports items and wrist
watches.
(a) Why is this happening?
(b) How could have Umesh avoided them?
(c) How can Umesh get rid of this now?
SECTION D
31. Write a program to search for an element in a given list of numbers. 4
32. Expand the following: - 4
i) Write the full forms of following: IPR, GPL, Proprietary (2+2)
Software, URL ii) Identify the Open Source software(s) from
the following: -
MySql, Quick Heal Antivirus, Python, Microsoft Office
SECTION E
33. Explain the following : 5
(i) What is syntax error? Give one example. (1+2
(ii) What is the difference between ‘=’ and ‘==’? Explain with the help of an +2)
example.
(iii) What do you understand by precedence of operators? What is the
precedence of arithmetic operators?
34. (2+3)
******************************