Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Problem solving and python programming previous year question paper, Exams of Programming Languages

GE8151 Anna University Previous year paper

Typology: Exams

2018/2019

Uploaded on 07/02/2019

chandraa123
chandraa123 🇮🇳

5

(1)

1 document

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf2

Partial preview of the text

Download Problem solving and python programming previous year question paper and more Exams Programming Languages in PDF only on Docsity!

AC Reg. No. : | Question Paper Code : 54009 B.E./B.Tech. DEGREE EXAMINATION, JANUARY 2018 First Semester Civil Engineering GE 8151- PROBLEM SOLVING AND PYTHON PROGRAMMING (Common to All Branches) (Regulations 2017) Time : Three Hours www.recentquestion paper.com™ Maximum : 100 Marks Qa es wo SY x . How to slice a list in Python ? Answer ALL questions. PART-A (10x2=20 Marks) What is an algorithm ? Write an algorithm to accept two numbers, compute the sum and print the result. Name the four types of scalar objects Python has. What is a tuple ? How literals of type tuple are written ? Give example. Write a Python program to accept two numbers, multiply them and print the result. . Write a Python program to accept two numbers, find the greatest and print the result. . What isa list ? How lists differ from tuples ? www. recentquestion papercom” 9, Write a Python script to display the current date and time. 10. 11. Write a note on modular design, PART -B (5*16=80 Marks) a) i) Drawa flow chart to accept three distinct numbers, find the greatest and print the result. (8) ii) Draw a flow chart to find the sum of the series 1+2+3+4+5+........ +100. (8) (OR) b) Outline the Towers of Hanoi problem. Suggest a solution to the Towers of Hanoi problem with relevant diagrams. (16)