Professional Documents
Culture Documents
PATEL POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
QUESTION BANK
Course Name (With Code): Python Programming (4311601)
Sr. No. Questions related to Course Outcomes CO Number
Part – A
Questions carrying 3 Marks
1 What is Problem Solving? List the steps of problem solving. 4311601.a
2 Construct an Algorithm to check entered number is even or odd. 4311601.a
3 Write Importance and Limitations of Flow chart. 4311601.a
5 Give Difference between Flow chart and Algorithm. 4311601.a
6 Design a Flow Chart to print sum of 10 numbers 4311601.a
7 Explain features of Python 4311601.b
8 List application of python 4311601.b
9 Explain Type Conversion in python. 4311601.b
Check following variable names and indicate whether it is valid or
invalid.
10 i) _my_var = "IT"
4311601.b
ii) 16myvar="AHMedabad"
iii) iii) MYVAR = "computer2"
11 Define selection statement. Explain any one in detail. 4311601.c
12 Write short note on while loop 4311601.c
13 Define function. Why do we need it? 4311601.d
Write a user-defined function to find the factorial of a given
14 4311601.d
number.
15 Differentiate arguments and parameters with suitable example 4311601.d
List out string operations. Explain any two operations with
16 4311601.e
example.
Explain usage of given string methods
17 4311601.e
i) islower( ) ii) replace( ) iii) isdigit( )
List out various String operations and Explain any one with
18 4311601.e
example
19 List built in methods of list and give their use. 4311601.e
20 List out various List operations and Explain any one with example. 4311601.e
Part – B
Questions carrying 4 Marks
1 Explain Pseudocodes with example. 4311601.a
Design a flowchart to check entered number is positive or
2 4311601.a
negative.
3 Explain Input and Output statements in Python by giving examples 4311601.b
4 Summarize the assignment operators of python 4311601.b
5 Summarize the comparison operators of python. 4311601.b
6 Explain local and global variables using examples 4311601.b
7 Define selection statement. Explain any one in detail. 4311601.c
8 Explain if…else statement with suitable example 4311601.c
9 Explain while loop by giving flowchart and example. 4311601.c
Write a program to show whether the entered number is prime or
10 4311601.c
not
11 Explain break and continue statement with suitable example 4311601.c
Create a program to display the following patterns
1
12
12
123 4311601.c
1234
12345
13 Explain local and global variables using examples 4311601.d
14 Write a program to find length of string. 4311601.e
Build a python code to check whether given element is member of
15 list 4311601.e
or not.