V SEMESTER B.C.A. EXAMINATION NOV/DEC 2009
Y2K7 SCHEME
COMPUTER SCIENCE
BCA 502 : INTERNET PROGRAMMING
Time : 3Hours Max.Marsk: 80
Instruction : Answer all sections
Y2K7 SCHEME
COMPUTER SCIENCE
BCA 502 : INTERNET PROGRAMMING
Time : 3Hours Max.Marsk: 80
Instruction : Answer all sections
SECTIONS-A
Answer any eight questions 3 x 8 = 24
1.How Java is strongly associated with the internet.
2.What is an empty statement? Explain its usefulness.
3.What are command line arguments ? How are they userful ?
4.Compare and contrast overloading and overriding methods.
5.What is a package ? How to add a class or interface to a package ?
6.What is thread ? What is the difference between suspending and stopping a thread ?
7.What is an exception ? Explain the syntax of exception handling code.
8.How do applets differs from application program ?
9.How many catch block can be used with one try block ? Explain.
10.Which class is used to draw a shape on the screen ? Explain.
SECTION-B
Answer any four full questions 4 X 14 = 56
11.a) How java differs from C and C++ ?
b)Write short notes on
i) JVM
ii) SDK
iii) AWT . 8 + 6
12.a) What is an vectore ?How is different from an array ?
b) Write a program which will read a string and rewrite it in alphabetical order
for example the word STRING should be written as GINRST. 7 + 7
13. a) Describe the complete life cycle of thread.
b) Write a program to implement thread priorities. 7 + 7
14. a) Explain the differnce between
i) Constructor and Methods.
ii) public member and private member of a class.
iii) interface and abstract class.
b) Explain some of the most common types of exception that occur in Java. 6 + 8
15.a) Explain the skeleton of an applet with an example.
b) Develop an applet that receives 3numeric values as input from the user and
then display the largest of the 3 on the screen and write HTML page. 7 + 7
16.a) Explain the I/0 stream classes used for handling primitive data types .
b) Write a program to count the number of character words and lines in the file. 7 + 7
nice
ReplyDelete