Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part A: For this homework you have to write a program to screen people for eligibility for vaccination. Based on their profession people are divided

image text in transcribed
image text in transcribed
image text in transcribed
Part A: For this homework you have to write a program to screen people for eligibility for vaccination. Based on their profession people are divided into three categories, 1. Front line workers 2. Academic candidates 3. General Category Front line workers are, nurses, doctors, military personals, delivery personals. All the front line workers are by default eligible for vaccination. Academic candidates are, Students, Faculties and University/School Employees. Academic candidates who are over 18 and are involved in person are eligible for vaccination. General Category, any personal who does not fit into above categories will be categorize into general category. All personals with age over 18, preexisting conditions that might put them at higher risk, are involved in person tasks are eligible for vaccinations. Part B: A person is not eligible for vaccination if: Have previous record of vaccination allergy. Pregnant AND already suffering from other illness. Requirements: Start by asking person's profession. All personals should only be asked the questions related to their profession. Meaning frontline workers should not be asked any other questions from Part A of the document. Academic candidates should only be asked for their age and if they are involved in in person activities or not and so on. Only the eligible candidates should be asked the questions from part B. While asking individual's profession this message should be printed on screen: We thank you for choosing our service for vaccination. We will determine your eligibility for vaccination here. Please start by providing your profession below. You can use this list for your reference. Doctor, nurse, military, supply chain, student, faculty, academic, other. Please enter your profession here: Academic candidates should be asked their age and if they are involved in person or not. For that use following messages: Are you 18 years or older? (yeso): Are you involved in any in person activity on / off campus? (yeso): All other individuals should be asked following questions: Are you 18 years or older? (yeso) : Are you involved in any in person activity on / off campus? (yeso): Do you have a pre-existing condition that puts you at higher risk than others to this disease? (yes / no) If candidate is ineligible for the vaccination then print this message on the screen. We are sorry, it looks like you will have to wait little longer to get vaccinated. Please check your eligibility after 2 weeks. In case of emergency please contact our office directly. If the candidate is eligible then ask questions from part B. Use following template as a sample message to print on screen: You are almost there, please answer following questions to complete the process. Do you have a history of allergic reaction to vaccination? (yes/ no) Are you pregnant? (yes/ no) Do you have any other illness or condition currently? (yes / no) If the candidate it not pregnant then print following message on the screen: Congratulations, you are eligible for vaccination. Our team will shortly contact you to give information about the vaccination process. If the candidate is pregnant and have no other illness print the following message on the screen. Congratulations, you are eligible for vaccination. Our team will shortly contact you to give information about the vaccination process. If the candidate is pregnant and have other illness print the following message on the screen. We are sorry, it looks like you will have to wait little longer to get vaccinated. Please check your eligibility after 2 weeks. In case of emergency please contact our office directly

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

Explain exothermic and endothermic reactions with examples

Answered: 1 week ago

Question

Write a short note on rancidity and corrosiveness.

Answered: 1 week ago