Bit 2207: Internet Application And Programming Ii Question Paper

Bit 2207: Internet Application And Programming Ii 

Course:Bachelor Of Business 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 2 EXAMINATION FOR THE DEGREE OF BACHELOR OF BUSINESS INFORMATION TECHNOLOGY

BIT 2207: INTERNET APPLICATION AND PROGRAMMING II
DATE: AUGUST 2013 TIME: 2 HOURS
INSTRUCTIONS:
Answer questions one and any other two questions.
QUESTION ONE (30 MARKS)
a) It seems that skilled computer programmers are always in demand. Programmers are involved in a wide range of industries and fields of study. Briefly mention with some explanation the different types of programming. (2mks)
b) Over the years, many software companies have established their own development processes, or adapted those suggested by others. Analyse the six basic steps usually followed by most development cycles. (3mks)
c) We are constantly faced with various problems. Some of these problems are fairly easy to solve, while others seemingly complex problems. Critically analyse the terms that are used during problem solving:
i. Models
ii. Metaphors
iii. Objects (3mks)
d) In Java non modue the idea of specialization using the keyword externals, using a clear view explain how inheritance is managed. (2mks)
e) Java program comes in two flavours; applits and applications. Discuss the difference between the two terms. (2mks)
f) Explain the difference between public interface and private implementation. (4mks)
g) Are the following lines of code treated the same in Java? Explain your answer with evidence
private int empid=254;
private
int
empid
254 (4mks)
h) Explain in details how scope affects variable data (2mks)
i) Web-site require special programming features in order to be incorporated for secure transaction processing. List with clear reasons, to support your answer. (4mks)
j) In Java, systems form events, assess the difference between the two terms as used by programmers;
i. Event source
ii. Event listener (2mks)
k) Identify two advantages of inheritance (2mks)
SECTION B
QUESTION TWO
a) Create an application code to print out the word “Helloworld” on a standard output device. (8mks)
b) Batch files have long been a popular way of automating files in processes, such as naming or printing files. Precisely list and explain in details with clear examples and steps followed to create a batch file that will automate the process of compiling a Java film. (12mks)
QUESTION THREE
a) Create a method to display the numbers 1 to 10 using the tools you are familiar with
(10mks)
b) Write a valid reader that initializes a variable to run from 15-to-30, incrementing by 1
(10mks)
QUESTION FOUR
a) Create a class funcytext, to display a string in the color and size of your choosing(10mks)
b) Justify with clear reasons what the keyword Final indicate and give examples when it is used? (10mks)






More Question Papers


Popular Exams


Mid Term Exams

End Term 1 Exams

End Term 3 Exams

Opener Exams

Full Set Exams



Return to Question Papers