Professional Documents
Culture Documents
(Autonomous)
TIRUCHENGODE
QP Code Register Number
Q.No. Questions KL
3. Write the algorithm to calculate the average of three numbers and display it. K3
5. What do you mean by an operand and an operator? Illustrate your answer with relevant example. K2
Part - B (5 x 7 = 35 Marks)
OR
1
13. a Explain the function with example. K2 7
OR
b What are statements? How they are constructed from variable and expressions in K2 7
python.
OR
b Discuss and write the code for conditional alternative and chained conditional . K3 7
OR
b Demonstrate with code the various operations that can be performed on tuples. K3 7
Part – C (3 x 15 = 45 Marks)
16. Explain the basic computer organization in detail with neat sketch. K2 15
17. Describe the various building blocks of algorithms with suitable example. K2 15
18. Describe about the concept of precedence and associativity of operators with example. K2 15
19. If you are given three sticks, you may or may not be able to arrange them in a triangle. K4 15
For example, ifone of the sticks is 12 inches long and the other two are one inch long,
you will not be able to get the shortsticks to meet in the middle. For any three lengths,
there is a simple test to see if it is possible to form atriangle. If any of the three lengths
is greater than the sum of the other two, then you cannot form atriangle. Otherwise,
you can.
20. Define Dictionary in python. Do the following operations on dictionaries. K4 15
i) Initialize two dictionaries with key and value pairs.
ii) Compare two dictionaries with master key list and print missing keys.
iii) Find keys that are in first and not in second dictionary.
iv) Find same keys in two dictionaries.
v) Merge two dictionaries and create a new dictionary using a single expression.
-----
2
Knowledge Level Marks in each Divisions Total
Part – A Part – B Part – C Marks for % of Distribution
(KL) (10x2=20) (5x7x2=70) (5x15=75) each KL
2 82%
K1 - Remember 1x2=2 - -
87
K2 - Understand 7x2=14 4x7=28 3x15=45 LOTS (40 – 50 %)
46
K3 - Apply 2x2=4 6x7=42 -
30 18%
K4 - Analyze - - 2x15=30 HOTS (50 - 60 %)