Question 2: Explain the process of adding classes to existing packages
Question 3: Suppose that you have to computerise your study centre
which organises the weekend classes for computer programs (theory
as well as practicals) and also gets assignment evaluated.
(i) List all-important classes, their data structure and other attributes,
in a language similar to Java Programming.
(ii) Draw an inheritance diagram for the entire application, which
should comprise of base classes and sub-classes.
(iii) Write a pseudo coded of at least 3 methods
Question 4: Write a recursive program in Java for the greatest common
divisor (GCD). Given two positive integers, the GCD is the largest
integer that divides them both.
Question 5: Admission to a professional course is subject to the
following conditions:
(a) Marks in Maths >= 75
(b) Marks in Physics >= 60
(c) Marks in Chemistry >= 70
Write a program in Java to process the application and list the eligible candidates. Take appropriate examples.
Question 6: Write a program that accepts a natural number of 4 digits as input and prints out all possible permutations of the number.
Question 7: Write a Java program to count 1 to 1000 numbers using 10 threads.