KOI needs a new system to keep track of vaccination status for students. You need to create an application to allow Admi

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

KOI needs a new system to keep track of vaccination status for students. You need to create an application to allow Admi

Post by answerhappygod »

KOI needs a new system to keep track of vaccination status for students. You need to create an
application to allow Admin to enter Student IDs and then add as many vaccinations records as needed.
In this first question, you will need to create a class with the following details.
The program will create a VRecord class to include VID, StudentID and vName as the fields.
This class should have a Constructor to create the VRecord object with 3 parameters
This class should have a method to allow checking if a specific student has had a specific vaccine
(using student ID and vaccine Name as paramters) and it should return true or false.
The tester class will create 5-7 different VRecord objects and store them in a list.
The tester class will print these VRecords in a tabular format on the screen
Q2. Continuing with the same VRecord class as in Q2. Program a new tester class that will use the same
VRecord class to perform below tasks
This new tester class will ask the user to enter a student ID and vaccine name and create a new
VRecord object and add to a list, until user selects 'No" to enter more records question.
The program will then ask the user to enter a Student ID and vaccine name to check if that student
had a specific vaccination by using the built-in method and print the result to screen
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply