You are on page 1of 2

FACULTY OF COMPUTER SCIENCE AND ENGINEERING

Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi

Quiz # 01 Reg: ________________ Name: ________________________

Spring 2020 CS463 Web Engineering Maximum Time: 20 minutes

Q#1. The output of the following HTML is given without applying CSS. 1 x 5 = 5 marks
Highlight the changes in the output given below after apply the CSS.

<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
h1 {
text-decoration: underline;
}
div + p{
text-decoration: underline;
}
div p{
text-decoration: underline;
}
.description{
border: solid black;
}
</style>
</head>
<body>
<h1>CS463</h1>
<div>
<p class="description">Web Engineering</p>
</div>
<p>FCSE</p>
<p class="description">GIKI</p>
</body>
</html>
Q#2 What is the main difference between GET and POST requests? 2 marks

GET POST

Q#3 www.cs463.com/about.php 1 x 4 marks = 4 marks

Assuming security certificate/protocol is not used on the website. Identify following for the above
mentioned URL:

a. Path: ________________________ c. Protocol: _____________________

b. Host: ________________________ d. Port: ________________________

Q#4 Categorize following in appropriate columns (Frontend or Backend). 1x7 = 7 marks

HTML, PHP, CSS, MySQL, JavaScript, Apache, Response.

Frontend Backend

Q#5 How would you write following code to make it more appropriate in HTML5? 2 marks

HTML4 HTML5

<div class=”footer”>
<a href=”#abc”>Link</a>
</div>

You might also like