Sample QP
Sample QP
General Instructions:
∙ Please check this question paper contains 35 questions.
∙ The paper is divided into 4 Sections- A, B, C, D and E.
∙ Section A, consists of 18 questions (1 to 18). Each question carries 1 Mark.
∙ Section B, consists of 7 questions (19 to 25). Each question carries 2
Marks. ∙ Section C, consists of 5 questions (26 to 30). Each question carries
3 Marks. ∙ Section D, consists of 2 questions (31 to 32). Each question
carries 4 Marks. ∙ Section E, consists of 3 questions (33 to 35). Each
question carries 5 Marks.
∙ All programming questions are to be answered using Python Language only
Section A (18x1 = 18m)
11 What is decomposition? 1
a) Breaking code down once it has been run.
b) Breaking the problem down into smaller more manageable
sections. c)Breaking a problem into subroutines.
d)Breaking big data into small data
29 Write a python program that accepts the radius of a circle and prints area. 3
32 What are data types?What are Python’s built in core data types? 4
Section D (3x5 = 15m)
33 Discuss the two common tools for developing the algorithm. 5
(OR)
Write a program to input a number and check if the number is prime or
composite number
34 What are the pluses and minuses of the Python programming 5
language? (OR)
What are operators?What is their function?Give examples of some unary and
binary operators?
- - - - - - -END - - - - -