V SEMESTER B.C.A. EXAMINATION OCT/NOV 2011
Y2K7 SCHEME
COMPUTER SCIENCE
BCA 502 : INTERNET PROGRAMMING
Time : 3Hours Max.Marsk: 80
Instruction : Answer all sections
SECTION-A
1.What are main feature of java programming languages ?
2.List any three differences between applets and applications.
3.What is data abstraction?
4.what are threads? How they differ from process?
5.differentiate Do loop and while loop.
6.Explain 'super ' keyword with an example.
7.What is the use of finalize () method ?
8.What is an interface ? How does it differ from an abstract class ?
9.what is constructor overloading ?
10.Explain any three string methods in java with examples.
SECTION - B
11 . a) Explain exception handling in java.What is the use of finally block ?
b) Write a note on streams.
c) What are command line argument ? 7 + 4 + 3
12.a) Write a java program to produce the following output using for loop.
1
2 3
4 5 6
7 8 9 10
b) Write note on Jump statements.
c) Explain concept of encapsulation in java.Write a note on data hiding. 7 + 3 + 4
13.a) Illustrate method overloading with an example .
b) Write a short notes on static variables and static methods.
c) What is an abstract class ?How it is useful in java ? 5 + 5 + 4
14.a)What are applets. ? Explain life cycle of an applet.
b)What is inheritance ? List types of inheritances in java.
c) Write note on AWT package. 5 + 5 + 4
15.a) Write a java program to sort n number using bubble sort.
b) What are three types of objects involved in Event handling.
c) Mention any six drawing methods of Graphic class 5 + 4 + 5
16.a) Write a java program to implement mouse events.
b) Explain the math class and write notes on different methods defined in it. 7 + 7
No comments:
Post a Comment