[go: up one dir, main page]

0% found this document useful (0 votes)
52 views12 pages

Advanced Web Design

The document contains a series of questions related to web development, covering topics such as client-side versus server-side programming, variables in ASP/Java, HTML tags, and PHP statements. It also discusses object-oriented programming concepts, cookies, and the differences between various programming languages and technologies. Additionally, it includes practical coding tasks and theoretical questions aimed at assessing knowledge in advanced web design and development.

Uploaded by

Ann Mwithi
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)
52 views12 pages

Advanced Web Design

The document contains a series of questions related to web development, covering topics such as client-side versus server-side programming, variables in ASP/Java, HTML tags, and PHP statements. It also discusses object-oriented programming concepts, cookies, and the differences between various programming languages and technologies. Additionally, it includes practical coding tasks and theoretical questions aimed at assessing knowledge in advanced web design and development.

Uploaded by

Ann Mwithi
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/ 12

ιω

a) Differentiate between client-sido and stvet


I ll)t (4 Marks)

b) Explain variables as uses/ in ASP/ Java:


(4 Marks)

c) What is the d'fferencc between HTMI elemenl


tags. (4 Marks)

d) By using appropriate examples distinqtnsh the following PHP


statements. (8 Marks)
i. For statement ii. For
each statement

QUESTION THREE
a) Explain the following HTML tags (8 Marks)
i. <td> ii.
<colgroup> iii.
<tbody> iv.
<tfooter>
b) Using an AS D code / JavaScript code the use 01 the following
statements (12 Marks)
t
i. Do—Whi e loop
ii. Do----Un•.il loop
iii. For—next

QUESTION FOUR
a) Discuss any three concepts of object oriented programming. (6 Marks)

b) Write an ASP code/ JavaScript code that will PI lilt all even numbers between
50
and 100 (5 Marks)

c) Distinguish between Applets and Sewlets. (4 Marks)


d) What are fuhctions in PHP. Differentiale empty() and isset() (5
function.Marks)

QUESTION FIVE all( i Il-tier web applications.


a) Using examples differentiate between lwo (4 Marksl

ASP'? (4 Marks)
and
b) What is the diffcrencc betwccn
c) Using a simple function. Show \A/hal is the output of "10"+20+30 in JavaScript Or
Asp?
(6 Marks)

d) Write HTML statement to create a form lw ving 2 textboxes, radio buttons, a


checkbox and a reset button. clicking the reset button, the entire form is
reset(cleared). [6 Marks)

e) What is a Global-asa file? Explain any foul' types of event in Global.asa file.
(10 Marks)
University
UNIVERSITY EXAMINATION 2022/2023

SCHOOL OF COMPUTING AND INFORMATICS


DEPARTMENT OF INFORMATION TEC! INOLOGY/ ENTERPRISE
COMPUTING

BBIT/BIT
REGULAR

UNIT CODE: BIT3208 UNIT TITLE: ADVANCED WEB DESIGN AND

DEVELOPMENT

DATE: MON 21 ST AUG, 2023

INSTRUCTIONS: ANSWER QUESTION ONE AND ANY OTHER TWO

QUESTION ONE (30 MARKS)


a) Giving exampjes define the lollovving as used in Web De Jelopment.
(5 Marks)
Frontend ii)
Subdomain iii)
ProcessWire iv)
Payment Gateway

b) You have been hired by a global online sales company as a web


developer. They wish to nev source of revenue by selling business
consultancy services online. an ey )ert consultant offer you'r guidance in the
web development issues bell

Identify and describe the elements to consider that are specificto service
ecommerce a; (8 Marks)
related

ii) Sketch ard explain a 3 architecture with reference (7 to Marks)the new website to be
developed

ne

ill) uso Asp code write a code to a order session, t ecosion during an
online
(5 Marks)
IV) When integnting the legacy website w features, you may face
different challenges. Explain how to overcotn
Itch challenges. (5 Marks)
QUESTION Two (20 MARKS)
a) Explain three types of cookies used in web ,ites
(6 Marks)
b) write a program in PhP for the followings;
i) To find the even odd number (6 Marks) ii) To find the posi$ive negative
number

