0% found this document useful (0 votes)
3 views1 page

python qp

Uploaded by

Aishwaya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

python qp

Uploaded by

Aishwaya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Roll Number

AISHWARYA COLLEGE OF ENGINEERING AND TECHNOLOGY


Internal Test – I
GE3151-Problem Solving and Python Programming
Class: I Semester: I
Time: 3.00 hours Max marks: 100

PART A - (10 x 2 = 20 Marks)


(Answer All Questions)
1 What is an algorithm?
2 Define statement. List its types.
3 Write the algorithm to calculate the average of three numbers and display it.
4 Give the difference between flowchart and pseudocode.
5 List the categories of Programming languages.
6 Give the difference between recursion and iteration.
7 Write an algorithm to find the square and cube and display it.
8 What is recursion?
9 Distinguish between algorithm and program.
10 List the Symbols used in drawing the flow cart.

PART B – (5 x 16 = 80 Marks)

11. Outline the Towers of Hanoi problem. Suggest a solution to the Towers of
Hanoi problem with relevant diagrams.
12. Illustrate Algorithm, Psuedocode and Flow chart with an example.
13. What are the building blocks of an algorithm? Explain in detail .

14. i) Identify simple strategies for developing an algorithm.


ii) Outline the algorithm for displaying the first n odd numbers.
15. Briefly describe iteration and recursion. Explain with algorithm.

Prepared by HOD AO PRINCIPAL

You might also like