You are on page 1of 9

CSE 314: INTERNET TECHNOLOGY LAB

VI Sem B.E.(CS &E)


(2008)

MIT / CSE / LM /12/R0

Prepared by Approved by

(Suma D) (H.O.D)

DEPT. OF COMPUTER SCIENCE & ENGG.

M.I.T., MANIPAL

1
INSTRUCTIONS TO STUDENTS
1. Students should be regular and come prepared for the lab practice.
2. In case a student misses a class, it is his/her responsibility to complete that missed
experiment(s).
3. Students should bring the observation book, lab journal and lab manual. Prescribed
textbook and class notes can be kept ready for reference if required.
4.They should implement the given experiment individually.
5. While conducting the experiments students should see that their programs would meet
the following criteria:
• Programs should be interactive with appropriate prompt messages, error messages
if any, and descriptive messages for outputs.
• Programs should perform input validation (Data type, range error, etc.) and give
appropriate error messages and suggest corrective actions.
• Comments should be used to give the statement of the problem and every function
should indicate the purpose of the function, inputs and outputs
• Statements within the program should be properly indented
• Use meaningful names for variables and functions.
• Make use of Constants and type definitions wherever needed.

6. Once the experiment(s) get executed, they should show the program and results to the
instructors and copy the same in their observation book.
7.Questions for lab tests and exam need not necessarily be limited to the questions in the
manual, but could involve some variations and / or combinations of the questions.
Guidelines for Instructors:
1. Students should be informed in the beginning itself that questions in the
practical examination will not necessarily be limited to the questions from the
manual , but could involve some variations and/or combinations of the questions
mentioned in the manual.

2. A group of questions of similar complexity are grouped for a lab. The


instructor can choose any arbitrary set of 3 to 5 questions from the manual for
that week so as to avoid students copying from previous batches and also enables
the instructor to assess the student.

3. The phrase ‘Numbers’ can be assumed to be Bytes or Words suitably.

2
INTERNET TECHNOLOGY LAB (CSE-314)
VI SEM. CSE

WEEK 1

1. Write HTML document to illustrate the usage of the following tags


with all the attributes:
<H1> through <H6>, <P>, <B>, <I>, ,<BLOCKQUOTE>, <PRE>,
<OL>, <UL>, <DL>, <DT>, <DD>, <HR>, <U>, <SUB>, <SUP>,
<STRIKE>, <CENTER>, <FONT>, <MARQUEE>, <IMG>, <A>
2. Write HTML document to create a given table structure using all the
table related tags to include the following features:
a) Different colors and background Images
b) Spanning of rows and columns
c) Cell spacing and padding.

Display the
picture STUDENTS FEE RECORD
MIT Roll No. First Name Last Name Fees paid

Row 1 1
Row 2 2
Row 3 3

3
WEEK 2

3. Design a given form that includes all the following Form related tags
with all the possible attributes:
<INPUT> with all TYPEs, <SELECT>, <TEXTAREA>
APPLICATION FOR FREE PRODUCT
INFORMATION
1. Title : O Mr. O Ms. O Dr. O Prof. O HH

2. Last Name :

3. First Name :

4. Position Held
Designation :

Department :

Organization :

Address :

5. Please indicate the product(s) you would be interested. (Tick all the boxes that apply).
Computer Systems Operating Systems
Peripherals Graphics Software

6. What is the likely period of your purchasing one or more of the above products ?
(Check only one box).

Immediately 1 to 3 months Within 6 months Within 1 year


SUBMIT CANCEL DATA

4. Create three HTML files and view them in different frames of the
browser window as shown below. Make provision to load frames with
certain documents on clicking a link on some other frame.

<Frame 1> <Frame 2>


(Width = 25% of screen width & (Width = 75% of screen width &
height = full screen) height = 50% of screen height)
<Frame 3>
(Width and height same as those
of frame 2)

4
WEEK 3
5. Write a JavaScript embedded HTML tags to display the current Date in
the format “ dd/mm/yyyy” and current Time in a text box in the 12-
hour format as “hh:mm:ss [AM/PM]”. Time has to be updated every
second.
6. Write Java Scripts to illustrate the usage of various methods, properties,
and events of the following objects:
WINDOW, DOCUMENT, LOCATION, and SELECT
7. Design a web page to operate a simple arithmetic calculator that
accepts two numbers and perform mathematical calculations.

WEEK 4
8. Develop a web page for a tele-shopping firm to display a list of
products on sale and its 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.
9. Write a JavaScript to validate the form at client side for the following:
a) Empty fields
b) Numeric entries
c) Positive numeric entries
d) Numbers in a range

WEEK 5
5
(ASP)
10.Design an interactive web site for a pizza delivery firm to take orders as
shown in figure 10(a). On clicking the “Deliver It!” button, response
has to as shown in figure 10(b).
PIZZA ORDER FORM
Welcome to XYZ Pizza Delivery Firm
What Size you would like to order?

o Small
o Medium
• Large
o Extra Large

Deliver It! Cancel

Figure 10 (a)

PIZZA ORDER CONFIRMATION

You have ordered one Large sized pizza

Figure 10(b)

11.Create cookies to track the customer preferences for the above web site
and verify the cookies file.
12.Display the hit count for the above site. (use Session and Application
objects )

WEEK 6

6
13.Develop an interactive web page to work with text files as shown
below: (refer fig. 13(a) and fig. 13(b))
a) on clicking the “Read” button, the file contents have to be
displayed in the text box provided if file exists.
b) On clicking the “Save” button, the contents of the text box has to
be written/appended to the file.

WORKING WITH TEXT FILES(READ OPERATION)

Enter the file name: Sample.txt

Contents of the file:

Abc……………..

Read

Figure 13(a)

WORKING WITH TEXT FILES(WRITE OPERATION)

Enter the file name: Sample.txt

Contents to be written/appended:

Abc……………..

Save

Figure 13(b)

WEEK 7
7
14.Create a database to maintain the following information:

Club Members Database

Reg. No. First_Name Last_Name city State Phone

Perform the following operations:


a) Listing of all the rows in the database in a tabular form
b) New member registration
c) Searching for a given member and updating the record
d) Deleting a given record.

WEEK 8 – TEST

WEEK 9 - WEEK 12

Mini Project
Develop a web site for real-life application that includes:
• Tables, Forms, Frames
• Client side processing
• Form validation
• Server-side processing
• Database access
• Cookies.

WEEK 13

Mini Project Evaluation

Evaluation Scheme
8
Lab Test - 30%
Mini Project - 30%
Regular work – 40%

One Lab Test will be conducted at the end after regular lab work and
before starting the miniproject. If the student fails, a make-up exam
comprising of portions from regular lab excluding miniproject will be
evaluated for 30% of the Lab Test marks.

Students are required to do the mini project individually. Mini Project


should be a complete web application covering all the concepts (HTML
TAGS, Javascript, ASP) covered in the respective subject. No other
external packages are allowed to do the mini project.

You might also like