PSPP
PSPP
Unit 2&3
Unit 1&2
Explain the building blocks of algorithm and write an algorithm to calculate the sum of even
numbers upto n.
Outline the Towers of Hanoi problem. Suggest a solution to the Towers of Hanoi problem
with relevant diagrams.
Explain the Guessing an Integer problem and write the algorithm, flowchart and pseudocode.
Explain the types of control flow with suitable algorithms.
Explain in detail the various types of data type in Python with example.
Explain the interactive and interpreter mode of python. And develop a simple python
program using ‘float’ data type.
Unit 2
1. Exchange the value of two variables
2. Circulate the value of n variables
3. Distance between two points
Unit 3
1. Square root
2. GCD
3. Exponentiation
4. Sum an array of n numbers
5. Linear Search
6. Binary Search
Unit 4
1. Merge Sort
2. Insertion Sort
3. Selection Sort
4. Histogram
5. Student Mark Statement
6. Retail Bill Preparation
Unit 5
1. Word Count
2. Copy File
3. Voter’s age validation
4. Marks range validation