B.Sc. (Computer Science) Sem 3 JAVA Programming Nov 2024 Question Paper - Mumbai University | munotes
Get access to whole semester resourcesSemester Pass
MU B.Sc. (Computer Science) student group
Free to join
Loading PDF...
Older exam
2023-24
Semester-end · JAVA Programming
→
Newer exam
None yet: this is the latest
New papers land after each exam season.
Questions asked in this paper
-
Q1 Attempt any four: A} Describe how Java acineves portability and architecture-neutrality Explain ‘overloading’ and ‘overriding’ in java 20 marks
- C) Explain five built-in of Java Library Write a in Java to create a class called ‘Rational’ for performing arithmetic with fractions. Provide appropriate constructors to initialize the fraction. Implement methods to add and multiply two fraction objects Write a program in Java to create a class called Complex for performing addition aind multiplication of two complex numbers. Implement the
- F) Write & program in Java to create a class called Point. Implement the appropriate constructor. methods for returning the distance of the calling point from another point passed as an argument of the method A} Describe 5 methods of ‘ArrayList’
- B) Explain the {ComboBox component of Swing
- C) Explain with examples the creation of threads in Java D} Write a program in Java to create a GUI application for converting meters to kilometers. Provide the appropriate GUI elements for the application
- E) Write a program in java which creates two threads. One printing ‘Pass’ and the other printing ‘fail’
- F) Write a program in Java to insert a record in the Student table. The Student table has the following fields: Id, first_name, last_name, course, Attempt any four: (20)
- A) Explain the life cycle of a servlet Explain five methods of Session’ class
- C) Explain the scripting elements in JSP with examples
- D) Write a serviet which calcv.lates the Gross salary of the person. Assume tnat basic pay is available from the previous HTML page and DA is 10%, HRA is 20% of the basic pay
- E) Write a JSP page which checks if number is even or add. The number is available in the current page through the variable name
- F) Write a JSP page which displays the number and its square. The number is in the current page through the variable name ‘num’
-
Q4 Attempt any five: 15 marks
- A) Explain with examples three looping structures in Java
- B) Explain integral literals in Java
- C) Explain. the ‘PreparedStatemer.t’ with an example Explain the purpose of adaptor classes E} Explain 3 implicit objects in JS}
- F) Write a note on JSON with Java
Read from the scan above, so a character or two may differ. The scan is the original.
Something wrong on this page? Report it and we will check it against the scan.
Quick Help
No. The full paper opens straight away, with no login and nothing to pay.
Related Resources
Something wrong with this paper? Report it.
Connected Papers
B.Sc. (Computer Science) / Sem 3 · 82 papers
Questions? Email contact@munotes.in
Done!