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

7

Uploaded by

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

7

Uploaded by

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

ANNA UNIVERSITY,

MIT CAMPUS
B.E. AERONAUTICAL ENGINEERING
GE 5161 - PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
END SEMESTER LAB EXAM –JULY 2021

DATE: 29/07/2021 MARKS: 100 DURATION: 3 Hours


REG NO:
RANDOM NUMBER ALLOTED:

S.No Question Marks


1 Write Algorithm/Pseudocode and draw flow chart for the following problem, 25
Prompt the user to input two integers: firstNum and secondNum (firstNum
must be less than secondNum). Output all odd numbers between firstNum
and secondNum. Output the sum of all even numbers between firstNum and
secondNum.0...
2 Write a python program, which will find sum of product to consecutive 25
digits. e.g. when the input is 23145 the output is 2x3 + 3x1 + 1x4 + 4x5 = 33.
3 Write a function to to generate 20 terms of the following sequences 25
1,2,2,3,3,3,4,4,4,4,...
4 First read 'n' numbers from the user and create a list. Write a program to 25
read a number from the user and print in order all elements of the list that
are greater than the given number.

~~~~~~~~~~~~~~~~~~~~All the Best~~~~~~~~~~~~~~~~~~

You might also like