0% found this document useful (0 votes)
48 views

Question Bank PPS (1)

Uploaded by

hrishikapatel946
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)
48 views

Question Bank PPS (1)

Uploaded by

hrishikapatel946
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/ 3

G. H.

Raisoni College of Engineering, Nagpur


Department of First Year Engineering
SESSION: Winter 2023 (Odd Sem)
Subject: Programming for Problem Solving [UNITL102]
B. Tech . 1st Semester

Questions Bank

Unit I
1) Define algorithm and flow chart. Draw flow chart for the program to find maximum

number from list.

2) Write an algorithm & draw flowchart to find greatest between 3 numbers

3) Define algorithm? Discuss its various building blocks of algorithm

4) Write an algorithm & draw flowchart to print all ODD/EVEN numbers up to n

5) Define flow chart. Discuss its various blocks with suitable example.

6) Write an algorithm & draw flowchart to calculate area of circle & rectangle

7) Write Algorithm & Draw flowchart of given problem, To check if number is prime number or

not.

Unit II

8) List the data type used in python and explain briefly taking suitable example.

9) What is function? Define its syntax. Explain how to create a function in python with

example.

10) Write a function using return statement to check whether number is EVEN or ODD

11) What is function? Explain its significance in programming. Define its syntax.

12) Explain how to create a function in python with example.


Unit III
13) Write a Program to check the greater number among three number using if-elif-else.

14) Explain local and global variable with suitable example.

15) Explain the concept of recursion by writing function to compute the factorial of given number

16) WAP to generate the factorial of any number using recursion function.

17) Write a program for function to print square of numbers in list. eg. numbers= [1,2,3,4,5]

result should be [1,4,9,16,25].

18) Write a program to print Fibonacci series using for loop/ while loop.

19) Explain slicing of string using suitable example.

20) Write python program to create multiplication table of 5 using loop

Unit IV
21) Write a program to show the different operations on Dictionary

17) Describe the properties of list and dictionary.

18) Explain the concept of object oriented programming using suitable examples.

19) Write a program to create a dictionary and access the items of dictionary using for loop.

20) Write a program to create a list of five element and apply to update and delete the list.

Unit V
22) Explain various types of exception handling using suitable syntax and example.
23) Briefly define file handling in Python. Write a program to open, write, read and close the python
file.
24) With the help of suitable examples explain different ways in which you can read and write
data in file using python
25) What is exception? Explain exception handling with syntax & suitable examples.

You might also like