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

Bmgt 121 Year 2009 Question Paper

Bmgt 121 Year 2009 

Course:Bachelor Of Commerce

Institution: Kabarak University question papers

Exam Year:2009



COURSE CODE: BMGT 121
COURSE TITLE: COMPUTER PROGRAMMING FOR
BUSINESS.
STREAM: Y1S2
DAY: FRIDAY
TIME: 9.00 – 11.00 A.M.
DATE: 20/03/2009
INSTRUCTIONS:
1. Question ONE is COMPULSORY.
2. Answer any other Two questions 20 Marks each.
QUESTION ONE
a) Discuss exhaustively the attributes of the following organizational information
system:
i) OAS
ii) DSS
iii) EIS (9mks)
b) What does the word generation endnote in the development of both computer hard
ware system software and programming language. (2mk)
c) Computers have evolved overtime since the 1940’s. Trace the generational
developments of the hardware and the characteristics of the corresponding
development in operating systems. (7mks)
d) Distinguish between
i) Structured English and source code
ii) ELH’s and ERD’s
iii) CASE tools and CAST tools (9mks)
e) Write down the steps of connecting a VB application to an Access database.
(3mks)
QUESTION TWO
a) Define a manual information system and a computer based information system
stating the advantage and disadvantage of each (6mks)
b) What are the main characteristics of a 3rd generation operating system.
(3mks)
c) Distinguish between a mainframe and mini computer. (2mks)
d) Write a flow chart for a program that accepts user input of two numbers and find
the average of the numbers that lie in between.
NB: The two extreme values are inclusive (9mks)
QUESTION THREE
Private sub add - click
Dim X, Y as integer
Dim answer
X = Text 1. Text
Y = Text 2. Text
Answer = Y + X
1bl Answer = Answer
End sub:
Study the above VB code and answer the following questions.
a) i) What would be the contents of lblAnswer if a user supplied G in text 1
text and 3 in text 2 text. (2mks)
ii) What the variables in the procedure and state their data types.(3mks)
iii) State any characteristic of each data types in (ii) above. (3mks)
iv) Modify the program to ensure it does not accept numbers larger than 100.
(2½mks)
b) What is the difference between validation and verification. (2mks)
c) Define the following:
a) Method
b) Property
c) Object (6mks)
QUESTION FOUR
a) Write the main components of a VB (IDE) environment stating its functions.
(4mks)
b) Distinguish between a function and a procedure. (4mks)
c) Write code that can be used to browse the database for
i) Move next
ii) Move first (6mks)
d) Write a function that will compute the area of a triangular shape.
NB: ½b x h = Area of the triangle. (6mks)
QUESTION FIVE
a) What is a high level language? (2mks)
b) Giving an example, explain why the following two errors occur in VB –
programming.
i) Variable not defined
ii) Object required (4mks)
c) Distinguish between the tools listed below as applied in systems development.
i) Structural charts and program flow charts. (4mks)
d) Giving an example, distinguish between the following data used for testing
systems.
i) Abnormal data and external data. (4mks)
e) What is a function (2mks)
f) “VB is an event driven programming language” explain this statement.
(2mks)
[Total: 20 Marks]






More Question Papers


Popular Exams



Return to Question Papers