RABIAMMAL AHAMED MAIDEEN COLLEGE FOR WOMEN, THIRUVARUR

(Affilliated to Bharathidasan University, Tiruchirapalli)

 

Department of Computer Science

 

QUESTION BANK

 

Subject name: PROGRAMMING IN JAVA   

 Subject code: 16SCCCA3

Class:     BCA                                          SEM : III

 

UNIT - I  2MARKS

 

1.define classes and objects?

2.what is object oriented programming (OOP)?

3.what is attributes?

4.define characteristics of OOP?

5.what is encapsulation?

6.what is inheritance?

7.define data hiding?

8.what are the benefits of encapsulation?

9.define polymorphism?

10.what are the advantages of inheritance?

11.what are the drawbacks of OOP?

12. Define JVM?

13.Define JavaAPI?

14.define javabeans?

15.define applets?

16. what are the programming approaches in Java?

17.what is abstraction?

18.define function overloading?

19.define operator overloading?

20.define JDBC.

21.what is an example of operator overloading?

22. what is an example of function over loading?

23.write about JavaServer.

24. write about the Java virtual machine?

25.what is objects?

 

                    UNIT-I  5MARKS

 

1.discuss in detail about Java as a programming language?

2.difference between POP and OOP.

3.write short notes on application and applets.

4.explain about Java development kit.

5.write in detail about the Java program structure.

6.discuss in detail about object oriented programming?

7.explain the characteristics of OOP.

8.discuss in detail about the inheritance.

9.write about the Java as a platform?

10.write short notes on evolution java.

11.write short notes on challenges of OOP.

12.write short notes on application in Java.

13.discuss in detail about the single inheritance.

14.write in detail about the multilevel inheritance.

15.explain the applets.

 

 

                    UNIT-I  10MARKS

 

1.explain about a short history of the development in Java.

2.write briefly about the features of Java.

3.write the comparison between the Java and other languages.

4. Write a simple applet program.

5..discuss the advantages and drawbacks of OOP.

6.explain briefly about the concepts of abstraction via encapsulation.

7.explain inheritance and its types.

8.explain the application in Java.

9.explain about the inheritance concepts in Java.

10.write an example of single inheritance with program.

 

                          UNIT-II  2MARKS

 

1.define building blocks.

2.what are identifiers?

3.define literals and types of literals?

4.define datatypes?

5.what is variables?

6.define instance variables?

7.what is static variable?

8.define wrapper class.

9.what is operator?

10.define arithmetic operator?

11.what is operetor precedence?

12.write example for primitive type to wrappers.

13.what is block?

14.what is control structure?

15.what is array?

16.what is String?

17.define string buffer.

18.define white spaces.

19.define while loop.

20.define multi dimensional arrays.

21. list out the looping statements.

22.mention any methods in string.

23.define increment operator?

24. define decrement operator?

25. What are the purpose of arithmetic operator?

 

                   UNIT-II  5MARKS

 

1.discuss in detail about data types.

2.write short notes on i. Assignment operator ii. Logical operator iii.conditional operator.

3.write short notes on control structure.

4.discuss in detail about looping statements.

5.write the difference between do and while loop.

6.explain about the switch statement.

7.write short notes on multi dimensional array.

8.write the example of string.

9.write string buffer class.

10.write short notes on string methods.

11.write short notes on white spaces and comments.

12.explain about the integers and characters.

13.explain  about the arrays with types.

14.explain  about the characters of an array.

15.explain the increment and decrement operator.

 

                        UNIT-II  10MARKS

 

1.explain briefly about the operators.

2.explain about the boolean data types.

3.write about the variable types in Java?

4.explain about the branching statements?

5.explain briefly about the array and types?

6.discuss in detail about the string and string buffer class?

7.explain about the looping statements.

8.explain for loop statement.

9.write in detail about the data types with types.

10.what are the purpose of string using methods.

 

                          UNIT-III  2MARKS

 

1.what is classes?

2.what is method overloading?

3.what is variable scope and method declaration?

4.define interfaces?

5.define private and public in Java access modifiers?

6.write overloading constructors with example?

7.write the constructor methods?

8.what is pass by reference?

9.what is pass by value?

10.define modifiers.

11.what is non-access modifiers?

12.what is access modifiers in Java?

13.what is packages?

14.what are the data members in interfaces?

15.write the uses of interfaces.

16.write about the creation of interfaces.

17.what is inheritance?

18. what is modifiers?

19.what is constructors?

20.define class methods?

21.what is extensions?

22.write the uses of interfaces?

23.what is the uses of modifiers?

24.write about the uses of packages.

25.write an example of pass by value.

 

                          UNIT-III 5MARKS

 

