Python - 28-03-22
Python - 28-03-22
PARUL UNIVERSITY
FACULTY OF ENGINEERING & TECHNOLOGY
B.Tech. Summer 2021 - 22 Examination
Semester: 8 Date: 28/03/2022
Subject Code: 203105467 Time: 10:30 am to 01:00 pm
Subject Name: 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.
a)‘Website’ b) ‘WebsiteServer’
c) Error d) Server
3. The ____ items are present in the function header.
a) Function name b) Parameter list
c) Both A and B d) None
4. The graphical representation of large dataset is done by using ___ module.
a) Turtle b) Matplotlib
c) Graphics d) Regular expression
5. The system stores the parameter and local variables of function call on ____.
6. Python files are stored with ____ extension.
7. The if statement is also known as the _____ statement.
8. The output of the following code is _____.
Q.4 A) Explain MySQL Database. Write the steps to connect to MySQL database with example. (07)
OR
A) What is socket programming? Explain client and server socket programming. (07)
B) Explain file operations with example. (08)
Page 1 of 1