Categories
Important question

GE8151 Question Bank Problem Solving and Python Programming pspp Regulation 2017 Anna University

GE8151 Question Bank Problem Solving and Python Programming

GE8151 Question Bank Problem Solving and Python Programming pspp Regulation 2017 Anna University pdf free download. Problem Solving and Python Programming pspp Question Bank GE8151  free download Question Paper.

Sample GE8151 Question Bank Problem Solving and Python Programming pspp:

1. What is an algorithm ?

2. Write a pseudo-code to accept two numbers, add the numbers and print the result.

3. Outline the modes Python interpreter works. Question Paper

4. State the difference between (I) and (II) operators in Python.

5. Write a Python program to accept two numbers, find the greatest and print the
result. GE8151 Question Bank Problem Solving and Python Programming pspp Question Paper

6. What is recursion ?

7. What is a list in Python ? Give example.

8. Write the syntax for concatenating two lists in Python.

9. What is an exception ? Give example. GE8151 Question Bank Problem Solving and Python Programming pspp

10. Write the syntax for opening a file in Python for reading only.

PART – B(5×16=80 Marks) GE8151 Question Bank Problem Solving and Python Programming pspp Question Paper

11. a) i) Explain with an example the boilding blocks of an algorithm. (8)

ii) Draw a flow chart to print the first ‘n’ prime numbers. (8)
(OR)

b) Explain with relevant diagrams and algorithm the Towers of Hanoi problem. (16) GE8151 Question Bank Problem Solving and Python Programming pspp

12. a i) Explain with an example the structure of a Python program. (8)

ii) Outline with an example the assignment operators supported in Python. (8)
(OR)

b) Explain the various data types in Python. (16)

13. a) i) Write a Python program using while loop to print the first n numbers
divisible by 5. (8)

ii) Write a Python program to compute the factorial of a given number. (8)
(OR) GE8151 Question Bank Problem Solving and Python Programming pspp

b) Write Python program to perform binary search. (16)

14. a) Write code snippets in Python to perform the following :

i) Accessing elements of a tuple. (5)

ii) Modifying elements of a tuple. (5)

iii) Deleting elements of a tuple. (6)

(OR)

b) Write the Python program to sort an integer list using selection sort. (16)

15. a) Describe in detail how exceptions are handled in Python. Give relevant
examples. GE8151 Question Bank Problem Solving and Python Programming pspp

Subject name Problem Solving and Python Programming pspp
Subject Code GE8151
Semester 1
Regulation 2017 Regulation

GE8151 Question Bank Problem Solving and Python Programming pspp Click here to download

GE8151 Syllabus Problem Solving and Python Programming pspp


GE8151 Notes  Problem Solving and Python Programming pspp


GE8151 Important questions Problem Solving and Python Programming pspp


 

Leave a Reply

Your email address will not be published. Required fields are marked *