Cs Cat
Cs Cat
Department of IT/CSE/AI&DS/AIML/CSE-CS/CSD/CSBS
First Year / First Semester
231GES104T – Problem Solving Through Python Programming
CO1: Solve problems using algorithms, flowchart and pseudocode
CO2: Use Python conditional and iteration statements for problem solving.
CO3: Apply strings and user defined functions in Python programming.
CO4: Choose appropriate Python data structures for real time applications.
CO5: Develop Python code to manipulate data using file and exception-handling.
CO’s Bloom’s
Q.No Questions
Level
PART A
1. List the basic computer operations? CO1 K1
2. Discuss about algorithm with its characteristics. CO1 K2
Write an algorithm to check whether a number is positive or CO1
3. K2
negative.
Use the pseudocode to calculate the total marks and average marks of CO1
4. K2
a student.
5. Develop an algorithm to find minimum of given three numbers CO1 K2
6. List the building blocks of an algorithm. CO1 K1
7. Define statement and list its types. CO1 K1
Write the pseudo code to calculate the sum and product of two CO1
8. K2
numbers and display it.
9. Draw the flowchart to print the area of a circle for the given radius. CO1 K2
10. How does flow of control work? CO1 K2
11. What is a function and write its two types. CO1 K1
12. Give the rules for writing the pseudo codes. CO1 K1
13. Differentiate between flowchart and pseudo code. CO1 K2
14. Define a flowchart and write rules for preparing a flowchart. CO1 K1
15. List the categories of Programming languages. CO1 K1
Compare machine language, assembly language and high-level
16. CO1 K2
language.
17. Differentiate between algorithm and pseudo code CO1 K2
18. List out the simple steps to develop an algorithm. CO1 K1
19. Discuss the advantages and disadvantages of recursion. CO1 K2
20. Differentiate between recursion and iteration. CO1 K2
21. Draw the flowchart to find the largest of two numbers CO1 K2
22. Distinguish between algorithm and program. CO1 K2
23. Differentiate Compiler and Interpreter CO1 K2
CO’s Bloom’s
Q.No Questions
Level
Part – B
1. Analyze the building blocks of an algorithm with examples. CO1 K4
Illustrate the logic to find the sum of the series 1+2+3+4+….+100
2. CO1 K4
using flowchart and algorithm.
Illustrate iteration and recursion with an example: Find the factorial
3. CO1 K4
of a given number
Demonstrate about algorithmic problem solving techniques with
4. CO1 K3
example.
5. Describe an algorithm and draw a flowchart to calculate 24. CO1 K4
Outline the fundamental organization of computers, considering its
6. CO1 K4
components, architecture, and functionality.
Discuss about the symbols for drawing flowchart and draw a
7. CO1 K4
flowchart to count and print from 1 to 10.
Illustrate the logic to find the sum of the digits of the number using
8. CO1 K4
pseudo code and flowchart.
Discuss about an algorithm and the pseudo code to guess an integer
9. CO1 K4
number in the given range and print the number of guesses made.
Describe the pseudocode and draw the flowchart to check whether
10. CO1 K4
the given number is Armstrong number or not.
CO’s Bloom’s
Q.No Questions
Level
Part c
Design the pseudo code and draw the flowchart to print n Fibonacci
1. numbers using recursive functions. Validate the same with the CO1 K6
examples.
Develop an algorithm and draw the flowchart to find nCr value for
2. CO1 K6
the given n and r values using user defined function.
Develop the algorithm and flowchart to calculate electricity bill as
per the rate given below for the given number of units consumed.
Validate using sample number of units consumed.
Units Consumed Rate
3. CO1 K6
1-100 NIL
101-200 Rs.2
201-500 Rs.3
>500 Rs.4
CO’s Bloom’s
Questions
Level
Part b
Analyze the different types of conditional structures allowed in Python.
1. CO2 K4
Explain each with examples.
Illustrate the types of operators and their precedence in Python in
2. CO2 K4
detail.
Analyze the different types of iterative structures allowed in Python with
3. CO2 K4
example programs.
Design a Python program to print the first n natural numbers that are
4. CO2 K4
divisible by 5 using a while loop.
An Indian citizen has to vote for the assembly election. Illustrate a
5. Python program to determine whether that person is eligible to vote or CO2 K4
not. If he is not eligible, display how many years are left to be eligible.
Develop a Python code to calculate the sum of the digits after prompting
6. the user to get a number and also evaluate whether it qualifies as an CO2 K4
Armstrong number.
From the equation ax² + bx + c = 0, Assume the values of a, b and c are
7. given as the input from the user. Then generate the Python code to CO2 K4
calculate the roots of a quadratic equation.
8. Judge a given number is palindrome number or not by developing a CO2 K5
Python code.
Develop a Python code to print the Fibanocci series upto “N” terms and
9. CO2 K5
evaluate the same for correctness.
Illustrate and evaluate a Python code to print the maximum of the given
10. CO2 K5
n numbers
Develop a Python code to print the salary slip of an employee as per the
11. CO2 K4
given details.
12. Analyze the Python data types with examples for each. CO2 K4
Illustrate the conditional alternative and chained conditional in Python
13. CO2 K4
using examples.
Develop a Python code to check whether a number is Prime or not and
14. CO2 K4
trace the algorithm with sample input for correctness.
3. CO2 K6