Get premium membership and access revision papers, questions with answers as well as video lessons.

Bmgt 121: Computer Programming For Business 2009 Question Paper

Bmgt 121: Computer Programming For Business 2009 

Course:Bachelor Of Commerce

Institution: Kabarak University question papers

Exam Year:2009



COURSE CODE: BMGT 121
COURSE TITLE: COMPUTER PROGRAMMING FOR
BUSINESS.
STREAM: Y2S2
DAY: TUESDAY
TIME: 5.30 – 7.30 P.M.
DATE: 14/04/2009
INSTRUCTIONS:
Question ONE is COMPULSORY with 30 Marks.
QUESTION ONE
a) Draw an interface and untie program code in VB that grades student marks
applying the necessary validations. Use the table below to grade:
Marks range Grade
80% - 100%
65% to 79%
50% to 64%
40% to 49%
Below 40
A
B
C
D
Fail
NB: Use the IF……… THEN structure. (12mks)
b) What are the characteristics of good report. (5mks)
c) Write a for loop that finds the sum of numbers that lies between a range of two
numbers. NB: the extreme values are included. (5mks)
d) Convert (a) above into a Do………while Loop (5mks)
e) Draw an interface for the program (3mks)
QUESTION THREE
a) Refer to question 1(a). Write the program while using select case instead of the
IF……..THEN………structure (8mks)
b) What is a function? (2mks)
c) i) What programs are used to convert high level languages to machine
language . (2mk)
ii) State two programs used for the above purpose (2mk)
iii) For each state two advantages and disadvantages. (6mks)
QUESTION THREE
a) What is structured programming? (3mks)
b) Write code that can browse the database for
i) Move previous
ii) Move last (8mks)
c) Define the following and state their application in systems development.
i) RAD (3mks)
ii) Prototyping (3mks)
iii) JAD (3mks)
QUESTION FOUR
a) What are the main components of a decision table (8mks)
b) Write VB syntax for a two dimensional array to receive a students marks and
name. (6mks)
c) Distinguish between
i) A modal form and modeless form.
ii) Structured programming and monolithic programming
iii) Object and source code (6mks)
QUESTION FIVE
a) Design the interface, draw a flow chart and write working VB code for a program
that can obtain surface area for a cylinder and cuboid.
NB: Both are closed and make any necessary stated assumptions.
(12mks)
b) What are the stages of the SDLC and briefly explain each stage (8mks)






More Question Papers


Popular Exams



Return to Question Papers