0% found this document useful (0 votes)
6 views2 pages

Important Question

The document outlines important questions for an end semester exam on Python programming for data science, covering three units. Unit I focuses on Python basics, including modules, operators, conditional statements, iteration, and data types. Units II and III delve into data structures, file handling, data manipulation with Pandas, and packages for data analysis like Numpy and Matplotlib.

Uploaded by

Mahesh Kumar
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)
6 views2 pages

Important Question

The document outlines important questions for an end semester exam on Python programming for data science, covering three units. Unit I focuses on Python basics, including modules, operators, conditional statements, iteration, and data types. Units II and III delve into data structures, file handling, data manipulation with Pandas, and packages for data analysis like Numpy and Matplotlib.

Uploaded by

Mahesh Kumar
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/ 2

22AD402 & PYTHON PROGRAMMING FOR DATA SCIENCE

Important Question for End Semester Exam


UNIT I – BASICS OF PYTHON

1) Explain about OS Module in python with Suitable example


a) os.mkdir()
b) os.getcwd()
c) os.remove()
d) os.rmdir()

2) Discuss in detail about python operators with suitable example.

3.) Explain about conditions and branching

Types of Conditional Statement in Python

1.If Conditional Statement in Python


2. If else Conditional Statement in Python
3. Nested if..else Conditional Statement in Python
4. If-elif-else Conditional Statement in Python
5. Ternary Expression Conditional Statement in Python

Python provides three branching statements break, continue and return.

4) Explain about iteration statements in python with its syntax and suitable example
programs. (for and while loop)

5. Discuss in detail about python operators with suitable example.

6. Elaborate the different types of arguments in python function with suitable example program

7. Explain about Data types and its associated operations

UNIT II – PYTHON DATA STRUCTURES AND PACKAGES

1. Explain about operation and Method or Built in Functions of List ,Tuple ,Dictionary and
Set with suitable example

2. Explain about File Handling and its types in python with suitable example.

 Create mode
 Open Mode
 Read Mode 'r':
 Write Mode 'w':
 Append Mode 'a':
 Close mode
2. Discuss in detail about Pandas – Series – Data frame
3. Explain about Data manipulation – Merging – Group by – Scales and Indexing and
loading
4. Explain about Date and time.
a. datetime.date
b. datetime.time
c. datetime.datetime
d. datetime.tzinfo
e. datetime.timedelta
f. datetime.timezone

UNIT III – PACKAGES FOR DATA ANALYSIS

1.Explain about Numpy – 1D and 2D numpy – Associated operations

2. Discuss in detail about Linear algebra and related operations

3. Elaborate the different types plots -Matplotlib – scatterplot – line plot – bar plot – histogram –
box plot – pair plot

4. Explain about Indexing and other operations.

5. Discuss in detail about Regression and classification

You might also like