What is your course grade average? How many days were you absent from class? Average <91 No Average <93 No -No Days absent >3 exempt_from_final= False No exempt_from_final= True exempt from final= True You are exempt from the final exam No You must take the final exam for the course What is your course grade average? 88 How many days were you absent from class? 2 You must take the final exam for the course. Press any key to continue -Yes- Days -Yes->> absent >1 -Yes- exempt_from_final= False -Yes- exempt_from_final= False exempt_from_final= True -Yes-
What is your course grade average? How many days were you absent from class? Average <91 No Average <93 No -No Days absent >3 exempt_from_final= False No exempt_from_final= True exempt from final= True You are exempt from the final exam No You must take the final exam for the course What is your course grade average? 88 How many days were you absent from class? 2 You must take the final exam for the course. Press any key to continue -Yes- Days -Yes->> absent >1 -Yes- exempt_from_final= False -Yes- exempt_from_final= False exempt_from_final= True -Yes-
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Use C++ Language
Create a
exam. This decision depends on the course grade average and the student’s attendance. Use the flow chart
below for the final exam criteria.

Transcribed Image Text:### Decision-Making Process for Final Exam Exemption
This flowchart illustrates the criteria used to determine whether a student is exempt from the final exam based on their course grade average and attendance.
1. **Initial Query:**
- **Course Grade Average**: The process starts by asking, "What is your course grade average?"
2. **First Decision Point:**
- If the **average grade is less than 91**, then the student is **not exempt (exempt_from_final = False)**.
- If the **average grade is 91 or above**, proceed to the next decision point.
3. **Second Decision Point:**
- For students with an **average grade of 91 or above**, it next checks, "How many days were you absent from class?"
4. **Third Decision Point:**
- If the average grade is **less than 93**, then the student must have **1 or fewer absences** to be exempt.
- If the **days absent > 1**, the student is **not exempt (exempt_from_final = False)**.
- If the **days absent ≤ 1**, the student **is exempt (exempt_from_final = True)**.
- If the average grade is **93 or above**, it next checks the number of absences.
5. **Absenteeism Check:**
- If the student has been absent for more than 3 days, they are **not exempt (exempt_from_final = False)** no matter their average.
- If the student has been absent for **3 or fewer days**, they are **exempt (exempt_from_final = True)**.
6. **Final Determination:**
- If the student is **exempt_from_final = True**, then they are **exempt** from the final exam.
- If the student is **exempt_from_final = False**, they must take the final exam.
### Example Case:
- **Course Grade Average: 88**
- **Days Absent: 2**
The messages given are:
1. "What is your course grade average? 88"
2. "How many days were you absent from class? 2"
3. "You must take the final exam for the course. Press any key to continue."
In this scenario:
- Since the grade average (88) is less than 91, the student is not exempt and must take the final exam.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images

Knowledge Booster
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.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education