23GE102 - Problem Solving and Python Programming Internal 1 Question Paper
23GE102 - Problem Solving and Python Programming Internal 1 Question Paper
Register Number:
Max. Marks 30 30
CO2: To learn to solve problems using Python conditionals and loops. (K2)
Bloom’s
Q.No Answer all Questions Taxonomy
K-level
PART – A (6 x 2 = 12 Marks)
1 Outline the building block of algorithm. K2
2 Recall Flowchart. K1
PART – B (3 x 16 = 48 Marks)
7.a Explain in detail about algorithm and the building blocks of algorithm. K2
(OR)
7.b Illustrate in detail about pseudo code with guidelines and benefits and Explain the design K2
structures of pseudo code.
(i) Build the algorithm, pseudo code and draw the flowchart for the following: K3
8.a
a. Find minimum in a list. (8)
(ii) List the data types in python with appropriate example. (8)
(OR)
(i)Build the algorithm, pseudo code and draw the flowchart for the following: K3
8.b a. Insert a card in a list of sorted cards. (8)
(ii) Illustrate the function and module with suitable example. (8)
(OR)
9.b Develop a python program to perform Binary search and apply the concept to search 68 K3
from the given list of elements: 34,12,23,10,8,10,19,14,68,5.
Register Number:
Max. Marks 30 30
CO2: To learn to solve problems using Python conditionals and loops. (K2)
Bloom’s
Q.No Answer all Questions Taxonomy
K-level
PART – A (6 x 2 = 12 Marks)
1 Label selection, iteration and sequence control structures. K1
PART – B (3 x 16 = 48 Marks)
7.a Extend about the flowchart and the Basic design structures in Flowchart. K2
(OR)
7.b Label the steps involved in program development cycle. K1
(i) Show the algorithm, pseudo code and draw the flowchart for the following: a. K1
8.a Towers of Hanoi. (8)
(ii) Construct a python program to swap two numbers with and without temporary
variables. (8)
(OR)
(i)Show the algorithm, pseudo code and draw the flowchart for the following: Guess an K3
integer number in a range. (8)
8.b
(ii) Compare how Python works in interactive mode and script mode with examples.
(8)
9.a Explain briefly about constant, variables, expression, keywords and statements available in K2
python.
(OR)
9.b Illustrate the program of exchange the values of two variables and circulate the values of n K2
variables.
****************************