1.write short notes on modifiers?

2.write shirt notes on controlling access to methods and variables?

3. How to creating the accessor methods with examples?

4.state why access control is important?

5.write short notes on name conflicts.

6.write short notes on implementing multiple interfaces?

7.discuss in detail about the uses of interfaces.

8.explain the four levels of protection?

9.discuss in detail about the overriding constructors?

10.write the program using constructors?

11.write the example program of pass by value?

12.write short notes on classes?

13.write short notes on modifiers with example?

14.write short notes on non-access modifiers with example?

15.explain the methods with examples.

 

                    UNIT-III 10MARKS

 

1.explain function overloading.give an example. List out some of the standard overload methods in Java.

2.what is the difference between class methods and instance methods?give a  example of each methods.

3.explain in detail about the packages in Java?

4..write in detail about the interfaces in Java?

5..write in detail about the constructor methods.

6..explain the pass by value and pass by reference in Java?

7.write difference between packages and interfaces in Java?

8.what are the concepts of class and instance methods?

 

                        UNIT-IV 2MARKS

 

1.what is multithreading?

2.define thread.

3.write the creation of thread?

4.write thread priorities?

5.what is deadlocks in threads?

6.write the communications of thread?

7.what is exception handling?

8.what are tha basics of exception handling?

9.what is checked exception?

10.what in unchecked exception?

11.what is constructor?

12.what are the methods in throwable class?

13.what is exception?

14.what is inheritance?

15.what is time slicing in thread?

16.write wait().

17.write notify().

18.write notify all().

19.whuch interface is implement to create a thread?

20.write sleep().

21.writhe wait() with an example.

22.write an example of constructor methods?

23.what is throwable class?

24.write an example of checked exceptions?

25. write an example of unchecked exceptions?

 

                          UNIT-IV  5MARKS

 

1.explain the life cycle of a thread.

2.explain with an example how Java performs thread synchronization.

3.discuss in detail about the rethrowing and redirecting exceptions.

4.write in detail about inheritance.

5.write in detail about the checked and unchecked exception.

6.write about creating threads.

7.write single thread program.

8.writw short notes on exception handler?

9.write short notes on  throwable class hierarchy in exception hierarchy?

10.write short notes on methods?

11.write about the commonly used exception classes?

12.write about the try block statement?

13.write the catch block statement?

14.explain the concepts of thread.

15.explain the multi-level inheritance.

 

                  UNIT-IV 10MARKS

 

1.explain about the handling exceptions in Java?

2.explain the nested try statements with an example program.

3.explaim briefly throwing user-defined exceptions?

4.explain about creating a new thread by extending threads.

5.explain the thread priorities and thread scheduling.

6.write the thread synchronization?

7.explain the daemon threads?

8.write an example of daemon threads?

 

                       UNIT-V  2MARKS 

 

1.define applet?

2.write about working with applets?

3.what is file constructor?

4.define file streams?

5.what is filter streams?

6.define file input streams.

7.define file output streams.

8.what is random access file?

9.what is serialization?

10.what is deserialization?

11.define applet class?

12.what are the main features of applets?

13.what is Java I/O?

14.what are the forms of input and output streams?

15. what is applications in Java?

16.what us the APPLET HTML tag?

17.what is applet viewer?

18.write drawstringmethod().

19.defin paint() method.

20.define destroy() method.

21.define start() method.

22.define init() method.

23.define stop() method.

24.what is alternate HTML ?

25.what hspace?

 

                       UNIT-V  5MARKS

 

1.write a simple applet program.

2.write the differences between applet and application in Java.

2.discuss the life cycle of an applet.

4.write an applet that draw an variety of rectangles of different size and locations.

5.why do applet classes need to be declared as public?

6.How is the paint stage different from the rest of the life-cycle stages?

7.what is the difference between the initialize and start life-cycle stages?

8.what is the super-class for all applets?

9.explain the init() method with syntax.

10..explain the start() method with syntax.

11.explain tha destroy() method with syntax.

12.explain the paint() method with syntax.

13.explain the stop() method with syntax.

1 4.write short notes on working with applets.

15.write short notes on applet viewer

 

                          UNIT-V 10MARKS

 

1.explain briefly APPLET HTML Tag.

2.dicuss in detail about the Java. Applet package.

3.write in detail about the life cycle of an applet.

4.write in detail about the serialization and deserialization?

5.discuss in detail about files and I/O stream?

6.explain the file input streams with an example program.

7.explain the file output streams with an example program.

8.write briefly about the random access files.

9.explain the working with applets.

10.explain in detail about the overview of an Java.

  

Comments

Popular posts from this blog

Java MCQ