Wt&ds Sem-1 Sppu Slips
Wt&ds Sem-1 Sppu Slips
Wt&ds Sem-1 Sppu Slips
Q.2 A) Write a Python program to create a Pie plot to get the frequency of the three species of
the Iris data (Use iris.csv) [10]
B) Write a Python program to view basic statistical details of the data.(Use wineequality-red.csv)
[5]
Viva [5]
_______________________________Slip-1______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.2 A) Write a Python program for Handling Missing Value. Replace missing value of salary,
age column with mean of that column.(Use Data.csv file). [5]
Q.2 B) Write a Python program to generate a line plot of name Vs salary [5]
Q.2 C) Download the heights and weights dataset and load the dataset froma given csv file into a
dataframe. Print the first, last 10 rows and random 20 rows also display shape of the
dataset. [5]
Viva [5]
_______________________________Slip-2______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.1) Write a program using html with following CSS specifications- [15]
Q.2 A)Write a Python program to create box plots to see how each feature i.e. Sepal Length,
Sepal Width, Petal Length, Petal Width are distributed across the three species. (Use
iris.csv dataset) [10]
Q.2 B) Write a Python program to view basic statistical details of the data (Use Heights and
Weights Dataset) [5]
Viva [5]
______________________________Slip-3_______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
List of Books
Item No Item Name Price
Rs. Paise
1 Programming in Python 500 50
2 Programming in Java 345 00
Q.2 A) Generate a random array of 50 integers and display them using a line chart, scatter
plot, histogram and box plot. Apply appropriate color, labels and styling options. [10]
Q.2 B) Write a Python program to print the shape, number of rows-columns, data types,
feature names and the description of the data(Use User_Data.csv) [5]
Viva [5]
_______________________________Slip-4______________________________
Q.1) Create following Bootstrap Web Layout Design and change Title, add your personal
information, educational information, job profile. [15]
Q.2 A) Generate a random array of 50 integers and display them using a line chart, scatter
plot, histogram and box plot. Apply appropriate color, labels and styling options. [10]
Q.2 B) Write a Python program to print the shape, number of rows-columns, data types,
feature names and the description of the data(Use User_Data.csv) [5]
Viva [5]
_______________________________Slip-5______________________________
Q.1) Create following Bootstrap Web Layout Design and set Header background color Blue,
add your College name, set Menu section background color green create menu About Us, In
content section add college information, background color yellow, Footer section background
color red, add address of college. [15]
Q.2 A) Write a Python program for Handling Missing Value. Replace missing value of salary,
age column with mean of that column.(Use Data.csv file). [5]
Q.2 B) Write a Python program to generate a line plot of name Vs salary [5]
Q.2 C) Download the heights and weights dataset and load the dataset froma given csv file into a
dataframe. Print the first, last 10 rows and random 20 rows also display shape of the
dataset. [5]
Viva [5]
___________________________Slip-6______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.1) Design HTML 5 Page Using CSS Which Displays the following Navigation Bar [15]
Viva [5]
_______________________________Slip-7______________________________
Q.1) Design an HTML form to accept two strings from the user. Write a PHP script for the
following.
a. Find whether the small string appears at the start of the large string.
b. Find the position of the small string in the big string.
c. Compare both the string for first n characters, also the comparison should not be case
sensitive. [15]
Viva [5]
_______________________________Slip-8______________________________
Q.1) Write a PHP script for the following: Design a form having a text box and a drop down list
containing any 3 separators(e.g. #, |, %, @, ! or comma) accept a strings from the user and also a
separator.
a. Split the string into separate words using the given separator.
b. Replace all the occurrences of separator in the given string with some other separator.
c. Find the last word in the given string. [15]
Q.2 A) Generate a random array of 50 integers and display them using a line chart, scatter plot.
Apply appropriate color, labels and styling options. [5]
Q.2 B) Create two lists, one representing subject names and the other representing marks
obtained in those subjects. Display the data in a pie chart. [5]
Q.2 C) Write a program in python to perform following task (Use winequality-red.csv ) [5]
Import Dataset and do the followings:
a) Describing the dataset
b) Shape of the dataset
c) Display first 3 rows from dataset
Viva [5]
_______________________________Slip-9______________________________
Q.1) Write a script to accept two integers(Use html form having 2 textboxes).
Write a PHP script to,
a. Find mod of the two numbers.
b. Find the power of first number raised to the second.
c. Find the sum of first n numbers (considering first number as n)
d. Find the factorial of second number.
(Write separate function for each of the above operations.) [15]
Q.2 A) Write a python program to Display column-wise mean, and median for SOCR-
HeightWeight dataset. [10]
Q.2 B) Write a python program to compute sum of Manhattan distance between all pairs of
points. [5]
Viva [5]
_______________________________Slip-10______________________________
Q.2 A) Write a Python program to create a Pie plot to get the frequency of the three species of
the Iris data (Use iris.csv) [10]
B) Write a Python program to view basic statistical details of the data.(Use wineequality-red.csv)
[5]
Viva [5]
_______________________________Slip-11______________________________
Q.1) Write a PHP script for the following: Design a form to accept two numbers from the user.
Give options to choose the arithmetic operation (use radio buttons). Display the result on the next
form. (Use the concept of function and default parameters. Use ‘include’ construct or require
statement) [15]
Q.2 A) Generate a random array of 50 integers and display them using a line chart, scatter plot,
histogram and box plot. Apply appropriate color, labels and styling options. [10]
Q.2 B) Write a Python program to create data frame containing column name, salary, department
add 10 rows with some missing and duplicate values to the data frame. Also drop all null and
empty values. Print the modified data frame. [5]
Viva [5]
_______________________________Slip-12______________________________
Q.1) Write a PHP script to create a chess board using CSS on table cells. [15]
Q.2 A) Write a Python program to create a graph to find relationship between the petal length
and petal width.(Use iris.csv dataset) [10]
Q.2 B) Write a Python program to find the maximum and minimum value of a given flattened
array. [5]
Viva [5]
_______________________________Slip-13______________________________
Q.1) Create a container add row inside it and add 3 columns inside row using BootStrap.
[15]
Q. 2 A) Write a Python NumPy program to compute the weighted average along the specified
axis of a given flattened array. [10]
Q. 2 B) Write a Python program to view basic statistical details of the data (Use advertising.csv)
[5]
Viva [5]
_______________________________Slip-14______________________________
Q.1) Design a form to accept string from the user and perform the following operations
a. To select first 5 words from the string
b. Convert the given string to lowercase and then to Title case.
c. Pad the given string with “*” from left and right both the sides.
d. Remove the leading whitespaces from the given string.
e. Find the reverse of given string. [15]
Q.2 A) Generate a random array of 50 integers and display them using a line chart, scatter
plot, histogram and box plot. Apply appropriate color, labels and styling options.
[10]
Q.2 B) Create two lists, one representing subject names and the other representing marks
obtained in those subjects. Display the data in a pie chart. [5]
Viva [5]
_______________________________Slip-15______________________________
Q.1) Write a PHP script for the following: Design a form to accept the marks of 5 different
subjects of a student, having serial number, subject name & marks out of 100. Display the
result in the tabular format which will have total, percentage and grade. Use only 3 text
boxes.(Use array of form parameters) [15]
Q.2 A) Write a python program to create two lists, one representing subject names and the other
representing marks obtained in those subjects. Display the data in a pie chart and bar chart.
[10]
Q.2 B) Write a python program to create a data frame for students’ information such as name,
graduation percentage and age. Display average age of students, average of graduation
percentage. [5]
Viva [5]
_______________________________Slip-16______________________________
Q.2 A) Write a Python program to draw scatter plots to compare two features of the iris dataset
[10]
Q.2 B) Write a Python program to create a data frame containing columns name, age , salary,
department . Add 10 rows to the data frame. View the data frame. [5]
Viva [5]
_______________________________Slip-17______________________________
Q.1) Write a menu driven program to perform the following operations on an associative array
a. Reverse the order of each element’s key-value pair.
b. Traverse the element in an array in random order.
c. Convert the array elements into individual variables.
d. Display the elements of an array along with key. [15]
Q.2 A) Write a Python program to create box plots to see how each feature i.e. Sepal Length,
Sepal Width, Petal Length, Petal Width are distributed across the three species. (Use iris.csv
dataset) [10]
Q.2 B) Use the heights and weights dataset and load the dataset from a given csv file into a
dataframe. Print the first, last 5 rows and random 10 row [5]
Viva [5]
_______________________________Slip-18______________________________
Q.1)Write a PHP script to accept 2 strings from the user, the first string should be a sentence and
second can be a word.
a. Delete a small part from first string after accepting position and number of characters to
remove.
b. Insert the given small string in the given big string at specified position without removing
any characters from the big string.
c. Replace some characters/ words from given big string with the given small string at
specified position. [15]
Viva [5]
_______________________________Slip-19______________________________
Q.1) Write a menu driven program to perform the following operations on associative arrays:
a) Split an array into chunks
b) Sort the array by values without changing the keys.
c) Filter the even elements from an array. [15]
Q.2 A) Generate a random array of 50 integers and display them using a line chart, scatter plot,
histogram and box plot. Apply appropriate color, labels and styling options. [10]
Q.2 B) Add two outliers to the above data and display the box plot. [5]
Viva [5]
_______________________________Slip-20______________________________
Q.2 A) Import dataset “iris.csv”. Write a Python program to create a Bar plot to get the
frequency of the three species of the Iris data. [10]
Q.2 B)Write a Python program to create a histogram of the three species of the Iris data.
[5]
Viva [5]
_______________________________Slip-21______________________________
Q.1) Write a menu driven program to perform the following queue related operations
a) Insert an element in queue
b) Delete an element from queue
c) Display the contents of queue [15]
Viva [5]
_______________________________Slip-22______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.1) Write a menu driven program to perform the following stack related operations:
a) Insert an element in stack
b) Delete an element from stack
c) Display the contents of stack [15]
Viva [5]
_______________________________Slip-23______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.1) Write a PHP program to read two file names from user and append content of first file into
second file. [15]
Q.2 A) Import dataset “iris.csv”. Write a Python program to create a Bar plot to get the
frequency of the three species of the Iris data. [10]
Q.2 B) Write a Python program to create a histogram of the three species of the Iris data. [5]
Viva [5]
_______________________________Slip-24______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.1) Write a menu driven program to perform various file operations. Accept filename from
user. [15]
a) Display type of file.
b) Display last modification time of file
c) Display the size of file
d) Delete the file
Q.2 A) Generate a random array of 50 integers and display them using a line chart, scatter plot,
histogram and box plot. Apply appropriate color, labels and styling options. [10]
Q.2 B) Create two lists, one representing subject names and the other representing marks
obtained in those subjects. Display the data in a pie chart. [5]
Viva [5]
_______________________________Slip-25______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.2 A) Generate a random array of 50 integers and display them using a line chart, scatter plot,
histogram and box plot. Apply appropriate color, labels and styling options. [10]
2.Create two lists, one representing subject names and the other representing marks obtained in
those subjects. Display the data in bar chart. [5]
Viva [5]
_______________________________Slip-26______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.1) Write a PHP program to read two file names from user and copy the content of first file into
second file. [15]
Q.2) Create a dataset data.csv having two categorical column (the country column, and the
purchased column). [15]
a. Apply OneHot coding on Country column.
b. Apply Label encoding on purchased column
Viva [5]
_______________________________Slip-27______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.1) Write a program to read a flat file “student.dat”, calculate the percentage and display the
data from file in tabular format.(Student.dat file contains rollno, name, OS, WT, DS, Python,
Java, CN ) [15]
Viva [5]
_______________________________Slip-28______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Q.2) Create a dataset data.csv having two categorical column (the country column, and the
purchased column). [15]
1. Apply OneHot coding on Country column.
2. Apply Label encoding on purchased column
Viva [5]
_______________________________Slip-29______________________________
Savitribai Phule Pune University
T.Y.B.Sc.(Computer Science) Semester-V
(2019 Pattern)
Practical Examination in Web Technologies and Fundamentals of Data Science
Course Code : CS-358 Type : DESC-II
Course Title : Practical course based on CS 353 and CS 354
Duration : 3 hours Max. marks : 35
Viva [5]
_______________________________Slip-30______________________________