TYBSc (CS) WT - Deleted (2) - Removed
TYBSc (CS) WT - Deleted (2) - Removed
Q. 1) Write a PHP script to keep track of number of times the web page has been accessed (Use Session
Tracking).
[Marks 15]
Q. 2)Create ‘Position_Salaries’ Data set. Build a linear regression model by identifying independent and
target variable. Split the variables into training and testing sets. then divide the training and testing sets
into a 7:3 ratio, respectively and print them. Build a simple linear regression model.
[Marks 15]
1
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a PHP script to accept username and password. If in the first three chances, username and
password entered is correct then display second form with “Welcome message” otherwise display error
message. [Use Session] [Marks 15]
Q. 2)Create ‘User’ Data set having 5 columns namely: User ID, Gender, Age, Estimated Salary and
Purchased. Build a logistic regression model that can predict whether on the given parameter a person
will buy a car or not. [Marks 15]
3
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a PHP script to accept Employee details (Eno, Ename, Address) on first page. On second
page accept earning (Basic, DA, HRA). On third page print Employee information (Eno, Ename, Address,
Basic, DA, HRA, Total) [ Use Session] [Marks 15]
Q. 2)Build a simple linear regression model for Fish Species Weight Prediction. [Marks 15]
4
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Create XML file named “Item.xml”with item-name, item-rate, item quantity Store the details of 5
Items of different Types
[Marks 15]
Q. 2)Use the iris dataset. Write a Python program to view some basic statistical details like percentile,
mean, std etc. of the species of 'Iris-setosa', 'Iris-versicolor' and 'Iris-virginica'. Apply logistic regression
on the dataset to identify different species (setosa, versicolor, verginica) of Iris flowers given just 4
features: sepal and petal lengths and widths.. Find the accuracy of the model. [Marks 15]
5
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a PHP script to read “Movie.xml” file and print all MovieTitle and ActorName of file using
DOMDocument Parser. “Movie.xml” file should contain following information with at least 5 records
with values. MovieInfoMovieNo, MovieTitle, ActorName ,ReleaseYear [Marks 15]
Q. 2)Download the Market basket dataset. Write a python program to read the dataset and display its
information. Preprocess the data (drop null values etc.) Convert the categorical values into numeric
format. Apply the apriori algorithm on the above dataset to generate the frequent itemsets and association
rules. [Marks 15]
7
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a JavaScript to display message ‘Exams are near, have you started preparing for?’ (usealert
box ) and Accept any two numbers from user and display addition of two number .(Use Prompt and
confirm box) [Marks 15]
Q. 2)Download the groceries dataset. Write a python program to read the dataset and display its
information. Preprocess the data (drop null values etc.) Convert the categorical values into numeric
format. Apply the apriori algorithm on the above dataset to generate the frequent itemsets and association
rules. [Marks 15]
8
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a Java Script Program to show Hello Good Morning message onload event using alert box
and display the Student registration from. [Marks 15]
Q. 2)Consider text paragraph.So, keep working. Keep striving. Never give up. Fall down seven times, get
up eight. Ease is a greater threat to progress than hardship. Ease is a greater threat to progress than
hardship. So, keep moving, keep growing, keep learning. See you at work.Preprocess the text to remove
any special characters and digits. Generate the summary using extractive summarization process.
[Marks 15]
17
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a Java Script Program to print Fibonacci numbers on onclick event. [Marks 15]
Q. 2)Consider any text paragraph. Remove the stopwords. Tokenize the paragraph to extract words and
sentences. Calculate the word frequency distribution and plot the frequencies. Plot the wordcloud of the
text. [Marks 15]
18
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a Java Script Program to validate user name and password on onSubmit event.
[Marks 15]
Q. 2)Download the movie_review.csv dataset from Kaggle by using the following link
:https://www.kaggle.com/nltkdata/movie-review/version/3?select=movie_review.csv to perform
sentiment analysis on above dataset and create a wordcloud. [Marks 15]
19
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
20
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a PHP script to create student.xml file which contains student roll no, name, address, college
and course. Print students detail of specific course in tabular format after accepting course as input.
[Marks 15]
24
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a script to create “cricket.xml” file with multiple elements as shown below:
<CricketTeam>
<Team country=”Australia”>
<player>____</player>
<runs>______</runs>
<wicket>____</wicket>
</Team>
</CricketTeam>
Write a script to add multiple elements in “cricket.xml” file of category, country=”India”. [Marks 15]
25
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Write a PHP script for the following: Design a form to accept a number from the user.
Perform the operations and show the results.
1) Fibonacci Series.
2) To find sum of the digits of that number.
(Use the concept of self processing page.) [Marks 15]
Q. 2 ) Build a logistic regression model for Student Score Dataset. [Marks 15]
29
Savitribai Phule Pune University
T.Y.B.Sc. (CS) Sem-VI(2019 Pattern) UniversityPractical Examination, May 2023
CS-368- Web Technology II & Data Analytics
Duration: 3 Hours Maximum Marks: 35
Q. 1) Create a XML file which gives details of books available in “Bookstore” from following
categories.
1) Yoga
2) Story
3) Technical
and elements in each category are in the following format
<Book>
<Book_Title> --------------</Book_Title>
<Book_Author> ---------------</Book_Author>
<Book_Price> --------------</Book_Price>
</Book>
Save the file as “Bookcategory.xml” [Marks 15]
Q. 2 ) Create the dataset . transactions = [['eggs', 'milk','bread'], ['eggs', 'apple'], ['milk', 'bread'], ['apple',
'milk'], ['milk', 'apple', 'bread']] .
Convert the categorical values into numeric format.Apply the apriori algorithm on the above dataset to
generate the frequent itemsets and association rules. [Marks 15]
30