Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
39 views

Java Question Paper...

Java questions

Uploaded by

Poornima
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
39 views

Java Question Paper...

Java questions

Uploaded by

Poornima
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 14
tl BUA NOVEMBER/DECEMBER 2019 BCA31 — JAVA PROGRAMMING Time : Three hours Maximum : 75 marks 10. SECTION A — (10 x 2 = 20 marks) Answer ALL questions. What is Java Virtual Machine? List out various separators used in Java. Distinguish: between Abstract class and Concrete class. What are Parameterized constructors? Mention the use of ‘extends’ keyword. Define Thread. Give any two AWT Controls in Java. What is the use of Applet Viewer? Expand JDBC and ODBC. Write the syntax for creating connection to a database 2804 1. 12, 13. 14, 16. @) &) @) ©) (@) ) (@) © @ © SECTION B — (6 x 5 = 25 marks) ‘Answer ALL questions. Deseribe the usage of Enumerated data type? Give exmaples. Or How do you define a class in JAVA? How do you create its instances and refer to them? Expalin, Explain the different forms of Inheritance in Java, or With suitable program deseribe the usage of ‘super’ keyword. Elucidate the overriding method with a suitable example program. Or Discuss on’ stopping and blocking threads. Give an overview on applet life eycle with suitable example. Or Discuss on Action event with an example. Explain the various types of resultset object. Or Deseribe about the types of JDBC Driver. 2 2804 16, 17. 18, 19. 20. Answer any THREE questions. Write detailed note on branching and looping statements in Java. How to define and access a package? Explain with examples. Describe the various techniques to handle Exceptions in Java. Give an account on Layout manager in java. Write an example program using JDBC 3 pons NOVEMBER/DECEMBER 2017 UCA41— JAVA PROGRAMMING Time : Three hours Maximum : 75 marks re ee SECTION A — (10 x 2 = 20 marks) i 4 BRARY : \ 4 ,, Answer ALL the questions. e the term - Array. What is Scanner Class? 3. Distinguish between: Class and Object. 4. What is Method Overriding? 5. Mention the use of JPanel, 6. What is Mouse Event Handling? 7. Define the term - Graphics Objects. 8. What is JSlider? 9. Define the term - Multithrending, 10. What is Random file? 1073 4, 13, M. @ &) (@) ) @ &) (@) SECTION B— (6 «5 = 25 marks) Answer ALL the questions Give a brief note features of Java. Or Discuss on Data types and method of declaring Variables, Describe the importance of Abstract cliss with example. : Or Explain the features of Constructors. handling techniques, Or Describe the common GUI Event types and Listener interfaces. Discuss on k Explain the FlowLayout arid BorderLayout Managers. Or Discuss on the methods of drawing Lines Rectangles and Ovals. Deseribe the concept of Exception handling. Or Explain the importance of Interfaces with example. 1073 16, 1, 18, 19, 20, SECTION C— (3 10 = 0 marks) Answer any THREE questions Discuss on Object-oriented concepts, Explain the concept of Inheritance with suitable example. Describe the features of JButton, JCheckBox, IComboBox and JList, " Discuss the method of using Menus with Frames, Explain the process of creating, importing and using Packages with example. 3 1073 An BA \ APRIL/MAY 2020 BCA31 — JAVA PROGRAMMING Time : Three hours Maximum : 75 marks SECTION A — (10 x 2 = 20 marks) Answer ALL questions. 1. Differentiate Break and Continue Statement. 2. Define — Constructor. 3. Define — Polymorphism. 4.. Write the purpose of new operator? Give | an example. 5. State the use of ‘implements’ keyword. 6. Distinguish between String and StringBuffer class. 7. What is Event Handling? 8. Expand —- AWT and GUI Kae 9. Define - Database metadata. GOMES A Sag Se we 10. What is JDBC? BRAY, 17. 18. 19, SECTION C — (3 » 10 = 30 marks) Answer any THREE questions. Write a Java Program to find the value of nt, where n is a given integer. Illustrate the concept of single inheritance with an example. How are exceptions handled in Java programming? Discuss. Describe the tag with all its major attributes. Write a program to execute a SQL function using callable statement. 3 585 APRIL/MAY 2019 BCA 31 — JAVA PROGRAMMING Time : Three hours 10. Maximum : 75 marks SECTION A — (10 x 2 = 20 marks) Answer ALL questions. What is Java API? Differentiate break () and Continue () statement. Define the term — superclass. What is an array? Define — Exception Handling. Mention the three constants provided by thread class. Specify the use of AWT. Define the term — panel. Mention the pitrpose of close () method How a JDBC driver is chosen for the application? 2447 SE ae “Answer ALL questions, 11, (@) Explain the different elements of a Java program, Or (b) Write a short note on Access Specifiers. 12, (@)_ Discuss on basics of Interface. Or (©) Describe the benefits of a java package, 18. (a) Explain the concept of string buffer class through example. Or (©) Desert the thread contr! method with example, 14, (@) Discuss the life eyele methods of an applet. Or (@) How to created the swing using Jpanel? Explain 15. (@) Write short note on JDBC classes and Interfaces. or () Describe the types of Results 2 2447 16. 17, 18. 19, 20. ‘Anawor any THREE ust Explain the various features of Java, Discuss on (a) Multilevel inheritance (b) Hierarchical inheritance. Give an overview on Built-in Exceptions. Describe the various methods to create graphics in an applet. How to created the database and table using JDBC? Explain. a asa7 APRIL/MAY 2018 UCA41 — JAVA PROGRAMMING Time : Three hours 10. Maximum : 75 marks SECTION A — (10 x 2 = 20 marks) Answer ALL questions. What is Variable? Distinguish between — Java Application and Applet. What is Abstract class? Define the term — Method overloading. What is key event handling? Define the term — Adapter class. What are the three types of layout n anagers? Define the term — Graphics Context: . What is sequential file? Define the term — Interface. 1702 1. 12. 13, M4 @ ©) (a) w @ w @ o SECTION B — (6 x 5 = 20 marks) Answer ALL questions. Describe the features of scanner and system class. or Write short notes on control statements, Discuss on the importance of Inheritance method with example. Or Explain the example. recursion technique using Describe the common GUI Event types and Listener Interfaces, Or Diseuss on the importance of JButton, ‘IComboBox and JPanel. Explain the features of JSlider with example Or Describe briefly the method of using menus: with frames 1702 16. 16. 17, 318. 19. 20. (@) Discuss briefly on the concept of Multithreading using example. Or (b) Explain the method of importing and using: Packages. SECTION C— (3 « 10 = 30 marks) Answer any THREE questions. Describe the method of declaring, initializing and accessing arrays. Explain the concept of class, constructors using example. objects and Discuss on mouse event handling procedure. Describe the color control procedure and the method of drawing lines, rectangles and ovals. Explain the exception handling procedure. 3 1702 UCA41 — JAVA PROGRAMMING Time : Three hours Maximum : 75 marks = 10. SECTION A — (10 x 2=20 marks) Answer ALL questions. Define the term — Array. What is Variable? Define the term — Constructor Define — Recursion, What are Adapter Classes? What is JOptionPane? Define the term ~ Event handling. What is JSlider? Define the term — Thread. Distinguish between — Sequential file and Random file, 1326 WL 12, 13, 14. @ 0) @ ) @ o) @ @) SECTION B — (6 x 6 = 25 marks) Answer ALL questions, Describe the Object oriented concepts. Or Write short notes on the importance of Scanner and System classes, Discuss on the purpose of Abstract Class using example, Or Explain briefly the Inheritance mechanism with example. Write short notes on GUI Event types and Listener Interfaces. Or Describe briefly the Key Event handling Procedure. Discuss on the method of Drawing Lines, Rectangles and Ovals. Or Write short notes on using Menus with Frames, 2 1826 15. 16. 1, 18. 19. 20. (a) Explain the way of creating and im, ting Packages, * ea Or (b) Describe briefly the Exception handling mechanism, SECTION C— (3 x 10 = 30 marks) Anewer any THREE questions. Explain the features of Java. Describe the concept of Method Overloading and Method Overriding. Write a detailed note on Mouse Event handling procedure. Discuss on different types of layout Managers. Explain the concept of Multithreading using example. 3 1326 » RUer 30/4 e019 2 & ¢ APRIL/MAY 2019 UCA41 — JAVA PROGRAMMING Time : Three hours Maximum : 75 marks 10. SECTION A — (10 x 2 = 20 marks) Answer ALL questions. What is Variable? How to declare it? Define the term — Array. What is Abstract class? Define the term Recursion. Mention the use of JPanel. What are Listener Interfaces? Define the term — Graphics context. How to draw Rectangle in Java? Define the term — Exception handling. What is Multithreading? 2462 12, 13, 14. @ ) @) © (@) b) @ ) Answer ALL questions. Discuss on any three features of Java, Or Explain the procedure for performing, Input-Output with examples. Describe the features of Inner class and String class. Or Discuss on the concept of simple Inheritance using example. Explain the Mouse procedure Event handling Or Describe the features of Adapter classes. Discuss on any. two types of Layout managers, or Explain in the procedure in Fent control. 2 2462 16. un 18. 19. 20. (@)_Deseribe the method of creating and wine Tnterinee using example or () Discuss on the concept of File Streams and Sequential tile, SECTION C —@ 10= 30 marks) Answer any THREE questions. Describe the importance of Scanner, System veces, and. print( ), printin¢ ) and printf( ) methods, Explain, the concept of constructors and method overloading using examples. Discuss on the Key Event handling procedure. Deseribe the role of JSlider with example in detail Explain method of creating and importing Packages with example, 3 24

You might also like