Thursday, September 5, 2013

BCA 504 :JAVA PROGRAMMING OCT/NOV 2011 QUESTION PAPER.


                                 V SEMESTER B.C.A. EXAMINATION OCT/NOV  2011
                                                               Y2K8  SCHEME
                                                       COMPUTER SCIENCE
                                            BCA 504  : JAVA  PROGRAMMING

Time : 3Hours                                                                            Max.Marsk: 60

Instruction : Answer all sections

SECTION-A

Answer any ten questions       10 x 1 = 10

1.What is a byte code ?

2.What are separatos.

3.What is transient variable ?

4.What ia an abstract class ?

5.What is a unicode ?

6.What is an empty statement  ?

7.When do we declare a method final ?

8.What is string buffer class ?

9,What is a local applet ?

10.what is blocking thread ?

11.------------------------------------ method flushes the stream.

12.Which listener interfaces can be added to a Text Area object ?

SECTION-B

Answer any 5 questions.

13. How is C++ is different from Java ?

14.How is Java Strongly associated  with the internet ?

15.Why do we need the import statement ?Explain with an example.

16.Explain the uses of 'Super ' keyword in java's inheritance concept with syntax.

17.What are the differences between java applications and applet.

18.wha is a vector ?Explain.

19.What are events ?Explain event handling in Java.

20.Write a Java  Program to check whether the given no is prime or not.


SECTION -C 

Answer any 5 questions.                                                               5 X 7 = 35 

21. Compare in terms of their functions. the following pairs of statemtnes:

     a) While and do while/
  
      b)While and for

    c) break and continue.

22.Explain any 7 methods of string class.

23.What is an interface ? How to implement interface ?Give example of  Java code.

24.with a sample program explain different ways of creating a thread.

25.Explain life cycle of applet with an example.

26.What is an exception handling ? How to handle exceptions? Explain with program.

27.Explain about the graphic class.

28.Write a  program to implement keyboard events.

No comments:

Post a Comment