You are on page 1of 2

UNIVERSITY EXAMINATIONS: 2019/2020

EXAMINATION FOR THE DEGREE OF BACHELOR OF BUSINESS IN


INFORMATION TECHNOLOGY
BBIT 201: INTERNET APPLICATION PROGRAMMING
FULL TIME/ PART TIME/DISTANCE LEARNING
DATE: AUGUST, 2020 TIME: 6 HOURS

INSTRUCTIONS: Answer ALL Questions

QUESTION ONE
a) Create a database named KCA in Mysql, create a table called students, fields in the table
should include, Reg_no, surname, Middle name and first name, course , age ,guardian, Telno etc.

10 Marks
b) Connect the database to your website using php 5 Marks
c) Create an array containing 10 students then use the java script for each statement to display
the names on the screen
10
Marks

QUESTION TWO
(a) Write a html Code to produce the following table 10 Marks

DUTY ROSTER FOR LAST TWO DAYS


DAY MORNIN TUESDAY
G

MON JOHN
TUE TOM PETER
WED SIMON

b) KCA University lecturer requires a program to help her enter marks at the end the trimester.
The exam comprises of course work and end of trimester exam. Course work is made up of two
Assignments and a continuous assessment test (CAT). Each assignment is marked out of 5marks,
the CAT is marked out of 20 marks and the end of trimester exam is marked out of 70 marks.
The program should allow the lecturer to enter the two assignments, CAT and end of trimester
exam. The program should display the name of student, total course work, the end of term exam
score and the total score out of 100. The class has 40 students.
Required
Write a program using java script to process the logic above. 15 Marks

You might also like