B.E / B.Tech.
PRACTICAL END SEMESTER EXAMINATIONS, APRIL / MAY 2025
Sixth Semester
OCS353 - DATA SCIENCE FUNDAMENTALS LABORATORY
(Regulations 2021)
Time: 3 Hours Answer any one Question Max. Marks 100
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure & Results
Program/Drawing
20 30 30 10 10 100
1. 1. Write a NumPy program to create a null vector of size 10 and update sixth value to 11
2. Write a NumPy program to convert an array to a float type
2. 1. Write a NumPy program to create a 3x3 matrix with values ranging from 2 to 10
2. Write a NumPy program to convert a list of numeric value into a one-dimensional
NumPy array
3. 1. Write a NumPy program to convert an array to a float type
2. Write a NumPy program to create an empty and a full array
4. 1. Write a NumPy program to convert a list and tuple into arrays
2. Write a NumPy program to find the real and imaginary parts of an array of complex
numbers
5. 1. Write a NumPy program to convert an array to a float type
2. Write a NumPy program to add a border (filled with 0's) around an existing array
6. 1. Write a NumPy program to convert a list and tuple into arrays
2. Write a NumPy program to append values to the end of an array
7. 1. Write a NumPy program to convert an array to a float type
2. Write a NumPy program to create an empty and a full array
8. 1. Write a NumPy program to convert a list and tuple into arrays
2. Write a NumPy program to find the real and imaginary parts of an array of complex
numbers
Page 1 of 2
9. 1. Write a NumPy program to convert a list and tuple into arrays
2. Write a NumPy program to convert the values of Centigrade degrees into Fahrenheit
degrees and vice versa. Values have to be stored into a NumPy array.
10. 1. Write a NumPy program to find the real and imaginary parts of an array of complex
numbers
2. Write a NumPy program to convert a NumPy array into a csv file.
11. 1. Write a NumPy program to perform the basic arithmetic operations
2. Write a NumPy program to transpose an array.
12. 1. Use NumPy , Create an array with 5 dimensions and verify that it has 5 dimensions
2. Using NumPy, Sort a Boolean array
Internal Examiner/Date External Examiner/Date
Page 2 of 2