You are on page 1of 6

University of Engineering & Management, Kolkata

Course: B.Tech(CS) Semester: 7th


Paper Name: Internet Technology Laboratory
Paper Code: PCCCS795D

Full Marks: 100 Time: 3 hours

SET – A ( For Section A Students Only)

1. Write an HTML program to create a web page to display the following:


a. Text field to enter Name, Nationality, Age, Phone No, Address
b. Radio button to enter Vaccination Status (Received 1 st Dose Only/Received 2nd Dose/Not
Vaccinated)
c. Check box to enter Allergies if known any with fields like Food, Dust, Medicine etc.
d. One drop down list for stream (B.Tech, BCA, M. Tech, MCA) and another drop down list
for branch(CSE, ECE, ME, CIVIL etc.)
e. HTML table to display vaccination status of family members with member name, relation,
age, date of vaccination etc.

2. Develop a JavaScript program to display a message “WELCOME TO MY PAGE” when a page is


loaded and display another message “SEE YOU SOON” when a page is unloaded.

3. Write a JavaScript program to enter a number in a textbox and to check whether the number is an
Armstrong number as an alert/popup.

4. Develop static pages (using Only HTML) of an online Book store. The pages should resemble: a.
Home page, Registration and user Login b. User Profile Page, Books catalog c. Shopping Cart, Payment
By credit card d. Order Conformation.

1
SET – B (For Section B Students Only)

1. Develop a JavaScript program to build a Calculator.

2. Develop static pages (using Only HTML) of an online Cake shop. The pages should resemble:
a. Home page, Registration and User Login
b. User Profile Page with address, gender, age, birthday , anniversary etc.
c. Cakes catalogue with flavour, shape etc.
d. Shopping Cart, Payment By credit card/debit card
d. Order Conformation.

3. Using the FORM tag of HTML , create a registration form for upcoming Xmas party having the
below mentioned fields:
a. Name (Using Text boxes)
b. Address (Using Text boxes)
c. Phone Number (Using Text boxes)
d. Email Id (Using Text boxes)
e. Gender (Using radio button)
f. Food Preferences (Veg/Non-veg) (Using radio button)
g. Interested to Perform (Singing/Dancing/Recitation/Painting etc.) (Using check boxes)
h. Submit button and reset button

4. Develop a JavaScript program to display a message “HI! GOOD MORNING”. When a page is
loaded and display a message “THANKS FOR VISITING OUR WEB PAGE” when a page is un-
loaded.

SET – C (For Section C Students Only)

1. Write a JavaScript program to calculate product of two numbers. Enter the numbers in textboxes
and return the product as an alert/popup.

2. Design a web page for reading news with the following -

a. Add a heading. (Example – Headlines)


b. Add a title. (Example – Sports)
c. Start the <body> section and add some description
d. Create a frameset
e. Use frame tags
f. Create vertical (column) frames
g. Create horizontal (row) frames
h. Create complex framesets

2
i. Use the hyperlink tag to target displaying an HTML page to another frame.

3. Write a JavaScript program to enter a number in a textbox and to return the factorial of that
number as an alert/popup.

4. Design a web page with a text box (username) where the user can enter a name and another text
box (ID) where the user can enter four digit ID. Validate the entered username and ID field for the
following using java script -

a. Both the fields should not be empty


b. Name field should have alphabets
c. ID field should have numeric.

SET – D (For Section D Students Only)

1. Design a web page for displaying results with the following -


a. Add a heading. (Example – Name of University)
b. Add a title. (Example – Stream, Semester, Student Name)
c. Start the <body>section.
d. Create a simple table
e. Change table background colour.
f. Perform cell text alignment
g. Create multi-column tables,
h. Display information about subjects, subject codes, grades obtained in each subject into
this table.

2. Write a JavaScript to get the number of Fibonacci elements to be generated from the user
using prompt() and display the Fibonacci series using a popup.

3. Design a web page to upload Aadhar details –

a. A text box where the user can enter name