c) What is the difference between external, liltellbll programming exa nples. and
inline CSS? Explain with
(8 Marks)
QUESTION THREE (20 MARKS)
o) Explain 3 the tools needed for server side s.criplinq
(4 Marks)
5) Given the following code, what will be the ('titpul
Dim a, b, c, d (4 Marks) a = True b = True c = True d = False

If Not (a And b) And (c Or d) Then


Response.Write("True")
Else
Ise")
End If.

c) What is the difference between Response.l tedir€(i Server.Tran•3fer? (4 Marks)

d) What will be the output of the program belcw? (4 Marks)


< 0/0

Dim s
= Null
If Len(s) = 0 Then

Response.Write("Hello, World'")
End If

e) Differentiate between ASP and I Il Mt


(4 Marks)
QUESTION FOUR (20 MARKS)
a) Using an ASP code example explain Ihe use of select case statement. Include comments
in your code. Use a case or printing all the current day of the week.

b) Write simple ASP code to illustrate your understanding on the use of (10 the
Marks)following Statement:
i) else (4 Marks)
Do While (3 Marks)
For loop Marks)

UESTION FIVE (20 MARKS)


a) Using an ASP code example discuss what a Do..Loop? @ Marks)
b) Using an ASP code example write a plogratn to display the output
belowMarks)

in an array and then display the average of


Marks)

c) Write ASP code to store numbel. those numbers.


• OIND INFORMATICS
IV/' (ON TECHNOLOGY/ ENTERPRISE

t(t1T/jgnrr

CODE: 131T3208 TITLE: ADVANCED DESIGN AFD DEVELOPMENT

DATE: WED 30TH Nov 2022 EXAM 2 rrotns

INSTRUCTIONS: ANSWER OUFÆ',TIONS SECTION A AND

OTHER Two FROM v,


SECTION A (COMPULSORY)
QUESTION 0NE (30 MARKS)
a) You have been hired to develop a for Equitei Ltd for their Money
Transaction product. Discuss the major design concerns implementing
the website (S Marks,

b) When developing the above website. Discuss the major considerations in interfacing with
lcgac (S Marks)

c) Giving examples Discut following terms in relation to dynamic websites

elements. (8 Marks)

i) Interaction. ii)
Usability. iii)
Aesthetics. iv)
Visibility.
nn array variable that prints out the
d) Write an ASP code (o results below.

er One

(8 Marks)

e) Sketch the 3-tier network arcl ;ttld discuss thc wcb


development programming otocols uscd in cach
phase. (4 Marks)

QUESTION Two
a) Write an ASP code to illustrate the I [ion of a method.
(8 Marks)
b) Using scripting examples demons( ate I l (lil lercnce between a pop up message and
blur effect. (6 Marks)

c) Using an ASP code differentiate tl while )1)" from "do-while loop"


statements. (6 Marks)

QUESTION THREE
a) Using a "for loop" statement WI Ile a am that Mill print the following output. (10 Marks)
•k

b) Using Exarnples define the followil 01 tented terminologies.


(10 Marks)
i) Abstraction ii)
Inheritance iii)
Encapsulation iv)
Classes
v) Objects

EST101V FOU\Z
a) Write a sirhplc ASP code to validat Ill( below , (10 Marks)

Pnçye 2
COMMUNICATIOI/

YOUR LEAfiNlNG
TEL: 0706 292

b) Using an ASP code Write a database connection

authenticates the

two on clicking submit.

QUESTION FIVE
a) You have been consulted to develop a dynamic website for Emmanuel
Children Home. Highlií J /J/ and describe the main components to
considerin a website dc.sign contract as terms of reference.(10
Marks)

b) Write a code segment makes use or the "for


loop" to calculate the loan qualification
determinaíjon. One is qualified for a loan when
the following conditions arc Registration as a
member, Deposits are above 3000 and no
pcn(lill!' loan. (5 Marks)

c) Writethe ASP code to (lcmonstrale operations


the concept of a web session.
(5 Marks)

You might also like