1. Create a C++ program that let the user input his/here grade on the following subjects: Programming, Web Application, Oral Communication, Multimedia and Physics and calculate the average.
Note : the program must also display/output the subjects with grades from the user and the average.
Write a linux bash script that will accept the sides of a triangle, let them be a, b, c. Based on these variable values determine if the triangle is right angled triangle or not, by using Pythagoras theorem.
Hint: if c^2 = a^2 + b^2then the given sides are right angled triangle else not a right angled triangle.
Write a java program for Tlhogi’s Car Care Shop that shows a user a list of available services: oil change, tire rotation, battery check, or brake inspection. Allow the user to enter a string that corresponds to one of the options, and display the option and its price as R25, R22, R15, or R5, accordingly. Display an error message if the user enters an invalid item. Save the file as CarCareChoice.java.
It might not be reasonable to expect users to type long entries such as “oil change” accurately. Modify the CarCareChoice class so that as long as the user enters the first three characters of a service, the choice is considered valid. Save the file as CarCareChoice2.java.
Finally write a test class to test both classes. Save the file as TestCarCareChoice.java
Systems. for Business, Encyclopedia of Business, 2nd ed. Nowadays, inventory management software often utilizes barcode, radio-frequency identification (RFID), and/or wireless tracking technology. Identify and explain five UML diagrams that may be used to model the inventory management system. Include the diagrams in your explanations.
Write a MatLab program to find the value of ×, y and z using Gauss-Elimination method in
the following equations
2x+4y + 2 - 3;
3x+2y - 2z= -2;
x-y+z=6.
Write a MatLab program to solve the following system of equation using Gauss-Seidel
methad:
54x+y+2=110;2x+ 15y+6z=72;=x+6y+272=85
The process that the public uses to log/register complaints begins with the loading of the complaint on the Online Portal or Mobile App. All loaded complaints will be in the ComplaintLoaded state. Complaints can either be accepted (through the acceptance option) or rejected (through the reject option). All accepted complaints will be in the ComplaintsAccepted state and rejected complaints will be in the Complaints Rejected State. For both Accepted and Rejected Complaint, there is a send notification option that sends notifications out. The process ends with Notification Sent state for all the notifications that are sent out. The Online Portal or Mobile App has a mechanism to check the details of the complaint before accepting or rejecting.
Analyse the process used to log or register a complaint and create a state machine diagram
Write a program that prompts the user to input an integer and then outputs both
the individual digits of the number and the sum of the digits.
Develop Employee Management System for the company. Create the class library which will have class Employee with the following details :
Employee ID, Employee Name, Salary, HRA, TA, DA, PF, TDS, Net Salary, Gross Salary
• Write method for accepting values of Employee ID, Employee Name, Salary, HRA, TA, DA, PF from user (From these HRA, TA, DA, PF are in percentage).
o If user do not provide any value for HRA, TA, DA and PF. Then use the optional values for these as follows:
HRA – 20%, TA – 10%, DA – 50%, PF – 12%
o Calculate TDS, Gross Salary and Net Salary as follow:
Gross Salary = Salary + HRA + TA + DA
TDS = 10% of Salary
Net Salary = Gross Salary – (PF + TDS)
• Create a menu based console application to register the employees in company, display employee.
• Store the employee details in collection.