0% found this document useful (0 votes)
10 views

Web Programming-Assignment 1

Uploaded by

22cs054
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Web Programming-Assignment 1

Uploaded by

22cs054
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Dr. N.G.P. INSTITUTE OF TECHNOLOGY Rec.

Name :
Approved by AICTE, New Delhi & Affiliated to Anna University, Chennai) TLP
Recognized by UGC & Accredited by NAAC with A+ and NBA (BME, CSE, ECE, EEE and Mech)
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Assignment 1
S.No Questions CO/Knowledge
level
1 Write HTML code to design your own website containing CO1/ K3
headings, list, tables, images, Forms, metadata and Hyperlink.
Note: Can include advanced HTML features such as audio, video,
location, plugins and
2 Create a HTML5 document for the following screenshot.
Dr. N.G.P. INSTITUTE OF TECHNOLOGY Rec. Name :
Approved by AICTE, New Delhi & Affiliated to Anna University, Chennai) TLP
Recognized by UGC & Accredited by NAAC with A+ and NBA (BME, CSE, ECE, EEE and Mech)
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

3 Write an HTML document to create your resume and use an CO2/K3


external style sheet to style the elements. The format of the
resume is given in the next slide.
a. Use H1 for full name. Color = red, center aligned
b. Use H2 for the sub headings. Color = blue
c. Include your photo and use the shadow effect in CSS for
the image. Center aligned
d. Display the Education details as a table with a double
border. List your hobbies as a bulleted list.
e. The font to be used is “Times New Roman”.
f. Display your contact information including your email
address, contact number, LinkedIn page and Facebook
page at the end. Display this information in a smaller font
than what has been used throughout the document.

4. Develop a JavaScript code that displays text “HTML5” with


increasing font size in the interval of 100ms in RED COLOR,
when the font size reaches 50pt it displays “HTML” in BLUE
color. Then the font size decreases to 5pt.
Explain popular controls and the elements of forms used
Dr. N.G.P. INSTITUTE OF TECHNOLOGY Rec. Name :
Approved by AICTE, New Delhi & Affiliated to Anna University, Chennai) TLP
Recognized by UGC & Accredited by NAAC with A+ and NBA (BME, CSE, ECE, EEE and Mech)
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

JavaScript
5. Write a PHP script that takes an array of integers and performs CO3/K3
the following operations:
1. Calculate and display the sum of the integers.
2. Find and display the maximum value in the array.
3. Sort the array in ascending order and display the sorted
array.
Requirements:
 Use variables to store the results of the calculations.
 Utilize built-in PHP functions such as array_sum(),
max(), and sort().
 Implement program control to ensure that the
operations are only performed if the array is not empty.
If the array is empty, display an appropriate message.
Dr. N.G.P. INSTITUTE OF TECHNOLOGY Rec. Name :
Approved by AICTE, New Delhi & Affiliated to Anna University, Chennai) TLP
Recognized by UGC & Accredited by NAAC with A+ and NBA (BME, CSE, ECE, EEE and Mech)
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Dr.N.G.P. Institute of Technology, Coimbatore


Department of Information Technology
Course code and Course Name 22UIT501 – Web Programming
Sem/Year V / III
Programme B.E./B.Tech. (IT,CSBS,CSE)
Batch 2022-2026
Faculty Name Dr B.Hemalatha,Mr.V.Suresh, Ms.G.Shanmugapriya
Date of issue: 18.09.2024 Submission Due: 10.10.2024
Reference source 1 Paul Deitel, Harvey Deitel, Abbey Deitel, “Internet
and World Wide Web - How To Program”, 5th Edition,
Pearson Education, New Delhi, 2019

2 Jeffrey C and Jackson, Web Technologies A


Computer Science Perspective, Pearson Education,
2011.
Max. Marks 30

Instructions to students

 ANSWER NEATLY AND LEGIBLY on A4 sheets only and not in sheets torn from a
book.
 Sketch diagrams wherever relevant. Explain your notations explicitly and clearly.
 An incomplete assignment is not acceptable for submission.
 Once you submit your assignment, you will be expected to answer all the questions
there INDEPENDENTLY.
 You may be asked to answer any question about the assignment in the class.
 Leave a clear left margin on every page.
 On the top of the first page, write your Name, Class, Section, Roll No., Due Date and
Date of Submission.
 Staple (do NOT pin or clip) the assignment solution sheets cleanly at the left-hand
top corner.

Course Handling Faculty Course Coordinator HoD-IT

You might also like