You are on page 1of 4

DELHI PUBLIC SCHOOL (JOKA) SOUTH KOLKATA

ANNUAL EXAMINATION

2020 - 2021

Subject: Computer Science (085) Time: 3 Hour Class: XI Max. Marks: 70


Name:______________________________ Invigilator’s Signature:-__________

• Please check that this question paper contains 4 printed pages.


• Please check that the question paper contains 38 questions.

PCT-1
Section A [2x6=12]
1. Why Python is called object oriented programming language?
2. What do you mean by operator? Discuss Relational operator with example.
3. What is the syntax of for loop? Show with an example.
4. What is the difference between break and continue?
5. What is literal in python? Give example.
6. Rewrite the code using while loop
for i in range(1,n-1):
for j in range(1,n-i-1):
print(i)
print(j)
[1x4=4]
7. Find out error.
(x , y, z) = (12, 3):
k=z;

1
print(k)
8. Output of 14.0 **4 is
9. What do you mean by binary operator? Give examples.
10. Write down the names of different modes in python?

11. Write a program to check that two numbers are twin primes or not? [4 x2=8] Twin
prime means both the given numbers are prime and their difference is 2. For example
11 and 13 are twin primes but 11 and 17 or 13 and 15 are not twin primes.
12. Write a program to find out the sum of the series:
S=1-1/3+1/5-1/7+…. Upto nth term
[1x4=4]
13. What do you mean by string slice in Python?
14. What is the purpose of using append function in a list.
15. Write down any two features of Dictionary.
16. Define the mutability feature in python.

[2x6=12]
17. Predict the output

18. Write down some differences between list and tuple.


19. What is the output produced by the following code –

20. What will be the output of the following code?

21. Replace for loop with while loop for the following code:
n=int(input(“Enter the limit:”))
s=0
for i in range(n+1,0,-2):
s=s*i
i=i+1
print(“The sum is”,s)

2
22. Find out the errors in the following code segment:
for a in range (15,25);
k=0:
for I in range (2,a//2+1):
If (a % i=0):
k=k+1
If(k==0)
print(“number is prime”)
else:
print(“not prime”)

23. Write a program which will take your name as an input and print your name as
below: [5] Input : Avijit Roy Das
Output: A.R.Das

Computer System and Organization


Section B
24. What do you mean by utility software? Give example. [1] 25. Convert the
following:
[2]
(751)8= ( )2
(7AB4)16= ( )10
26. What Unicode ? What is its significance? [1] 27. What is a truth table? What is
itssignificance? [1]
28. Draw the circuit diagram for the following expression: [2] P=(X.Y‘)‘+(Z‘+W)
29. Using the truth table prove that (X+Y).(X+Z)=X+Y.Z [2] 30. Define computer
memory. What is the function of primary memory. [1]

Society Law and Ethics


Section C [1*4=4] 31. What is online fraud?

32. What is the full form of SSL?

33. What is digital property? Give examples.

34. Define free software. Give one example.

3
[2*3=6]

35. What do you mean by phishing? Give example.


36. What is the difference between open source and open data? 37.

What can be done to reduce the risk of identity theft?

38. Posing as someone else online and using his/her personal/financial information,
shopping online something is a common type of cyber crime these days . [1+2+2=5]

a) What are such type of cyber crimes collectively called?

b) What measure can you take to stop these.

c) Give example of some software, hardware that may be used for special needs students.

You might also like