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

Java - Questions Papers

This pdf has java question papers

Uploaded by

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

Java - Questions Papers

This pdf has java question papers

Uploaded by

Anil Anil patil
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 11
aw) & you 0155102 ae - 39429/D220 - Reg. No. IV Semester BCA UG Examination, September - 2020 PROGRAMMING USING JAVA (Repeater) Time : 3 Hours Maximum Marks: 80, Instructions to Candidates : All sections are compulsory. SECTION-A (10%2=20) L__ Answerany TEN of the following, a) _ List the commands used for compilation and execution of Java program. b) What are command line arguments? Give example. c) _ Listthe Java tokens. d) State any two properties of constructor in Java. ¢) What are wrapper classes? Give example. f) State significance of super keyword. g) Define Multithreading. h) Define exception. What happens when exception occurs. i) State any four drawing methods of Graphics class. j) Howapplets differ from applications? SECTION-8 Il. Answerany four of the following. (4*5=20) Explain any five features of Java. Write the difference between Java and C++? Explain final keyword with respect to variable, method and class. A 2 3. 4. Writea program to demonstrate method overloading. 5. 6. Explain static data, static methods and static block. 7 Explain how to create and import an interface in Java with a program. [PT.O. 32422/D220 @ AOU T SECTION-C IIL Answer any four of the following. (4x10=40) 8. Explain structure ofa Java program. 9. a) Write anote on operators in Java. b) Explain applet life cycle. 10. a) — Explain method overriding with a program. b) Explain various access controls (modifiers) in Java. 11. a) Write a program to copy bytes from one file to another. b) Write a note on thread Synchronization. 12. a) _ Explain following terms used in exception handling- b) try, catch, finally, throw, throws Write a program to demonstrate exception handling in Java. 0811369 UTNE NCA Reg, No. 41322/C220 LT] IH Semester BCA 4 Degree Examination, Nov/Dec - 2019 OBJECT ORIENTED PROGRAMMING USING JAVA (Repeater/Regular) Paper - BCA 4 Time: 3 Hours Instructions to Candidates: 1. All sections are compulsory. 2. Draw a neat diagram wherever necessary. 3. Write Question Numbers neatly & correctly. SECTION-A Answer ALL the Questions 1. a) Whatisclass & object? b) Define polymorphism. ©) Whatisconstructor? d) Define wrapper class? €) State access control (Modifies). {) Whatdoyoumean by vector? ®) _ Defineexception. 1b) Whatisprint writer? i) Whatdo youmean by applet? j) State the methods of Graphics class. SECTION-B Answerany FOUR of the following: Differentiate between POP & OOPS. Write a procedure to create packages. Explain Theard priority. Differentiate between Applet & Applications. Pye ey Write a Java program to demostrate constructor overloading. Maximum Marks : 80 (10*2=20) (4x5=20) PTO. 41322/C220 . @) NN SECTION -C Answerany FOUR of the following: (4x10=40) Explain OOPS concepts. a) Writea Java program to demostrate method overloading. b) Explain static keyword with data, method & block. Define Interface. Write a program to demostrate multiple inheritance. Explain different types of exception with example. a) — ExplainAppletlife cycle. b) Writean applet program to demostrate line & Rectangle. CANIS 26525/E250 Reg. No, V Semester B.Se.(CS)2 Degree Examination, Nov./Dec. - 2019 COMPUTER SCIENCE. (Repeater/Regular) Internet Programming Using Java Time : 3 Hours Maximum Marks : 80 Instructions 1 Candidates: All sections are compulsory. SECTION-A. Answer any Ten questions. (10*2=20) L ut. 1) Whatistypecasting? 2) Whatisjdk? 3) Whats one dimensional Array? Write the steps to create a one dimensional Array. 4) Whatis inheritance? What are the types of inheritance in Java? 5) List the Java API packages. 6) Write a note on Thread Priorit 7) What is Exception? Write any two Java Exceptions. 8) Write a note on throw keyword, 9) Define vectors. Write any two advantages of vectors. 10) Whatis interface? Write a syntax for defining an interface. 11) Write the steps to create our own package. 12) _Listand explain any four methods of graphies class. SECTION-B Answer any six questions 13) Explain basic concepts of oops. 14) Explain Looping statements in JAVA. 15) Write a note on packages. 16) Write a Java program to implement thread priorities. 17) Explain multiple catch statements in JAVA with a program. 18) _Listand Explain the types of errors in JAVA. 19) Differentiate between abstract class and Interface. 20) Explain How to draw Lines & Rectangles using graphics class with a program. SECTION -C ‘Answer any three questions. (310=30) 21) Listand explain the features of JAVA 22) Explain method overloading and method over riding. 23) a lain exception handling mechanism in Java, b. Write a note on how to throw our own Exception with a program. 24) Explain Applet Life Cycle 25) ‘A 32422/D 220 Reg. No. 1V Semester B.C.A.3 Degree Examination, May/June 2018 PROGRAMMING USING JAVA (Regular and Repeaters) Time : 3 Hours Max. Marks : 80 Instructions : 1) All Sections are compulsory. 2) Draw diagrams wherever necessary.. SECTION -A 1. Answer any 10 of the following : (10x2=20) a) What is web browser ? b) List the tools of JDK. c) Illustrate increment operator with an example. d) What is method overloading 7 e) When do we declare a method or class final ? f) What is scope of a variable ? g) What is an applet ? h) What is wrapper class ? i) Why do we need the import statement ? j) What is a constructor ? k) State the special operators of Java. |) What is an interface ? SECTION -B Answer any four of the following : (4x5=20) . How Java is strongly associated with the internet? Explain various looping statements in Java. . Explain life cycle of thread with neat diagram. Differentiate between public and friendly access. Write a Java program to implement any five string operations. . Explain Java API packages frequently used. NOusaon P.1.0. 32422/D 220 CON 5 SECTION - C Answer any four of the following : (4«10=40) » 6 9. 10. Explain the classification of Java stream classes with neat diagram. a) Explain the classification of Java statements. b) Write a Java program to display right angle triangle of “*” (stars) using nested for loop. a) Describe the structure of Java program. b) Write a Java program to illustrate method overloading. . a) Describe different forms of inheritance with examples. b) Explain HTML tags and their functions. . a) Write a note on visibility control. b) Differentiate between Java and C++. CAN 41322/C 220 Reg. No. ] IH Semester B.C.A.4 Degree Examination, November/December 2018 OOPS USING JAVA (Regular) Time : 3 Hours Max. Marks : 80 Instructions i) All sections are compulsory. ii) Draw neat diagrams wherever ‘necessary. SECTION-A 1. Answer the following questions a) Define AWT. b) What is garbage collection ? ©) What is vector ? List any two methods. 4) What is multithreading ? ©) What is super and this keywords ? f) What are access modifiers in java ? 2) What is exception handling ? h) What is applet ? i) What is typecasting in java ? (2«10=20) 5) Explain the line “Public static void main (String args [ ])”? SECTION-B Answer any four of the following : 2. Explain the java program structure 3. What is package ? Write down steps for creating user defined package. 4, Explain applet life cycle with neat diagram, 5. Write a java program to demonstrate at least 5 string methods using scanner class, 6. Explain with File reader and File writer concept. (5*4=20) SECTION -C Answer any four of the following : (10x4=40) 7. a) What do you mean by unchecked exception ? Write a program to illustrate try, catch and finally statements, b) Write a note on graphics class and methods. (545) PTO. 1322/C 220 CAO 8. a) Explain method overriding with example. b) Difference between C+ and java. (545) 9. Write short note on : a) Final keyword b) Synchronization in threads ©) Static method d) Wait () and Sleep (). . Explain with example wrapper classes ? Write a java program to implement wrapper classes and their methods. h |. Explain method overloading with example. \ ‘\ » No. of Printed Page: (MEUDEQ UNA NN 10584 ; 32422/D22 evel | PTTL amination, May - 2019 IV Semester B.C.A.3 Degree I PROGRAMMING USING JAVA THEORY (RCU 2017 - 18 Repeaters) Time : 3 Hours Maximum Marks : 80 Instructions : (1) All Sections are compulsory. 2) Draw diagrams whenever necessary. SECTION - A 1. Answer any 10 of the following, 2x10=20 (a) _ List out the features of Java. (6) How Java differs from C+#? (c) Define Java statements. (4) Define default constructor. (e) Define type casting. (List out all operators in Java. (@) Write the syntax of If.else statement in java. (h) Define class and object. (i) Define interfaces in Java. (j) Define Applets. (k)_ Define stream classes. (Define exceptions in Java. SECTION - B 4x5=20 Answer any 4 of the following. 2. Explain decision making, in Java. 3. Fxplain arrays and different types of arrays in Java. PTO, 32422/D22 2 4, — Explain method overloading, in Java, 5. Explain the life cycle of Applets. 6. Explain method overriding in Java, 7. Explain exception handling in Java, SECTION - C Answer any 4 of the following. 4x10=40 8. (a) Explain threads in Java. 4 () Explain the life cycle of threads. 6 9. (a) Explain constructors in Java. 4 (©) Write a program in Java on interfaces, 6 10. (a) Explain how applets differ from applications, 5 (®) Write a program in Java on multilevel inheritance. 5 11. Explain the different types of looping statements in Java with an example for each. 10 12. Explain in detail byte stream class and character stream classes. 10 -000- NE 0

You might also like