Program that will accept number of students and number of quizzes of students. Program will accept the name of the student and the quiz grades of the student. The input will be stored to a dictionary. The name of the student will be the key and the quizzes will be the value in list format (e.g., {“Jose S. Uy”: [87,90,97,80,95], “Rowena M. Evangelista”: [88,87,90,97,83].
The program will output the list of quizzes per student, the lowest quiz, the highest quiz, and the average quiz grade.
EXAMPLE:
number of students: 2
number of quizzes: 5
student 1: Jose S. Uy
quiz 1: 87
quiz 2: 90
quiz 3: 97
quiz 4: 80
quiz 5: 95
student 2: Rowena M. Evangelista
quiz 1: 88
quiz 2: 87
quiz 3: 90
quiz 4: 97
quiz 5: 83
Quiz Result:
Student 1: Jose S. Uy
Quizzes: [87, 90, 97, 80, 95]
Lowest: 80
Highest: 97
Average: 89.8
Student 2: Rowena M. Evangelista
Quizzes: [88, 87, 90, 97, 83]
Lowest: 83
Highest: 97
Average: 89
(Pointers to derived classes) Write a program to illustrate how pointers to a base class is used for both base and derived class.
Modify the program by creating an array of n objects using pointers. Show the details of n items by using pointers to object concept.
(Pointers to objects) Define a class Item that is used to store and display the information regarding the item number and its price. Write a program to store and display the details of one items by using both normal object and pointer to object separately. Display
appropriate message wherever necessary.
Searching a word present in a sentence or not, if present print its location with a successful note.
WAP using pointer to print greatest and smallest number present in an array (min 10 elements)
Write a program that able to compute the pay of both types of employees: retired one’s and employed,
the retired employees will receive pension and it will be computed and displayed with proper variables
and messages. The pension of the employer will be fixed and will be computed on the basis of age, if the
age of the retired employer is between 60 to 70 years then its pension will be 30000 and if the age is
greater than 70 then the pension will be 40000. The pay of the employer will be computed on daily
worked hours and the net pay will be shown with the proper messages of gross salary. The pay of the
employer will be 1000 rupees per day if he/she worked for 8 hours and if it works more than 8 hours, then
he will be paid 300 rupees per hour but the extra time can only be utilized at maximum of 3 hours.
Define a class with constructor,fields and properties
Create a program in Java that will enter a number and check if the given number is odd or even number.
Sample output:
Enter a number to be check: 18
Number 18 is even number
OR
Enter a number to be check: 18
Then entered number is even number
Using while or do-while loop. Make a program that will input two number, If the two number entered are EVEN then perform the addition and display the Sum. Your program will be terminated by an option if the user not to proceed another entry.