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

Internet Programming 2023

The document is an examination paper for the course 'Internet Programming and Web Design' at The East African University. It consists of six questions covering HTML, CSS, and web design concepts, with question one being compulsory. Students are instructed to write their registration numbers on answer sheets and adhere to guidelines regarding clarity and expression.

Uploaded by

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

Internet Programming 2023

The document is an examination paper for the course 'Internet Programming and Web Design' at The East African University. It consists of six questions covering HTML, CSS, and web design concepts, with question one being compulsory. Students are instructed to write their registration numbers on answer sheets and adhere to guidelines regarding clarity and expression.

Uploaded by

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

THE EAST AFRICAN UNIVERSITY (TEAU)

SCHOOL OF COMPUTER SCIENCE AND IT


DEPARTMENT OF COMPUTER SCIENCE
SEPTEMBER – DECEMBER 2023, MAIN EXAMINATION
DEGREE

COURSE : Internet Programming and Web Design


CODE : CIT 1205 / BIT 3204
TIME : 2 Hours

INSTRUCTIONS
1. The Paper is made up of SIX (6) Questions, question ONE is compulsory plus any other THREE
questions.
2. Credit is given for legibility, clarity of expressions and use of relevant illustrations.
3. Clearly write your registration number on each answer sheet used.

DO NOT WRITE ANYWHERE ON THIS QUESTION PAPER

Question one
a) i. In the following line of code, identify the following: Value(s), property and selector (3 Marks)
h1 { color: red; font-size: 10;}
ii. Differentiate between <h3> and a <p> as used in HTML (2 Marks)

b) Describe the following terms: (3 Marks)


i. Internet
ii. WWW
iii. URL
c) State any 3 reasons why you would prefer to use CSS in your web pages. (3 Marks)
d) i. Explain the term CSS universal selector (2 Marks)
ii. Write a CSS code to illustrate a universal selector (3 Marks)
e) Write HTML codes to generate the following Form (8 Marks)
Question two
a) Write HTML codes to Create a webpage that prints your name, age and gender to the screen. Use
HTML tag <br> to put each of these attributes to a new line. Use comments for each attribute. (3 Marks)
b) Write HTML codes to create a webpage and set its title to " MY FIRST WEBPAGE " (4 Marks)
c) Write HTML codes to generate the form below [PRACTICAL] (5 Marks)

Question three
a) Differentiate the following terms: (3 Marks)
i. Web page and website
ii. HTML and CSS
iii. HTTP and HTTPS

b) Describe the meaning of the following HTML Tags (5 Marks)


i. <div>
ii. <table>
iii. <ol>
iv. <td>
v. <title>

c) With clear code illustration example, explain how the following selectors are applicable in HTML
i. CSS Id selector (2 Marks)
ii. CSS Class selector (2 Marks)
Question four
a) Write HTML and internal CSS codes to design the following webpage. [PRACTICAL] (4
Marks)

NB:
- The background color is powderblue
- The word ‘KENYA’ uses header 1 and is of blue color
- The paragraph is in purple color

b) i. In HTML, differentiate between ordered list and unordered list. (4 Marks)


ii. Write HTML codes to generate the following output [PRACTICAL] (4 Marks)

Question five
a) i. With clear examples, Differentiate between Relative URL link and Absolute URL link (4 Marks)
ii. State and explain the advantages of using relative URL Link. (2 Marks)
b) Use HTML and CSS Codes to generate the following contents and table [PRACTICAL] (6 Marks)
Group members with their savings

Firstname Lastname Savings

Peter Griffin $100


Lois Griffin $150

Question six
a) Briefly describe three methods of adding CSS to HTML page (3 Marks)
b) With clear example, describe how CSS grouping selector works (5 Marks)
c) Describe the steps required to launch or take your website on a live server (4 Marks)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy