part - 1 object-oriented designwrite a program


Part - 1 (Object-Oriented Design)

Write a program that allows an instructor to keep a grade book. Each students has scores for exams, homework assignments, and quizzes. Grading scales convert the total scores in each category into letter grades (e.g., 100-94 = A, 93-91 = A-,90-88 =B+, etc.) To evaluate the final grade, the category grades are converted to numeric values (A = 4.0, A- =,3.7, B+=3.3, etc.). Those scores are weighted according to a set of weights (e.g., exams 40%, homework 35%, quizzes 25%), and the resulting numeric value is again converted into a letter grade. Design a user interface that firms up the requirements, use CRC cards to discover classes and methods, provide class diagrams, and implement your program.

Part - 2 ( The Unified Modeling Language)

Airline seating. Design and implement a program that assigns seats on an airplane. Assume the airplane has 20 seats in first class (5 rows of 4 seats each, separated by an aisle) and 180 seats in economy class (30 rows of 6 seats each, separated by an aisle). Your program should take three commands: add passengers, show seating, and quit. When passengers are added, ask for the class (first or economy), the number of passengers traveling together (1 or 2 in first class; 1 to 3 in economy), and the seating preference (aisle or window in first class: aisle, center, or window in economy). Then try to find a match and assign the seats. If no match exists, print a message.

Solution Preview :

Prepared by a verified Expert
Application Programming: part - 1 object-oriented designwrite a program
Reference No:- TGS0442324

Now Priced at $25 (50% Discount)

Recommended (92%)

Rated (4.4/5)