b. Another text box where the user can enter Aadhar Number
c. A button “validate” to check the entered details using JavaScript –
i. Both the fields should be non-empty
ii. Name field should have alphabets
iii. Aadhar card Number field should have numeric entry.

4. Write a JavaScript program to enter a number in a textbox and to return the factorial of a number
as an alert/popup.

3
SET – E (For Section E Students Only)

1. Write a JavaScript program to find out the roots of a quadratic equation and display the roots.

2. Write an HTML program containing 5 different Images: Laptop, Telephone, Camera, Storybook
and Coffee mug having respective Images with shapes and coordinates. On clicking any of the
Images, a new page will open with relevant description and image of the topic and a
corresponding Wikipedia link like: https://en.wikipedia.org/wiki/Telephone.

3. Design your web page with HTML for building resume -


a. Add a heading. (Example – Your name)
b. Add a title. (Example – Contact Details)
c. Start the <body> section.
d. Add text describing academic credentials using <H1> and </H1>tags
e. Add a horizontal line
f. Add text describing work experience using <H2> and </H2> tags
g. Add another horizontal line.
h. Insert an image to your web page (the image should be referred with just the filename and
NOT the entire pathname to the file).

4. Write a JavaScript program to calculate sum of two numbers. Enter the numbers in textboxes and
to return the sum as an alert/popup.

SET – F (For Section F Students Only)

1. Write a JavaScript to prompt the user for the radius of the circular base of the cylinder,
height of the cylinder and call a function cylVolume to calculate and display the volume
of the cylinder. Use the statement – Volume=Math.PI * Math.pow(radius,2) * height.

2. Design a web page for your food habit details using HTML with the following -

a. Add a heading (Example – Your name).


b. Add a title. (Example – Contact Details)
c. Start the <body>section. (Example – Describe your favorite food)
d. Create an unordered list with favourite soft drinks (Example – Pepsi, coke)
e. Create an ordered list with favourite desert items (Example – pastry, ice-cream)
f. Use various bullet styles
g. Created nested lists to include main course dishes

3. Write a JavaScript program to validate an email ID.

4. Develop a web page for a tele-shopping firm to display a list of products on sale and its

4
unit price. It also allows the visitor to select one or more items from the list and prompts for
quantity of each item selected. Finally, when all selections completed, it should display the bill
for payment.

SET – G (For Section G Students Only)

1. Develop a web page for an online shopping portal –


a. To display a list of products, price of each product in various currencies
b. Special festive offers etc.
c. Option to select one or more items from the list by the buyer
d. Option to choose quantity of each selected item.
e. Amount to be paid in various currencies
f. Option for payment (cash on deliver/ cards/Net Banking etc.)

2. Write a JavaScript program to calculate the area of a circle. The user should –
i. Input the radius through an HTML text field
ii. Press Submit button to initiate calculations
iii. Press Display button to get result

3. Write a JavaScript program to convert a given string to lowercase using toLowerCase().

4. Start your web page with an <html> tag


a. Add a heading.
b. Add a title.
c. Start the <body> section.
d. Start a new paragraph.
e. Use alignment attribute,
f. Use bold, italic Use font tag and associated attributes,
g. Use heading tags.

SET – H (For Section H Students Only)

1. Write a JavaScript program to use math.floor(number/10) to get the floor of number after
division (used for reversing).

2. Design your web page with HTML to display your reading habits–

a. Add a heading (Example - Your Name).


b. Add a title. (Example – Contact Details)
c. Start the <body>section.
d. Start a new paragraph. (Example – To describe your favourite books)
e. Start another paragraph (Example – To describe your favourite writers)

5
e. Create Hyperlinks to another URL. (Example – To take to the Wikipedia biography pages of the
writers)

3. Write a HTML program to display your name, address, university, department name as an
ordered list within an iFrame. Set the height as 300, width as 400. The content within the iFrame
should be captured in a separate file, which needs to be called as a source (src) within iFrame.

4. Write a JavaScript program to calculate the area of a rectangle. The user should input the length
and breadth through an HTML text field and press an HTML button to initiate the calculations.

You might also like