You are on page 1of 5

CONFIDENTIAL

INDEX NO: ________________

October 2017 Mid Semester Examination


Academic Session 2017/2018

FACULTY OF BUSINESS AND MANAGEMENT

Course Code: BMIS 32152

Course Name: WEB TECHNIQUES AND APPLICATIONS

Date: 11 DECEMBER 2017

Time: 9.00 10.30 AM

Instructions:

1. Please ensure that this examination question paper consists of THREE printed pages other than
this cover page before you start the examination.

2. This question paper contains TWO sections.

3. Answer ALL questions in Section A.

4. Answer any ONE question in Section B.

5. You must write the question numbers CORRECTLY and LEGIBLY.

6. Work that you consider incorrect should be crossed out with a single line but should not be erased
or rendered unreadable.
7. Use only black or blue pen for all work other than graphs and diagrams, which may be done in
pencil.
8. You are allowed to use a silent, non-programmable calculator for your work. All workings must
be shown.

DO NOT OPEN THIS EXAMINATION PAPER UNTIL INSTRUCTED


BMIS 32152 -1- INDEX NUM: __________

SECTION A: STRUCTURED QUESTIONS [40 MARKS]


SUGGESTED TIME: 50 MINUTES
Instructions to candidates: Answers ALL questions and answer in the answer book
provided.

QUESTION 1
a) Identify each of the following HTML5 items as either an element or an attribute:
i. width
ii. type
iii. br
iv. h3
[2 Marks]
b) Write an HTML5 code to accomplish the following:
i. Display header of a text with HTML5 heading element.
ii. Link to any website using hyperlink.
iii. Insert an image img.png using image element.
[6 Marks]
[TOTAL MARKS 8]

QUESTION 2
a) Discuss TWO (2) types of lists that can be used in HTML5.
[4 Marks]
b) List and briefly explain FOUR (4) types of HTML5 elements that usually used with table
element.
[4 Marks]
[TOTAL MARKS 8]

[This paper consists of 3 pages excluding the cover page]


BMIS 32152 -2- INDEX NUM: __________

QUESTION 3
a) Write a fraction of an HTML 5 codes to produce a simple form. You may refer to the
form illustration in Figure A.Q3 below:

Please fill up this form:

Name:

Submit Reset

Figure A.Q3
[8 Marks]
[TOTAL MARKS 8]

QUESTION 4
a) State the purpose of using CSS. Discuss TWO (2) techniques of using CSS.
[5 Marks]
b) Using link element, write an HTML5 codes to link a CSS document, styles.css
[3 Marks]
[TOTAL MARKS 8]
QUESTION 5
a) What CSS property sets text to color?
[1 Mark]
b) What property allows you to decide if an element is displayed as a block element, inline
element or not rendered at all?
[1 Mark]
c) Write a CSS rule that gives all h2 and h3 elements a padding of 0.7 ems, solid border
style and a margin of 0.7 ems.
[6 Marks]
[TOTAL MARKS 8]

[This paper consists of 3 pages excluding the cover page]


BMIS 32152 -3- INDEX NUM: __________

SECTION B: LONG ANSWER QUESTIONS [20 MARKS]


SUGGESTED TIME: 30 MINUTES
Instructions to candidates: Choose any ONE (1) question and write your answer in the
answer book provided.
QUESTION 1

Figure B.Q1
Write a program to display the HTML form as shown in Figure B.Q1.
[TOTAL MARKS 20]
QUESTION 2

Figure B.Q2 (a) Figure B.Q2 (b)


a) Create an external style sheet for a navigation button using a div with a link inside it.
Give it a border, background and any text color, and make them change when the user
hovers the mouse over the button. Please refer to the diagram Figure B.Q2 (a) for the
button before the mouse over it and Figure B.Q2 (b) after the mouse over it.
[TOTAL MARKS 20]
[This paper consists of 3 pages excluding the cover page]
BMIS 32152 -4- INDEX NUM: __________

ooo0ooo

[This paper consists of 3 pages excluding the cover page]

You might also like