Wednesday, September 4, 2013

BCA-504:JAVA PROGRAMMING OCT/NOV 2012 JAVA PROGRAMMING

                    V Semester B.C.A.Degree  Examination,October/November 2012
                                                           Y2K8 SCHEME
                                                   COMPUTER SCIENCE
                                        BCA 504 : JAVA PROGRAMMING

TIME:3HOURS                                                                      Max.Marks:60

Instructions: Answer all the sections:

SECTION-A

Answer any ten questions:    10X1=10

1.How is JAVA bytecode different from other low-level computer languae coding?

2.What is meant by scope of a variable ?

3.what are the date typed used in JAVA ?




4.What is the super class of exception ?

5. What do you mean by vector ?

6.Differentiate between a class and an interface.

7.How are threads created in JAVA.

8.What is API?

9.List the various types of action listeners in JAVA.

10.What is an applet ?

11.What are the basic types of JAVA streams ?

12.Define impart keyword.


SECTION-B

Answer any five questions :  5 X 3 =15

13.JAVA is platform independent. Explain.

14.Describe the structure of JAVA program.

15.Explain command LIne  arguments.

16.Explain the method for

 a) character extraction

b)String comparison

c)String concatenation.

17.Explain the method of a thread class.

18.Explain try, catch and throws with an example.

19.Give the skeleton of  an  applet and explain all its attributes.

20.Explain any three method of input stream class with examples


SECTION-C          5 X 7 = 35

21.Explain JVM and its components.


22.a) Explain overriding with an example.  5marks

     b)What is a static class ?   2marks

23.a)What is a package ? How do you create and access a package ?     3marks

      b) Write a  JAVA  program to implement thread prorities.       4marks

24.What is exception handling  ? How to handle exception ? Explain

25. a)What are the advantages of Applets over JAVA applications?   4marks

      b)what are the events?  Explain event handling in JAVA    3marks

26.a) Write a Short noes on :  4marks

    i) Wrapper class

   ii)  String buffer

   b) Explain character strean classes and byte stream classes.  3marks

27.a) Explain the methods available in JAVA input steam classes.   3marks

     b) Define abstract class. Discuss its importance.  4marks

No comments:

Post a Comment