DEPARTMENT OF SCIENCE AND HUMANITIES
Register Number:
INTERNAL EXAMINATION I – NOVEMBER 2024
First Semester – B.Tech AI&DS & B.E. Civil & Mech
23GE102 – Problem Solving and Python Programming
Duration:100 Minutes Date: 16.11.2024 Maximum Marks: 60
Course Outcomes, Question Number, Marks:
COs CO1 CO2
Ques. No. 1,2,3,7a,7b &8i 4,5,6,8ii,9a&9b
Max. Marks 30 30
COs & K-Level:
CO1: To understand the basics of algorithmic problem solving. (K1)
CO2: To learn to solve problems using Python conditionals and loops. (K2)
K-Levels K1: Remember K2: Understand K3:Apply K4:Analyse K5:Evaluate K6:Create
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
3 Outline the flowchart symbols and its uses. K2
4 Show the python interpreter. K2
5 List the standard data types in python. K2
6 Demonstrate the use of dir() function. K2
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)
9.a Demonstrate the types of operators in python with appropriate example. K2
(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.
DEPARTMENT OF SCIENCE AND HUMANITIES
Register Number:
INTERNAL EXAMINATION I – NOVEMBER 2024
First Semester – B.Tech AI&DS & B.E. Civil & Mech
23GE102 – Problem Solving and Python Programming
Duration:100 Minutes Date: 16.11.2024 Maximum Marks: 60
Course Outcomes, Question Number, Marks:
COs CO1 CO2
Ques. No. 1,2,3,7a,7b &8i 4,5,6,8ii,9a&9b
Max. Marks 30 30
COs & K-Level:
CO1: To understand the basics of algorithmic problem solving. (K1)
CO2: To learn to solve problems using Python conditionals and loops. (K2)
K-Levels K1: Remember K2: Understand K3:Apply K4:Analyse K5:Evaluate K6:Create
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
2 Name the type of arguments in python. K1
3 Tell any two disadvantages of flowchart. K2
4 Relate the intermediate mode with script mode. K1
5 Rephrase Bitwise operators. K2
6 Explain the characteristics of membership operator. K2
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.
****************************