You are on page 1of 1

B.E./B.Tech. DEGREE EXAMINATION, 2018 B.E./B.Tech.

DEGREE EXAMINATION, 2018


First Semester First Semester
GE8151 - PROBLEM SOLVING AND PYTHON PROGRAMMING GE8151 - PROBLEM SOLVING AND PYTHON PROGRAMMING
MODEL EXAMINATION MODEL EXAMINATION
Time : Three Hours Maximum : 100 Marks Time : Three Hours Maximum : 100 Marks
Answer ALL questions Answer ALL questions
PART – A(10×2=20 Marks) PART – A(10×2=20 Marks)
1. List out the advantages and disadvantages of flowchart. 1. List out the advantages and disadvantages of flowchart.
2. What are all the steps to be followed to frame a function block. 2. What are all the steps to be followed to frame a function block.
3. How to define a function in python. Give example. 3. How to define a function in python. Give example.
4. Draw the diagram for flow of execution. 4. Draw the diagram for flow of execution.
5. Describe various methods used on string(any four). 5. Describe various methods used on string(any four).
6. Differentiate for loop and while loop. 6. Differentiate for loop and while loop.
7. List out the type of sorting techniques? 7. List out the type of sorting techniques?
8. What is the use of * operator in association with list in python? 8. What is the use of * operator in association with list in python?
9. Explain seek and tell method used in python file? 9. Explain seek and tell method used in python file?
10. What is the difference between read tine and readlines methods? 10. What is the difference between read tine and readlines methods?

PART – B (5×16=80 Marks) PART – B (5×16=80 Marks)


11. a) i)What is pseudo code and explain the rules for writing pseudo 11. a) i)What is pseudo code and explain the rules for writing pseudo
code with suitable example. code with suitable example.
ii) Explain simple strategies for developing algorithms. ii) Explain simple strategies for developing algorithms.
(OR) (OR)
b) Explain Algorithmic Problem solving technique in detail b) Explain Algorithmic Problem solving technique in detail
12. a)i)Illustrate the concept of module in detail with example. 12. a)i)Illustrate the concept of module in detail with example.

ii)Explain about flow of execution and parameter argument in ii)Explain about flow of execution and parameter argument in
detail. detail.
(Or) (Or)
b)Explain the concept of Function in details. b)Explain the concept of Function in details.
13. a)Describe about decision making statement in details. 13. a)Describe about decision making statement in details.
(OR) (OR)
b)i)Explain about string in details b)i)Explain about string in details
ii)Discuss list as array in python ii)Discuss list as array in python
14. a)What is tuple? Explain the tuple assignment with suitable example 14. a)What is tuple? Explain the tuple assignment with suitable example
(OR) (OR)
b)Explain about Dictionaries in detail? b)Explain about Dictionaries in detail?
15. a) Explain in detail about packages. 15. a) Explain in detail about packages.
(OR) (OR)
b) What is file? Explain the reading and writing to the file with b) What is file? Explain the reading and writing to the file with
illustrative python program? illustrative python program?

You might also like