Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Scenario: You have been hired by GMU to create and manage their course registration portal. The university is offering six IT courses in Fall 2023.

image text in transcribed

Scenario: You have been hired by GMU to create and manage their course registration portal. The university is offering six IT courses in Fall 2023. Each course has a course number, course name, credit hour, and current enrollment. The course number must be 5 characters long. The maximum enrollment for each course is 30 students. The current enrollment should be no greater than the maximum enrollment. A course can have a maximum of 4 credit hour. Design and implement a modular solution for the above task. Your solution must have the following methods: - Get Course Number: This method should prompt the user for a course number, validate the number, if it's invalid show an error message and re-prompt. At the end, the method should return a valid course number. - Get Course Name: This method should prompt the user for a course name. The course name cannot be empty. If the user provides an empty string, show an error message and re-prompt. At the end, the method should return a valid course name. - Get Credit Hour: This method should prompt the user for a course credit hour, validate the input, if it's invalid show an error message and re-prompt. At the end, the method should return a valid credit hour. - Get Enrollment: This method should prompt the user for a course's current enrollment, validate the input, if it's invalid show an error message and re-prompt. At the end, the method should return the valid input. - Print Course Details: This method should print all the information of the courses entered. This method should also print the maximum and average enrollment over all the courses

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

Explain the factors influencing wage and salary administration.

Answered: 1 week ago

Question

Examine various types of executive compensation plans.

Answered: 1 week ago

Question

1. What is the meaning and definition of banks ?

Answered: 1 week ago

Question

2. What is the meaning and definition of Banking?

Answered: 1 week ago

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago