0% found this document useful (0 votes)
27 views3 pages

HBT2302 APPLICATION PROGRAMMING FOR INTERNET

This document is an examination paper from Muranga University College for the course 'Application Programming for Internet' for the academic year 2015/2016. It includes instructions for candidates, a series of questions covering topics such as client/server architecture, website hosting, HTML tags, JavaScript integration, and coding practices. The exam consists of four main questions, each with multiple parts, testing students' knowledge and skills in web programming and development.

Uploaded by

dethyoke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views3 pages

HBT2302 APPLICATION PROGRAMMING FOR INTERNET

This document is an examination paper from Muranga University College for the course 'Application Programming for Internet' for the academic year 2015/2016. It includes instructions for candidates, a series of questions covering topics such as client/server architecture, website hosting, HTML tags, JavaScript integration, and coding practices. The exam consists of four main questions, each with multiple parts, testing students' knowledge and skills in web programming and development.

Uploaded by

dethyoke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

MURANGA UNIVERSITY COLLEGE

(A constituent College of Jomo Kenyatta University of Agriculture & Technology)

MAIN CAMPUS

ORDINARY UNIVERSITY EXAMINATIONS


2015/2016 ACADEMIC YEAR

THIRD YEAR FIRST SEMESTER EXAMINATIONS

FOR THE DEGREE


Of
Bachelor of business information technology

COURSE CODE: HBT2302

COURSE TITLE: APPLICATION PROGRAMMING FOR INTERNET

DATE: 17th DECEMBER, 2015 TIME: 2 Hours


INSTRUCTIONS TO CANDIDATES

Answer Question ONE (1) and any other TWO Questions

MRUC observes ZERO tolerance to examination irregularities


This Paper Consists of 2 Printed Pages. Please Turn Over.

1
HBC2106

Question One

a) Outline the four characteristics of the client, and four characteristics of the server in the client/server
system architecture in the Internet. [8marks]

b) Describe six factors which should be considered when hosting a website on the Internet. [6 marks]

c) Explain the need of declaring a HTML Doctype on a document. [2 marks]

di) Describe any four tags which can be added to the <head> element on a HTML page. [4 marks]

ii) Explain each of the components found in the syntax while writing the following url
http://www.w3schools.com/html/default.asp [6 marks]

e) With examples, describe the four different ways of defining Style Sheets in web programming.
[4 marks]

Question Two

a) HTML supports JavaScript. Provide the correct syntax of the four different sections of HTML where
JavaScript code can be added. [8 marks]

b) Describe the four main purpose of an HTML tag. [4 marks]

c) Outline the four common lists which can be used when designing a HTML web page. [4 marks]

d) Explain two types of an HTML background. [4 marks]

Question Three

a) Write a HTML section of a code which demonstrates how you can create nest tables within tables in
HTML. [8 marks]

b) Describe the steps of how one can link to a location in the middle of an HTML document.[ 6 marks]

ci) Differentiate between HTML and XHTML. [4 marks]

HBC2106 FUNDAMENTALS OF COMPUTER SYSTEMS 2


HBC2106

ii) Explain the main use of the Document Object Model (DOM) used on web pages. [2 marks]

Question Four

a) Consider the code below and use it to answer the questions that follow.

i) Re-write the code while removing all the mistakes. [4 marks]

ii) Write the expected output of the corrected code as displayed by the web browser.

[4 marks]

<ul>
<li>Coffee</li>
<li>Tea
<ul>
<li>Black tea</li>
<li>Green tea</li>
</ul>
<li>Milk</li>
</ul>

b) Using a function in javascript, write a program of a dynamic HTML page which prompts the user to
enter a color name, then sets the background color to that value. [12 marks]

HBC2106 FUNDAMENTALS OF COMPUTER SYSTEMS 3

You might also like