Write program check the input character for uppercase
3. Write a program for the following code
Define a superclass called Person to store common properties such as name and address, and subclasses Student and Teacher for their specific properties. For students, maintain the courses taken and their respective grades; add a course with grade, print all courses taken and the average grade. A student takes no more than 30 courses for the entire program. For teachers, maintain the courses taught currently, and able to add or remove a course taught. A teacher teaches not more than 5 courses concurrently.
(The Wumpus world problem deals with an AI robot navigating its way through a 4x4 puzzle to try and find gold. The robot must safely navigate its way around bottomless pits of death and evil Wumpus creatures to locate the gold hidden on the board. After it has successfully found the gold, it must safely navigate its way back to the starting point. The robot must use its light sensors and the signals sent to it at each square to determine which way to properly navigate to reach its goal.)
6. A class consists of 60 students. Write a program to add another set of 60 students to the same array using the concept of backing the array.
a) For first 100 units Rs. 1/unit.
b) For next 200 units Rs. 2/unit.
14. Write a program for divide and conquer Min-Max problem (assign random number for each node)
15. A truck consists of n cartons with different weights. Write a program to implement Knapsack problem to choose as many cartons as possible such that the total weight of chosen cartons does not exceed the maximum load of the truck.