0% found this document useful (0 votes)
14 views4 pages

Acsc 226 Exam

This document is an examination paper for the course ACSC 226: Web Design and Development at Chuka University, intended for second-year Bachelor of Science Applied Computer Science students. It includes instructions for the exam, a variety of questions covering HTML, CSS, JavaScript, and multimedia components, and requires students to answer specific questions within a two-hour timeframe. The exam is closed book, prohibiting any reference materials or mobile devices.

Uploaded by

portoent9
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)
14 views4 pages

Acsc 226 Exam

This document is an examination paper for the course ACSC 226: Web Design and Development at Chuka University, intended for second-year Bachelor of Science Applied Computer Science students. It includes instructions for the exam, a variety of questions covering HTML, CSS, JavaScript, and multimedia components, and requires students to answer specific questions within a two-hour timeframe. The exam is closed book, prohibiting any reference materials or mobile devices.

Uploaded by

portoent9
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/ 4

ACSC 226

CHUKA UNIVERSITY

UNIVERSITY EXAMINATIONS

SEOND YEAR SECOND SEMESTER EXAMINATION FOR THE AWARD


OF BACHELOR OF SCIENCE APPLIED COMPUTER SCIENCE

ACSC 226: WEB DESIGN AND DEVELOPMENT

STREAMS: BSC. APPLIED COMPUTER SCIENCE TIME: 2 HOURS

DAY/DATE: MONDAY 15/4/2019 8.30 A.M. – 10.30 A.M.

INSTRUCTIONS:
 Answer Question ONE and any other TWO questions.
 Diagrams should be used whenever they are relevant to support an answer.
 Sketch maps and diagrams may be used whenever they help to illustrate your answer
 Do not write anything on the question paper
 This is a closed book exam, No reference materials are allowed in the examination room
 There will be No use of mobile phones or any other unauthorized materials
 Write your answers legibly and use your time wisely

SECTION A
ANSWER ALL THE QUESTIONS IN THIS SECTION
QUESTION ONE [30 MARKS]
a) Explain the use of the following HTML tags:
i. <sup></sup>
ii. <hr/>
iii. &reg;
iv. <strong></strong>
v. &frac14; [5 Marks]

b) Giving an example, explain each part of a typical CSS rule. [4 Marks]

Page 1 of 4
ACSC 226

c) Write a JavaScript program to display the string “Hello World” when a web page loads
[3 Marks]
d) Explain the importance of the ID attribute in HTML [2 Marks]

e) Write the HTML code to produce the following fragment. [5 Marks]


Other units to take this semester include:
i. ACSC 221
ii. ACSC 222
iii. ACSC 234

f) There are five components of multimedia that are implemented in a typical website.
Identify and describe each of them [5 Marks]

g) Highlight any three advantages of GIF images over JPEG image [3 Marks]

h) Integer num1=4 and integer num2=6. Write a JavaScript program to sum the two integers
and display the result as another integer [3 Marks]

SECTION B
ANSWER ANY TWO QUESTIONS FROM THIS SECTION
QUESTION TWO [20 MARKS]
a) Design the following using HTML
Ricotta pancake ingredients:
 1 ½ ¾ cups ricotta
 ¾ cup milk
 4 eggs
 1 cup plain white flour
 1 teaspoon baking powder
 75g 50g butter
 pinch of salt [10 Marks]

b) Headings 1, 2 and 3 are to be bold, of font type Arial, white in color and have a black
background. All paragraphs are to be blue in color and of size 36 points. The background
color of the web page is to be pink. Implement this in a web page using:
i. External CSS styles. [3 Marks]
ii. Internal CSS styles. [3 Marks]

c) Explain the role of Definition List in web pages. Write HTML code to demonstrate a
Definition List. [4 Marks]

Page 2 of 4
ACSC 226

QUESTION THREE [20 MARKS]


a) List and explain Schneidermann’s rules of interface design [4 Marks]

b) Write the HTML code to reproduce the following part of a webpage. [10 Marks]

c) Write a JavaScript program that prompts the user to enter their SurName. The SurName is
then displayed on a JavaScript Alert box [6 Marks]
QUESTION FOUR [20 MARKS]
a) The following comments are made depending on a grade a student attains in an exam.
Grade Comment
A EXCELLENT
B GOOD
C FAIR
D POOR
Write a JavaScript Switch... Case program that takes in Grade as an input then gives appropriate
comment. [10 Marks]

b) Write CSS code as well as explain the usage of the following CSS components:
i. Universal Selector. [4 Marks]
ii. Type Selector. [3 Marks]
iii. Class Selector. [3 Marks]

Page 3 of 4
ACSC 226

QUESTION FIVE [20 MARKS]

a) You are designing a website for a certain institution. Discuss in detail how you could apply
Nielsen’s heuristics for a usable interface [10 Marks]

b) The following is a website layout. Implement this Layout Container by use of CSS and DIV.
[10 Marks]
LOGO
MENU MAIN CONTENTS ADVERTS

FOOTER

---------------------------------------------------------------------------------------------------------------------

Page 4 of 4

You might also like