Bbt2101:Application Programming For The Internet Question Paper
Bbt2101:Application Programming For The Internet
Course:Bachelor Of Business Information Technology
Institution: Meru University Of Science And Technology question papers
Exam Year:2011
1
The internet has played a strategic role to businesses today. In fact, without the internet many of the
business would not be in existence. For organizations to take full advantage of the internet services, they
also need to invest time, money and personnel in handling internet related challenges.
a. Define the following internet terms:
i. Internet programming (2 Marks)
ii. Sockets (2 Marks)
iii. Denial of service (DOS) (2 Marks)
iv. Scripting (2 Marks)
v. Web hosting (2 Marks)
b. Using JavaScript create a single functional application that performs the following activities when run
from a browser. (10 Marks)
i. Declares variables to hold values for a program to calculate the volume of a cylinder
ii. Allows a user to enter values on run time to calculate the volume of a cylinder
iii. Calculates the volume of a cylinder
iv. Outputs the volume on a message box
v. Outputs the volume on the browser
c. Describe the main stages involved in publishing a website. (5 Marks)
d. Using HTML create codes to produce the following output when run from an internet browser program.
(5 Marks)
2
QUESTION TWO – 20 MARKS
a. Briefly describe the following as used in website development providng an appropriate example for
each.
i. Web server (4 Marks)
ii. Static website (2 Marks)
iii. Server scripting (4 Marks)
b. Using a Vbscript create a sample website that indicates the use of the following facilities:
i. Inputbox (3 Marks)
ii. Msgbox (3 Marks)
iii. ELSE IF (4 Marks)
QUESTION THREE – 20 MARKS
a. The following code is an extract from a website developed using HTML and CSS. Briefly explain what
the code is to achieve. (8 Marks)
body
{
background-color:green;
}
hl
{
color:orange;
text-align:centre;
}
p
{
font-family:”Times New Roman”;
font-size:20px;
}
b. Implement the above CSS example in a sample HTML website. (8 Marks)
c. List four advantages of using CSS in a website. (4 Marks)
QUESTION FOUR – 20 MARKS
Scripting languages allow a web developer do add some light weight programming to web development.
Many scripting languages are available in the market today and the choice of one over the other depends on
the preferences and requirements of the client. Describe features of the following scripting languages:
a. Vbscript (5 Marks)
b. JavaScript (5 Marks)
c. PHP (5 Marks)
d. ASP.net (5 Marks)
More Question Papers