XIComp SC S E 381
XIComp SC S E 381
XIComp SC S E 381
General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A have 18 questions carrying 01 mark each.
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
6. Section D has 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each.
8. All programming questions are to be answered using Python Language only.
SECTION- A (18x1=18)
1. What is information?
i) Processed data ii) Collection of programs
iii) Collection of instructions iv) None of these
2. 1 TB is equivalent to:
i) 210 bytes ii) 210 MB iii) 210 GB iv) 210 KB
3. Convert the following into Kilobytes:
2.7 GB= …………….. Kilobytes
i) 2831155.2 ii) 2764.8 iii) 2831155.02 iv) 2764.08
4. What is the full form of ISCII?
i) International Standard Code for Information Interchange
ii) Indian Standard Code for Information Interchange.
iii) International Script Code for Information Interchange.
iv) None of these
5. Which of the following is not a binary number?
a) 1111 ii) 101 iii) 11E iv) 000
6. A …………….. is a representation of a Boolean function or expression
containing all possible combination of input values and their result in a
tabular format.
7. The three greater than signs (>>>) are called the Python …………….
i) Cursor ii) Prompt
iii) Pointer iv) Blinking cursor
8. Which of the following is not an example of Computational Thinking?
i) Taking all the requirements into consideration before starting a task.
ii) Analyzing the bottlenecks involved.
iii) Allowing any of the members to take decisions for the entire team.
iv) Taking into consider how much time and money will be spent.
9. Python programming can be done in ……………. and ……………. modes.
10. Which of the following is an open – source software?
i) Microsoft Windows ii) Adobe Photoshop
iii) MySQL iv) MS PowerPoint
11. The practice of attempting to acquire sensitivity information from
individuals over the internet by means of deception is called ………………
12. This is a unique address assigned to every computer when connected to a
network.
a) MAC address b) Computer name
c) URL address d) IP address
13. What is the name of the IT law that India is having in the Indian legislature?
a) Indian Technology (IT) Act, 2000
b) Digital Information Technology Act, 2000
c) Information Technology (IT) Act, 2000
d) The Technology Act, 2000
14. A module can be classified as either ……………… or ……………….
15. What will be the output on screen after executing: print (math. fabs (-6.4))?
a) -6.4 b) 6.4 c) 4.0 d) 5.0
16. Write a Python program to compute 𝑥 𝑛 of given two integers x and n.
17. Which of the following is an invalid statement?
a) a=b=c=2 b) a,b,c=10, 20,30
c) a b c = 20, 30, 40 d) a_b_c=20
18. How many times is the word “Python” printed in the following statement?
s=’I love python’
for ch in s [3:8]:
print (‘python’)
a) 11 times b) 8 times c) 3 times d) 5 times
SECTION- B (7X2=14)
19. Given below are some features of two types of computer – RAM and ROM.
List each feature under RAM or ROM.
a) Non – volatile memory
b) Contents can’t be changed
c) Stores data or files the user is currently working on
d) Volatile memory
20. Verify the following using truth table.
X + Y.Z = (X + Y) (X + Z)
21. What are the four main parts of computational thinking?
22. What is an IP address?
23. Write the differences between Ethical Hacking and Non – ethical Hacking
(or)
Write the differences between Free software and Free and Open Source
Software
24. What are variables? How are they important for a program?
(or)
What is Dynamic Typing feature in Python?
25. Write a Python program to accept a number from the user and display
whether it is an even number or odd number.
(or)
Write a Python program to accept a string and display whether it is a
palindrome.
SECTION- C (5X3=15)
26. Define Strings in Python. How will you create a empty string?
(or)
Define Jump statements in Python. Differentiate between break and continue.
27. Find errors, underline them and rewrite the same after correcting the
following code:
d1=dict [ ]
i= 1
n = input (“Enter number of entries:”)
while i<=n:
a= input (“Enter name:”)
b = input (“Enter age:”)
d1 (a) = b
i=i+1
I = d1. Key [ ]
for i in 1:
print (i, ‘\t’, ‘d1[i]’)
(or)
Consider the following code and find out the error:
a) t1= (10, 20, 30, 40) b) tup1 = (10, 20, 30)
X, Y, Z=t1 tup2= tup1*(3,)
c) T1=(10, 20,30,40)
T2= (40, 50, 60)
T1, T2, T3= T1, T2
28. Predict the output of the following
import math
import statistics
import random
print (math. ceil (187.56)
print (math. sqrt (169)
print (statistics. median ([ 1,2,3,7,8,9])
(or)
What are the possible outcome(s) executed from the following code? Also,
specify the maximum and minimum values.
import random
PICK= random. randint (0,3)
CITY = [“DELHI”, “MUMBAI”, “CHENNAI”, “KOLKATA”]
for I in CITY:
for J in range (1, PICK):
print (I, end = “ “)
print ( )
DELHIDELHI
i) MUMBAIMUMBAI ii) DELHI
CHENNAICHENNAI
DELHIMUMBAI
KOLKATAKOLKATA
DELHIMUMBAICHENNAI
DELHI
iii) iv)
MUMBAI DELHI
CHENNAI MUMBAIMUMBAI
KOLKATAKOLKATAKOLKATA
KOLKATA
30. Write a Python program to swap the content with next value divisible by 7 in
a python List.
(or)
Write a Python program in Python to find and display the sum of all the
values which are ending with 3 from a list.
SECTION- D (3X5=15)
31. Explain the special operations performed on python strings with suitable
syntax and example.
32. Explain the dictionary manipulation methods of python with suitable syntax
and example.
33. Define – Operator. Explain the different types of Operators in Python with
suitable examples.
(or)
Define- Tokens. Explain the different types of tokens in Python with suitable
example.
SECTION- E (2X4=8)
34. Write a Python program that counts the number of alphabets and digits,
uppercase letters, lowercase letter, spaces and other characters in the string
entered.
(or)
Write a Python program to accept percentage of a student and display its
grade accordingly.
35. Write a Python program to input names of ‘n’ countries and their capital and
currency, store it in a dictionary and display in tabular form. Also search and
display for a particular country.
(or)
Write a Python program to find whether the given number is an Armstrong
number or not.
😊😊ALL THE BEST😊😊