PPFSD 303144209 5911 Question Paper
PPFSD 303144209 5911 Question Paper
PARUL UNIVERSITY
FACULTY OF ENGINEERING & TECHNOLOGY
B.Tech. Winter 2023 - 24 Examination
Semester: 3rd Date: 01-11-2023
Subject Code: 303144209 Time: 02:00 pm to 04:30 pm
Subject Name: Introduction to python programming Total Marks: 60
Instructions:
1. All questions are compulsory.
2. Figures to the right indicate full marks.
3. Make suitable assumptions wherever necessary.
4. Start new question on new page.
Q.1 Objective Type Questions - ( Fill in the blanks, one word answer, (15) CO PO Bloom’s
MCQ-not more than Five in case of MCQ) (All are compulsory) Taxonomy
(Each of one mark)
1. Which of the following character is used to give single-line CO1 PO2 Knowledge
comments in Python?
a) // b) !
c) # d) /*
3. What arithmetic operators cannot be used with strings in Python? CO1 PO2 Knowledge
a) * b) +
c) – d) All of the mentioned
4. What will be the value of the following Python expression? 4 + 3 CO1 PO2 Knowledge
%5
a) 7 b) 4
c) 2 d) 1
5. Which one of the following is not a keyword in Python language? CO1 PO2 Knowledge
a) pass b) assert
c) eval d) nonlocal
6. What will be the output of the following Python expression? CO1 PO2 Knowledge
round(4.576)
7. Which of the following is a Python tuple? CO1 PO2 Knowledge
a. {1, 2, 3}
b. {}
c. [1, 2, 3]
d. (1, 2, 3)
8. What is “Hello”.replace(“l”, “e”)? CO1 PO2 Knowledge
a. Heeeo
b. Heelo
c. Heleo
d. None
9. Python has ______ keywords. CO1 PO2 Knowledge
12. Which operator is used to denote Integer division in Python CO1 PO2 Knowledge
Page 1 of 2
13. Python is not an Object Oriented Programming language. (True / CO1 PO2 Knowledge
False)
14. Bio Python was developed by ____________ and __________. CO1 PO2 Knowledge
Q.3 A) Explain the following data structures with examples. (07) CO1 PO10 Knowledge
1. List
2. Set
3. Tuple
4. Dictionary
B) What is The Structure and Behavior of a “while Loop” explain (08) CO1 PO10 Knowledge
with example
OR
B) Explain with example the For loop in context to Python (08) CO1 PO10 Knowledge
programming.
Q.4 A) Define Application in population genetics in bio python. (07) CO1 PO10 Knowledge
OR
A) What is Cluster analysis and explain in detail. (07) CO1 PO10 Knowledge
B) List out all working directories in python and explain with (08) CO1 Analyze
example.
Page 2 of 2