PLEASE MATCH YOUR ASSIGNMENT QUESTIONS ACCORDING TO YOUR SESSION
IGNOU MCS-206 (July 2024 – January 2025) Assignment Questions
Question 1: (a) Explain different data types available in java.
(b) Explain features of object oriented programming. Explain role of JVM in java programming.
Question 2: (a) What is a class? How a class is defined in Java? Explain use different access specifiers in java.
(b) Explain use of this, final and static keywords in Java.
(c) What is Character class? Explain use of compareTo and toString methods of Character class.
Question 3: (a) Write a java program to find sum of two matrices. Define proper class and methods in your program.
(b) Explain use of java File class and its methods with the help of examples
Question 4: (a) What is inheritance? What are different types of inheritance supported by java? Explain how inheritance is implemented in java with the help of an example.
(b) What is abstract class? Explain its advantages. How is it different from Interface?
Question 5: (a) What is polymorphism? Explain its advantages with examples.
(b) What is an exception? Explain various causes of exceptions. How exceptions are handled in java? Explain how user defined exceptions are created in Java.
Question 6: (a) What is multithreading? Explain how multiple child threads are created? Write a java program to demonstrate interthread communication.
(b) Explain use of List interface and Vector class in Java.
Question 7:(a) Explain Swing package/class hierarchy. What is difference between AWT and Swing ?
(b) What is FXML? Explain event handling in JavaFX.
Question 8: (a) Write a Java program using JDBC to manage saving accounts of a bank. Make necessary assumptions. Make provisions of exception handling in your program.
(b) Explain use of commit () and rollback() in JDBC programming with the help of a small program.