UNIVERSITY EXAMINATION 2020/2021
YEAR 1 SEMESTER I EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE
IN SOFTWARE ENGINEERING
SPE 2107: INTRODUCTION TO WEB TECHNOLOGIES
DATE: Friday, 28th May, 2021 TIME: 11.00 am – 1.00 pm
Instructions
Answer question one and any other two from section B
Do not write on this paper
SECTION A {compulsory}
QUESTION ONE (30MKS).
a) State and explain what each of the following acronyms stand for:
i. HTML
ii. HTTP
iii. CSS (6marks)
b) Explain the role of <!doctype html> in an HTML document (3 marks)
c) Briefly discuss the usage and differences of the <p>and <br/> tags of html (2 marks)
d) Outline the main rules of well-formed HTML documents (2marks)
e) Giving a html example for each differentiate between ordered and unordered
lists (4marks)
f) Explain why the tag is used in html (2 marks)
i. What is the loopback address? (2marks)
ii. Give two ways of accessing the loopback address. Identify a situation as a
web designer and developer when the loopback address is of importance
to your work. (3 marks)
e) WAMP, LAMP and XAMPP are all tools that can be used by a web designer
and developer. Giving their full meanings discuss each of the three tools. (6 marks)
Page 1 of 3
SECTION B
QUESTION TWO(20MKS)
a) Discuss the use of each the following as used in web design. (10 marks)
i. <TABLE>
ii. <TD>
iii. <TR>
iv. <CAPTION>
v. <BORDER>.
b) Discuss the roles of the <head></head> tag of html (3marks)
c) Write HTML code to produce the following (7marks)
QUESTION THREE(20MKS)
a) In order to use a style sheet with your HTML5 document, you need to tell your
document where to locate the style definitions. State and explain three ways to
define styles (6 marks)
b) Write HTML code that would render the web page shown below on a
browser. (8marks)
c) State and explain the advantages of using Dreamweaver in developing websites
(6 marks)
Page 2 of 3
QUESTION FOUR(20MKS)
a) Explain the following terms used in web design: (5marks)
i. web browser
ii. Hyperlinks
iii. Web server
iv. Protocol
v. html
b) A website requires a web form (contact us form) that users can fill to contact
the web designer/ organization. The web form requires users to fill in the
following details: Name, Email Address, Phone Number, Country and Comments.
Design this web form using html. (10 marks)
c) List the THREE rules of naming HTML attributes (3 marks)
d) Write html code that displays the text "Hello World" on a web page (2 marks)
QUESTION FIVE(20MKS)
a) Explain the use of each of the following HTML tags as used in web design. (10 marks)
i. <TITLE>
ii. <HEAD>
iii. <BODY>
iv. <B>
v. ©
b) An html form tag requires many attributes. Explain each of the following form
attributes: (6 marks)
i. Action
ii. Enctype
iii. Method
c) Explain the difference between the HTTP Get and the HTTP POST methods
of sending form data to a server. (4 marks)
Page 3 of 3