ave been tasked to design a COVID-19 screening application for your campus. The guards at each gate will screen the students and enter their details on the application. The capabilities and features of the application should include a choice between the following functions: 1. A screening survey which will allow guards to record the students’ screening data. 2. Searching for a student’s details and status. Technical Requirements: 1. The application should make use of Parallel arrays that will hold the details of the student as it is entered along with their status (admitted/not admitted). No more than 300 students will be allowed on a campus at any given day and time. 2. No student should be allowed access to the campus after 12h00 in the afternoons regardless of whether capacity has been re

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter12: Points, Classes, Virtual Functions And Abstract Classes
Section: Chapter Questions
Problem 23SA
icon
Related questions
Question

You have been tasked to design a COVID-19 screening application for your campus. The guards at each gate will screen the students and enter their details on the application. The capabilities and features of the application should include a choice between the following functions:
1. A screening survey which will allow guards to record the students’ screening data.
2. Searching for a student’s details and status.
Technical Requirements:
1. The application should make use of Parallel arrays that will hold the details of the student
as it is entered along with their status (admitted/not admitted). No more than 300 students
will be allowed on a campus at any given day and time.
2. No student should be allowed access to the campus after 12h00 in the afternoons
regardless of whether capacity has been reached or not.
3. If a student’s temperature is 38 degrees or more, they will not be allowed entry into the
campus.
4. Each main task that the application should perform should be contained in a module and
should be called from the mainline logic.
5. The code should reflect appropriately named variables, comments and indentation.
Q.1.1 Write the pseudocode that will accurately represent the application you are designing.  Half of Pseudocode has been done in picture.

21:02 M B AOD
PRLD Assignment (1).txt
content:
Start
Declare constant
CAMPUS_CAPACITY=300
Declare array names
Declare array times
Declare array temperatures
Declare variable counter
= 0
Declare variable choice
- 1
while choice <> 3
Print "1. Add a new
student"
Print "2. Show all
students"
Print "3. Exit"
Print "Your choice:
Read choice from the
keyboard
if choice = 1
if
counter<CAMPUS_CAPACITY
Read the
student name from the keyboard
Read the
student hours from the keyboard
Read the
student minutes from the keyboard
Read the
student temperature from the keyboard
if
temperature >= 38 or temperature < 34
Print "The student's temperature is 38
degrees or more, he/she will not be allowed
entry into the campus.");
else if
hour < 1 or minutes < 0 or hour > 12 or
minutes > 59
Print "No student should be allowed access
to the campus after 12h00 in the
afternoons.
Transcribed Image Text:21:02 M B AOD PRLD Assignment (1).txt content: Start Declare constant CAMPUS_CAPACITY=300 Declare array names Declare array times Declare array temperatures Declare variable counter = 0 Declare variable choice - 1 while choice <> 3 Print "1. Add a new student" Print "2. Show all students" Print "3. Exit" Print "Your choice: Read choice from the keyboard if choice = 1 if counter<CAMPUS_CAPACITY Read the student name from the keyboard Read the student hours from the keyboard Read the student minutes from the keyboard Read the student temperature from the keyboard if temperature >= 38 or temperature < 34 Print "The student's temperature is 38 degrees or more, he/she will not be allowed entry into the campus."); else if hour < 1 or minutes < 0 or hour > 12 or minutes > 59 Print "No student should be allowed access to the campus after 12h00 in the afternoons.
21:03 B A 0 ?
PRLD Assignment (1).txt
content:
Print "The student's temperature is 38
degrees or more, he/she will not be allowed
entry into the campus.");
else if
hour < 1 or minutes < 0 or hour > 12 or
minutes > 59
Print "No student should be allowed access
to the campus after 12h00 in the
afternoons."
else
Add
information about student to arrays
counter=counter+1
else
Print "The capacity of campus has been
reached."
else if choice == 2
for i = 0
to counter
Print "The student name:
+ names (i)
Print "The student time:
+ times(i)
Print "The student temperature:
temperatures(i)
+
else if (choice
%3D
3)
else
Print
"Select correct menu item."
Stop
Transcribed Image Text:21:03 B A 0 ? PRLD Assignment (1).txt content: Print "The student's temperature is 38 degrees or more, he/she will not be allowed entry into the campus."); else if hour < 1 or minutes < 0 or hour > 12 or minutes > 59 Print "No student should be allowed access to the campus after 12h00 in the afternoons." else Add information about student to arrays counter=counter+1 else Print "The capacity of campus has been reached." else if choice == 2 for i = 0 to counter Print "The student name: + names (i) Print "The student time: + times(i) Print "The student temperature: temperatures(i) + else if (choice %3D 3) else Print "Select correct menu item." Stop
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning