Write a menu driven application to maintain the student information using Java to
demonstrate the concept of inheritance. Assume that you are considering PG and UG
students, where the specialization details are maintained only for the PG students. Your
application must contain the following functionalities along with the use of method
overriding, and super keyword.
a. For each student your application must have the details such as name,
Register Number , department, specialization, cgpa, Hostel Name,
Mentor Name, Number of Arrears.
b. Get the student details from user(admin)
c. Display the student list with all details in a proper and neat format.
d. In the menu give option to display the PG and UG student list
separately.
Create a program in Python to accept input from clients of their name, weight (in pounds) and height (in inches). Calculate his/her BMI and then display a message telling them the result. Below is the table of BMI for adults:
BMIWeight Status
Below 18.5Underweight
18.5—24.9Normal
25.0—29.9Overweight
30.0 and AboveObese
BMI is calculated as dividing your weight in pounds by your height (in inches) squared and then multiplied by 703. In other words BMI = (W / H2 ) * 703.
the program should display for the client a message telling them in which range they are. Code your program as a loop so that the program will continue to run until there are no more clients. You decide what will end the program.
Write a function called FindSequence. The function takes a 4-digit integer as parameter, validates the integer and returns 1 when the digits are in increasing order or 2 when the digits are in decreasing order or 0 when the digits are not in any order.
Write a program to help you calculate the amount of money that your customers have to
pay depending on how long they have used your computer (in hours).
first one hour = 1.20
subsequent hour = 0.80
What are the responsibilities of data link layer?
Why mac address is not sufficient to transport data on internet?
What are the steps performed by the switch when it receives a frame?
(5 marks)
Write statements to validate the number given below is a 4-digit integer and then to print the digits divisible by 2.