0 ratings0% found this document useful (0 votes) 51 views18 pagesAdvanced Web Design and Development Questions
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
UNIVERSITY EXAMINATION 2017/2018
SCHOOL. OF COMPUTING AND INFORMATICS
DEPARTMENT OF INFORMATION TECHNO!OGY/ENTERPRISE COMPUTING
BACHELOR OF INFORMATION TECHNOLOGY AND BACHELOR OF BUSINESS
INFORMATION TECHNOLOGY
REGULAR
UNIT CODE: BIT 3208 UNIT TITLE: ADVANCED WEB DESIGN
AND DEVELOPMENT
18™ APRIL 2018; 8.00 Afi ____ MAIN Exam TIME: 2 HOURS
INSTRUCTIONS: ANSWER QUESTION ONE AND ANY OTHER TWO. QUESTIONS
QUESTION ONE COMPULSORY (30 MARKS)
a. Describe the layers in the TCP/IP Model in relation to 3 tier architecture and how
its applied to website development (6 Marks)
b. Define the following terms (5 Marks)
|. Servlet
I. Applet
MW. XHTML
IV. Instance
Vv. UML
©. Based on the server architecture Diflerentiate between the client side and server
side script. (4 Marks)
4. Write an ASP.net code to compute the square root of a number and print out
results (6 Marks)
sss Stren a =e
Paper One Page 1e. Asa system web developer for Squiric Lid. Kenya, Mobile Software developers
Company recommend whether they should implement a dynamic or static
website. Give three reasons to support your choice. (6 Marks)
{. Demonstrate using a code the difference between a for loop an if else staternent
works (3 Marks)
SECTION B(20 MARKS EACH QUESTION)
QUESTION TWO (20 MARKS)
a. Explain 3 components of the client side architecture (6 Marks)
b. Display the days of the week using ASP code example to demonstrate a Case
Statement? (6 Marks)
©. Explain three uses of ASP in logic development of dynamic web pages
(6 Marks)
d. Explain TWO common message types in HTTPs protocol. (4 Marks)
QUESTION THREE (20 MARKS)
a) Using a loop write a program that will print the following output. (10 Marks)
1
33,3
5,5,5,5,5
6,6,6,6.6,6
b) Define the following object oriented terminologies.
|. Container
I Instance
lll. amethod
\V. Encapsulation
V. polymorphism
(10 Marks)
Paper One —_—_—_— wo Page 2}
|
QUESTION FOUR (20 MARKS)
a) Define session object using ASP demonstration (6 Marks)
b) Write an asp code for a multidimensional array to store names of 5 products and
their prices. Use FOR LOOP to display the names in the array. (10 Marks)
©) Write a short ASP code to query a student name field and return the value
(4 Marks)
QUESTION FIVE (20 MARKS)
a) State two characters of server side script that makes it unique from the client side
script (4 Marks)
b) Explain the process of Interfacing new system to a legacy system (8 Marks)
©) Write ASp code to declare two variables, assign values, swap the values,
multiply the values and print output before and after swap on the screen
(8 Marks)
Paper One Page 3Mount Kenya
UNIVERSITY EXAMINATION 2022/2023
P| University
Swe
SCHOOL OF COMPUTING AND INFORMATICS
DEPARTMENT OF INFORMATION TECHNOLOGY! ENTERPRISE COMPUTING
BBITIBIT
REGULAR
UNIT CODE: BIT3208 UNIT TITLE: ADVANCED WEB DESIGN AND
DEVELOPMENT
DATE: MON 24ST AUG, 2023 8.00AM__— MAIN EXAM. TIME: 2 HOURS
INSTRUCTIONS: ANSWER QUESTION ONE AND ANY OTHER TWO
QUESTION ONE (30 MARKS)
a) Giving examples define the following terms as used in Web Development:
(5 Marks)
i) Frontend
ii) Subdomain
iil) ProcessWire
iv) Payment Gateway
vy) APIs
b) You have been hired by Amazon, a global online sales company as a web
developer. They wish to start a new source of revenue by selling business
consultancy services online. As an expert consultant offer your guidance in the
web development issues below
i) Identify and describe the key elements to consider that are specific to service
related ecommerce website. (8 Marks)
il) Sketch and explain a simple 3 tire architecture with reference to the new
website to be developed. (7 Marks)
a 2 : —
raper ON
Paper Taei) Use ASP code write a code to capture a cookies session during an onting
order session. (5 Marks)
iv) When integrating the legacy website with new features, you may face
different challenges, Explain how to overcome such challenges. (5 Marks)
QUESTION TWO (20 MARKS)
a) Explain three types of cookies used in websites. (6 Marks)
b) Write a program in PhP for the followings: (6 Marks)
i) To find the even odd number
li) To find the positive negative number
©) What is the difference between external, internal and inline CSS? Explain with
programming examples. (6 Marks)
QUESTION THREE (20 MARKS)
@) Explain 3 the tools needed for server side scripting. (4 Marks)
b) Given the following code, what will be the output? (4 Marks)
Dim a,b, o,d
a= True
b=True
c= True
d= False
If Not (a And b) And (c Or d) Then,
Response.Write(“True")
Else
Response Write("False")
End If,
c) Whatis the difference between Response.Redirect and Server. Transfer? (4 Marks)
d) What will be the output of the program below? (4 Marks)
<%
Dims
s= Null
If Len(s) = 0 Then
SSE SO RMN ESSN
Paper One Page 2Response.Write("Hello, World!")
End If
%>
) Differentiate between ASP and HTML. (4 Marks)
QUESTION FOUR (20 MARKS)
a) Using an ASP code example explain the use of select case statement. Include
‘comments in your code. Use a case of printing all the current day of the week.
(10 Marks)
b) Write simple ASP code to illustrate your understanding on the use of the following
statement:
) i, (4 Marks)
i) Dow... (3 Marks)
For loop (3 Marks)
QUESTION FIVE (20 MARKS)
a) Using an ASP code example discuss what is a Do..Loop? (6 Marks)
b) Using an ASP code example write a program to display the output below
(6 Marks)
55555
4444
333
22
1
) Write ASP code to store 10 numbers in an array and then display the average of
those numbers. (8 Marks)
= = sooner = =
Paper One
Page 3AvIONS
WRTNERL
Mount Kenya © University
‘Se
UNIVERSITY EXAMINA'TION 2022/2023
SCHOOL OF COMPUTING AND INFORMATICS
DEPARTMENT OF INFORMATION TECHNOLOGY/ ENTERPRISE
COMPUTING
BSCIT/BEIT
REGULAR
UNIT CODE: BIT3208 —_—UUNIT TITLIt: ADVANCED WEB DESIGN AND
DEVELOPMENT
DATE: WED 30° NOV, 2022 8.00AM___ MAIN EXAM TIME: 2 HOURS
INSTRUCTIONS: ANSWER ALL QUESTIONS IN SECTION A AND ANY
OTHER TWO FROM SECTION 3
SECTION A (COMPULSORY)
QUESTION ONE (30 MARKS)
a) You have been hired to develop a website for Equitel Ltd for their new
Money Transaction product. Discuss the major design concerns in
implementing the website (5 Marks)
b) When developing the above website Discuss the major considerations
in interfacing with legacy systems (5 Marks)
¢) Giving examples Discuss the following terms in relation to dynamic
websites elements. (8 Marks)
i) Interaction.
ii) Usability.
iii) Aesthetics.
iv) Visibility.
d) Write an ASP code to define an array variable that prints out the
results below,
Paper One Page 1jai CUIANUNICATIONS
Vite PEARS PARTREL
706 401 292_
(8 Marks)
©) Sketch the S-tier network architecture and discuss the web
development programming paradigms and protocols used in each
phase. (4 Marks)
QUESTION TWO
8) Write an ASP code to illustrate the implementation of a method.
(8 Marks)
») Using scripting examples demonstrate the difference between a pop
up message and blur effect. (6 Marks)
& > Using an ASP code differentiate the “while loop” from “do-while loop”
aD statements, (6 Marks)
QUESTION THREE
9) Using @ “for loop” statement write a program that will print the
following output. (10 Marks)
») Using Examples define the following object oriented terminologies,
(10 Marks)
i) Abstraction
ii) Inheritance
iii) Encapsulation
iv) Classes
v) Objects
QUESTION FOUR
a) Write a simple ASP code to validate the input form below (10 Marks)
Paper OneAe ORME 108
FOUR LOW IG Vet
TLS U6 A Loy
b) Using an ASP code
authenticates th
Sign Up
Nteeeony es aninse
oy
Lasttane
a database connection string that
© two forms below on clicking submit. (10 Marks)
QUESTION FIVE
a) You have been consulted to develop a dynamic website for Emmanuel
Children Home. Highlight and describe the main components to
consider in a website design contract as terms of reference.(10 Marks)
b) Write a code segment makes use of the “for loop” to calculate the loan
qualification determination. One is qualified for a loan when the
following conditions are met: Registration as a member, Deposits are
above 3000 and no pending loan. (5 Marks)
©) Write the ASP code to demonstrate operations the concept of a web
session. (5 Marks)
Paper One Page 3jnlvarshe
MOUAE IK Wey
UNIVERSITY EXAMINATION 2020/2021
SCHOOL OF COMPUTING AND INFORMATICS
DEPARTMENT OF INFORMATION TECHNOLOGY
Barry Biss BSCTT
REGULAR
UNIT TITLE: ADVANCED WEB DESIGN AND
UNIT Cope: BiT3208
DEVELOPMENT
DATE: THUR 19" AUG, 2021 _11.00AM ___MAIN EXAN ‘TIME: 2 HOURS
INSTRUCTIONS: ANSWER ALL QUESTIONS IM SECTION A AND ANY OTHER
TWO FROM SECTION B
ION A:
QUESTION 1: 30 MARKS
(3 Marks)
a) Define the following terms:
i. Web Server
ii. Static Website
DNS
b) You have been hired by Morpho Costumes Lid to an ecommerce site that
would assist them sell goods online. Describe the process of website
development for the company (5 Marks)
©) You are the IT manager in Byram firm, you have been planning to Introduce a
worker's collaborative portal. State and explain the pros and cons to consider
before implementing the system. (6 Marks)
d) State three 3 differences with PhP and an ASP file. (6 Marks)
Paper Onee) Declare and print out the arrays output Lelow using ASP. (5 Marks)
Exp, Spark Gn Time Off'Time
NO. Voltag ‘
1 9 6 10
2 9 6 16
3 9 9 10
4 9 9 16
f) Write a JavaScript code that calculates the volume of a Cube in an external
Procedure and returns the output via a procedure call. (5 Marks)
SECTION B
QUESTION 2.
a) In relation to the architecture below discuss the protocols and tools that you will
need to consider in designing a dynamic mobile Application (9 Marks)
Presentation tier Logic Tier Data Tier
4
Moblia App Web Server
b) Write simple ASP code to print out days of the week on the use of the following
statement:
i) else (4 Marks)
ii) While (Marks)
iii) Switch Statement Marks)
Paper OneMount Kenya pS University:
UNIVERSITY EXAMINATION 2023/2024
SCHOOL OF COMPUTING AND INFORMATICS
DEPARTMENT OF INFORMATION TECHNOLOGY/ENTERPRISE COMPUTING
BIT/BBIT
VIRTUAL VARSITY
UNIT CODE: BIT3208 UNIT TITLE: ADVANCED WEB DESIGN AND
DEVELOPMENT
DATE: FRI 16™ AUG, 2024 8.00AM MAIN EXAM TIME: 2 HOURS
INSTRUCTIONS: ANSWER QUESTION ONE AND ANY OTHER TWO QUESTIONS
SECTION A: COMPULSORY
QUESTION ONE (30 MARKS)
a) Each Internet host will have at least one local name server and one
authoritative name server. Explain the role does each of these servers
have in DNS? (4 Marks)
b) Discuss the following terms (10 Marks)
i) FTP
ii) Applet
iii) Servlet
iv) XML
v) JSP
c) Differentiate between the client side and server side ‘script.(4 Marks)
d) Using an ASP code to display “WELCOME TO ASP” on the screen.
(6 Marks)
e) Write a simple ASP code to display all the numbers divisible by 6
between 1 and 100. (6 Marks)
SECTION B
Paper One:QUESTION TWO (20 MARKS) a ded
“3) MKU has recently developed’a tiew system and they ‘heed to interface
it. They need to analyze the systems interactions. What are the basic
issues they need to check when conducting the analysis process?
(10 Marks)
b) Write an ASP code to display the following table. (10 Marks)
123 4
123 4
12 3 4
QUESTION TWO (20 MARKS)
@) You are the IT manager in firm, you have been planning to change
the system that the firm hac been using but there is resistance to
change. Discuss reasons why stakeholders would want to retain the
old system (10 Marks)
b) Despite all the problems of legacy systems why would companies
be compelled to keep them. (10 Marks)
a
QUESTION THREE (20 MARKS)
a) Describe the significance of online system in strategic planning and
running of modern day business organizations (10 Marks)
b) A consulting firm hires you in their system development section.
They get a contract to develop a web site for a new firm. Explain the
five benefits of having a web site in an organization (10 Marks)
QUESTION FOUR (20 MARKS)
a) Using an ASP code example explain the use of select case
statement. Note: document your code (10 Marks)
b) Describe in details the functions of Hypertext transfer protocol
(10 Marks)
- - ag e2
Paper One PageQUESTION 3 >
a) Biogers Tech developers are a software developing firm; they are in the process
Af recruiting additional programmers due to their increased business in online
systems. You are among the shortlisted candidates for an interview;
demonstrate your knowledge on by defining a flow chart that defines a basic
‘ecommerce function that books item, pays and ships the same to the client.
(7 Marks)
b) Write a simple VB script to Demonstrate declaration and value assignment and
retrieval of a session variables (6 Marks)
©) Write an ASP code to demonstrate the three alerts: Invalid Entry, wrong
password and Null Value. (7Marks)
QUESTION 4
a) Briefly explain how ASP is installed in Linux. (6 Marks)
b) List six tasks that enhance Search Engine optimisation. (6 Marks)
©) Using and ASP loop print out the result below. (8 Marks)
A
BB
coc
DDDD
EEEEE
FFFFFF
QUESTION 5
a) Write an ASP code to illustrate the implementation of function declaration and
a (8 Marks)
b) Write a ASP program to implement the following class; (12 Marks)
Employee
Paper One Psge3Age
Section
Employee ()
Employee (N, A, 0)
——
Paper One 'Moum: Ke mya
) University
UNIVERSITY EXAMINATION 201 8/2019
SCHOOL OF COMPUTING AND INFORMATICS
DEPARTMENT OF INFORMATION TECHNOLOGY
BIT/BBIT
REGULAR
UNIT CODE: BIT3208 UNIT TITLE: ADVANCED WEB
DESIGN AND DEVELOPMENT
DATE: FRI26™ APRIL, 2019 2.00PM __ MAIN EXAM TIME: 2 HOURS
INSTRUCTIONS: ANSWER QUESTION ONE AND ANY OTHER TWO.
QUESTIONS
QUESTION ONE
a) What is JavaScript and what are some of the advantages of JavaScript.
(3 Marks)
b) Outline any four features of JavaScript. (4 Marks)
c) What is the use of Windows object in JavaScript. (6 Marks)
d) Use an example to write a simple JavaScript to illustrate the following
i) String function (3 Marks)
ii) Array function (3 Marks)
e) Write a JavaScript to assign two values to variables then display the
biggest and the smallest value. (5 Marks)
f) You have been requested by the department to develop a website for an
Organization of your Choice. Discuss the specific goals that you need to
highlight in pianning phase of the web development project. (6 Marks)
Question two
Paper threeMount IKenya | ) University
NN
UNIVERSITY EXAMINATION 2017/2018
SCHOOL OF COMPUTING AND INFORMATICS
DEPARTMENT OF INFORMATION TECHNOLOGY
BIT/BBIT
REGULAR
UNIT CODE: BIT3208 UNIT TITLE: ADVANCED WEB DESIGN
DATE: AUGUST 2018 SPECIAL/SUPP. TIME: 2 HOURS
INSTRUCTIONS: ANSWER QUESTION ONE AND ANY OTHER TWO
QUESTIONS
Question 1 (Compulsory, 30 Marks)
(2 Marks)
(12Marks)
a. Define Active Server Page concept?
b. Discuss the following terms:
i. WFTP
Server side
Java Applet
Servlet
v. XHTML
vi. JSP
¢. Differentiate between the client side and server side scripting requirements.
"(6 Marks)
d. Using an ASP code to display log-in validation for correct password (10Marks)
SECTION B (ANSWER ANY TWO QUESTIONS)
Question 2 (20 Marks)
se ere seen ce
Paper Two oata. Explain three strengths of ASP in web programming. (6 Marks)
b. What is meant by A Java Servlet and what does the Servlet.service() java servlet
command mean? (4 Marks)
c. Using a diagram explain how the multictier applications layers interrelate.
a snarl (10Marks)
tu nite t
Question 3 (20 Marks) : |
a. Explain FIVE different types of methods in object oriented programming.
(10Marks)
b. Using an ASP code example demonstrate an if Then else statement loop?
(5 Marks)
c. Using an ASP code example write a Case Statement to output days of the week
(5 Marks)
Question 4 (20 Marks)
a. Explain four functions of the user interface server. (4 Marks)
b. How Does ASP Differ frorn JavaScript? (4 Marks)
c. Write an asp code that will declare and swap two variables (S Marks)
4d. Write a sample code that uses a procedure or a function that gives the product,
and sum of two numbers (7 Marks)
Question 5 (20 Marks)
a. During web design we are mostly concerned with the customer satisfaction of our
website and you explain 5 elements of interface design. (8 Marks)
b. Write a ASP program to implement the following class (12Marks)
“Merchandise
Product
Size
Cost 0
Color (Red, Blue,
Magenta)
Paper Two Page 2
\