Department of Information Science and Engineering
Even Sem 2020 (February - May 2020)
Subject Name : Python Semester :VI
Subject Code : 17CS664 Section: A
QUESTION BANK FOR MODULE-1
Sl. POs COs RBT
No Levels
Describe the hardware architecture of a computer. PO1 CO1 L1
1
What is a program? Briefly discuss building blocks of a program. PO2 CO1 L1
2
Bring out the difference between an Interpreter and a Compiler. PO2 CO1 L2
3
What are various ways in which a Python program can be executed?
4 Discuss PO2 CO1 L2
What are the rules for naming variables in Python?
5 PO2 CO1 L2
Write a short note on:
i) Comments in Python ii) ** and // operators iii) Short-
6 circuit evaluation iv) input()Function v) Boolean values PO2 CO1 L2
vi) Python keywords
vii) Types of Errors viii) Precedence of Operators ix) Built-
in Functions x) Random Numbers xi) Math functions
When is a nested condition used? Discuss with an example.
7 PO1 CO1 L2
Elaborate exception handling in Python with an example.
8 PO1 CO1 L2/L3
What are fruitful functions and void functions? Give examples.
9 PO2 CO1 L2
Explain the working of python user defined functions along with its
10 PO1 CO1 L2/L3
syntax.
List the uses of functions in Python
11 PO2 CO1 L2
12 PO2 CO1 L3
Write a Program to Prompt for a Score between 0.0 and 1.0. If the
Score is out of range, print an error. If the score is between 0.0 and
1.0, print a grade using the following table
13 PO2 CO1 L3
Write a program to check whether a number is prime or not? Also
write a program to find factorial of a number using recursion.
Name & Signature Scrutinized by (Name & Signature) IQAC
of Course Instructors 1)
1) 2)