Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create a flowchart for the given information 2. College Tuition. Assume you have been asked to develop an algorithm to calculate the price of tuition

image text in transcribed
image text in transcribed
image text in transcribed
create a flowchart for the given information
2. College Tuition. Assume you have been asked to develop an algorithm to calculate the price of tuition for incoming college students. An example spreadsheet is given and described below. Inputs Initial Cost of Tuition Variable Names ICT Amounts $5,000 Student Lives In-state? Instate Scholarship? Scholarship Calculate Total Tuition Amount TTA There are two variables that affect the price of tuition: (1) a $1,000 scholarship that students may have received and (2) whether the student lives in-state or out-of-state of the school. The initial cost of tuition before any deductions is $5,000. In each case, a check is placed in the appropriate box in the spreadsheet to the right. When a checkbox is checked, it reflects that the student has a scholarship or lives in-state (is True, in Boolean terms). When the checkbox is not checked, it reflects that the student does not have a scholarship or lives out-of-state (is False, in Boolean terms). One or both discounts can be selected. Assume that your algorithm will only be used when at least one of the discounts apply. In other words, you don't have to account in your algorithm for the case where neither discount applies. In other words, all students that live out of state received the $1,000 scholarship and anyone who didn't receive the scholarship lives in-state. The table below shows the ONLY THREE scenarios your flowchart needs to handle. Scenario - Variable Name Discount Type Received Scholarship Scholarship True False True Lives In-State Instate False True True Whether the student gets a scholarship (Scholarship = True or False) and whether or not the student lives in state (Instate - True or False) are inputs for each student (i.e. pass through the flowchart). The university financial office adds a checkmark to the Setup section for all the students that received the $1,000 scholarship. The financial office then adds a checkmark if the student lives in or out of state. The initial cost of tuition for all students is $5,000. If the student lives in state, the student's tuition is $3,500. Any students that received the scholarship will pay $1,000 less of the final total (i.e. in-state students pay $2,500 and out-of-state students would pay $4,000). When you design your flowchart, assume that the variables Scholarship and Instate are Boolean variables (They can only be True or False). Your flowchart should process first whether the student received the scholarship then second whether they live in-state or not. In Scenario 1, the student did receive the scholarship and lives out-of-state. In scenario 2, the student did not receive the scholarship and lives in-state. In scenario 3, the student received the scholarship and lives in-state. Variable Scenario Name Initial Cost of Tuition ICT $5,000 $5,000 $5,000 Received Scholarship Amount SAmount ($1,000) 0 ($1,000) ($1,500) ($1,500) Lives in State Discount Total Tuition Amount State Discount TTA $4,000 $3,500 $2,500

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

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

Understand the process of arbitration

Answered: 1 week ago

Question

Know the different variations of arbitration that are in use

Answered: 1 week ago