Bit 2206: Application Programming Ii Question Paper
Bit 2206: Application Programming Ii
Course:Bachelor Of Information Technology
Institution: Jomo Kenyatta University Of Agriculture And Technology question papers
Exam Year:2013
JOMO KENYATTA UNIVERSITY
OF
AGRICULTURE AND TECHNOLOGY
UNIVERSITY EXAMINATIONS 2013/2014
YEAR 2 SEMESTER II EXAMINATION FOR THE DEGREE OF BACHELOR OF INFORMATION TECHNOLOGY
BIT 2206: APPLICATION PROGRAMMING II
DATE: AUGUST 2013 TIME: 2 HOURS
INSTRUCTIONS:
ANSWER QUESTION ONE (COMPULSORY) AND ANY OTHER TWO QUESTIONS
QUESTION ONE (30 MARKS)
a) Describe 4 classes of software applications (8mks)
b) Programmers in the early years usually encountered a number of problems when building large scale systems. This was called the software crisis.
i. Discuss any four (4) problems with many large software projects in the early years (4mks)
ii. The software crisis persists even today but for different reasons. Discuss any two (2) reasons. (4mks)
c) The ability to overload methods is useful feature in OOP languages. Write a program code to illustrate how you can overload a method in VB.Net (8mks)
d) Explain the term ‘Reuse Oriented Development’ (4mks)
e) Explain the term “Integration Testing’ (2mks)
QUESTION TWO
Business application programming has evolved from a two-tier, tightly coupled model, into a multi-tiered loosely coupled model, often involving data transfer over the internet or corporate intranet. In an effort to allow programmers to be more productive and deal with complexities of this type of model, the .NET framework was developed.
a) Discuss any four (4) goals of the .NET framework (8mks)
b) The heart of the .NET framework is the common language Routine (CLR). With the help of a diagram describe the CLR (8mks)
c) Explain the .NET term “Namespaces” (4mks)
QUESTION THREE
a) In the context of application development, define the term “Prototype” (2mks)
b) Explain any four benefits of prototyping in application development (8mks)
c) Describe the “Throw away prototyping Approach” and outline any two (2) disadvantages of the approach. (4mks)
d) Describe the “Evolutionary prototyping Approach” (2mks)
i. Discuss any two (2) advantages of the evolutionary approach (2mks)
ii. Discuss any two (2) disadvantages of the evolutionary prototyping approach
(2mks)
QUESTION FOUR
a) Explain the following terms
i. Class
ii. Object
iii. Method
iv. Instance variable
v. Class variable (10mks)
b) Give an example code which makes use of both and instance variable and a class variable (6mks)
c) Discuss the use of inheritance in the development of object oriented programs (4mks)
QUESTION FIVE
a) Compare and contrast
i. Object oriented programming
ii. Procedural programming
iii. Structured programming (12mks)
b) You have been invited to give a talk to trainee programmers outlining the reason for the widespread use of object oriented programming within the software development industry. Summarize the points you would present in your talk. (8mks)
More Question Papers