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

Advanced Python Internal Questions

This document outlines the external examination question paper for the Applications of Python Lab for II B.Tech students at Raghu Engineering College. It includes a series of programming tasks related to NumPy arrays, Pandas DataFrames, file handling, data preprocessing, and data visualization. Each section specifies the required operations and functionalities to be implemented in Python.

Uploaded by

Phani P
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Advanced Python Internal Questions

This document outlines the external examination question paper for the Applications of Python Lab for II B.Tech students at Raghu Engineering College. It includes a series of programming tasks related to NumPy arrays, Pandas DataFrames, file handling, data preprocessing, and data visualization. Each section specifies the required operations and functionalities to be implemented in Python.

Uploaded by

Phani P
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

RAGHU ENGINEERING COLLEGE

Autonomous
(Approved by AICTE, New Delhi, Accredited by NBA (CIV, ECE, MECH, CSE), NAAC with ‘A+’ grade
& Permanently Affiliated to JNTU-GV Vizianagaram)
Dakamarri, Bheemunipatnam Mandal, Visakhapatnam Dist. – 531 162 (A.P.)
Ph: +91-8922-248001, 248002 Fax: + 91-8922-248011
e-mail: principal@[Link] website: [Link]

DEPARMENT OF COMPUTER SCIENCE & ENGINEERING


II [Link] (2025-26) II Semester Lab External Examination
Question Paper
Subject: Applications of Python Lab Date:
1. NumPy Arrays
Write a Python program to create:
 A basic NumPy array
 Array of zeros and ones
 Identity matrix
 Evenly spaced array using linspace()
2. Array Shape & Reshaping
Write a program to:
 Find dimension, shape, and size of an array
 Reshape a 1D array into 2D
 Flatten the array
 Find transpose
3. Expand & Squeeze
Write a Python program to:
 Expand dimensions of a NumPy array
 Squeeze the array
 Sort elements in the array
4. Indexing & Slicing
Write a program to demonstrate:
 1D array slicing
 2D array slicing
 Negative slicing
 Access elements from a 3D array
5. Stacking & Concatenation
Write a Python program to:
 Perform vertical stacking
 Horizontal stacking
 Concatenate two arrays
6. Pandas DataFrame Operations
Write a program to:
 Create a DataFrame
 Add a new column
 Apply conditions (filtering)
 Concatenate two DataFrames
7. Pandas Advanced Operations
Write a Python program to:
 Handle missing values using fillna()
 Sort data based on a column
 Perform groupby() operation
8. File Handling using Pandas
Write a Python program to read:
 CSV file
 Display first 5 rows of each.
9. Data Preprocessing
Write a program to perform:
 Feature scaling
 Standardization
 Label Encoding
 One Hot Encoding
10. Data Visualization
Write a Python program to plot:
 Bar graph
 Histogram
 Scatter plot
 Line chart

Internal Examiner External Examiner

You might also like