Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

DEPARTMENT OF ELECTRICAL ELECTRONIC ENGINEERING

NIGER DELTA UNIVERSITY


WILBERFORCE ISLAND, BAYELSA STATE
FIRST SEMESTER EXAMINATION, 2014/2015 SESSION
COURSE TITLE: Web Technology TIME ALLOWED: 21/2 Hrs.
COURSE CODE: EEE 439 DATE: June 5th, 2015

SECTION A (30 Marks)


INSTRUCTION: Attempt all questions from this section.

1. How is a monospaced serif font different from normal serif font?


2. If the two codes below will give exactly the same output. If presentation is not an issue, state with reason, which
of the two you would prefer for a web application to be hosted.
Code I: <p>5<span style="vertical-align: super">2</span></p>
Code II: <p>5<sup>2</sup></p>
3. What is the role played by HTML in the development of a web application?
4. Write the opening tag of a form, if its details are to be sent using the get-method, and will be processed by
processSearch.php on the server side.
5. Write out the tags needed to create a combo box (select box) in HTML
6. State the difference between a serif and san-serif font?
7. State when you think the overflow property will become necessary.
8. Why is it advisable to use a background color along with a background image?
9. It is good to ensure that there is a high contrast between background and font colors. What benefit does this
provide?
10. Briefly explain what it means for an image to have a high contrast.
11. Analysis reveals the entities student, course, and lecturer are the entities that will be involved with the system.
What is the minimum number of tables that will be in the database?
12. What component associated with web applications parses PHP?
13. State what the z-index is used for when dealing with elements moved out of position using the absolute method.
14. State what happens to the space originally occupied by an element when it is positioned using:
a. Relative positioning
b. Absolute positioning
SECTION B (40 Marks)
INSTRUCTION: Attempt all questions from this section. All questions carry equal marks.
Question One
Write the HTML and CSS code that will produce the web structure shown in the figure and details given below:

100%

HEADER

NAVIGATION
60%

SIDE BAR MAIN CONTENT SIDE BAR

FOOTER

Specifications
Section Height Color
Header 150px Cyan
Navigation 60px Magenta
Side Bars 300px Yellow
Main Content 300px Red
Footer 80px Green
Note that side bars are of the same width in percentage.

Question Two
In a department, students register courses and courses and taught by lectures. A course can be taken by one or many
students, and in like manner a student must register more than one course (bearing in mind, the minimum units
allowed for registration). A course can be taught my more than one lecturer and a lecturer can teach more than one
course.
Every student has a unique matriculation number, forename and surname. Each course has a unique course code, has
a title, a unit, and a semester in which it is taken. Lecturers have a lecturer id, title, forename and surname.
a. Using the above information, draw the Entity-Relationship diagram (in Bachman notation) representing the
above system. It is important to indicate the type of relationship and level of participation of the involved
entities.
b. Write out all the tables that will make up the database, making sure include their attributes and in the process
specify primary keys and foreign keys establishing relationships where they exist

You might also like