Foundation Programming Assessment 1 Flowcharting & Pseudocoding Project DirectionsThis flowcharting & pseudocoding project is the first assessment for this subject.It is worth 25% of your total...

1 answer below »
I have uploaded a file


Foundation Programming Assessment 1 Flowcharting & Pseudocoding Project DirectionsThis flowcharting & pseudocoding project is the first assessment for this subject.It is worth 25% of your total assessment. You are required to prepare a project document by addressing the requirements of each task using conventions and symbols in designing a flowchart and pseudocode. All work must be completed individually.If parts or the whole answer for this assessment that you submit is not your own work, you will receive ZERO.Present your answers in a professional looking document with a necessary cover page.Submit your answers to Canvas in PDF format, using the following STRICT filename convention.StudentNumber_FirstName_LastName_Assessment1.pdfExample: 1234_John_Doe_Assessment1.pdf Due date – Week 6 - Friday, 11:59 PM. A late penalty of 5% of the total value for that taskwill be applied for each complete day it is overdue. Task 1Draw a flowchart and write pseudocode for each of the following scenarios for the ABC College: a. The current annual matriculation fee is $12,000.00 and it is expected to increase by 5% each year. Show the matriculation fee for the next 10 years. b. Revise (a) so that the user can enter the rate of increase, instead of having it set at 5%. c. Revise (a) so that the user enters the rate of increase for the first year and it then increases by 0.3% each subsequent year. Task 2 A. Draw a flowchart and write pseudocode that describes the process of guessing a number between 1 and 100 inclusive. After each guess, the player is told that the guess is lower or higher than the number. The process continues until the player guesses the correct number. B. Modify your flowchart and pseudocode of A so that the player is only allowed five(5) guesses before revealing the correct number. Task 3 Page 1 of 5 Foundation Programming Assessment 1 Flowcharting & Pseudocoding Project Design a flowchart and write a pseudocode to compute pay for employees. The program asks the user to enter the employee’s names until a sentinel value is entered. The program also asks for the employee’s hourly rate and hours worked to compute and display the corresponding gross pay. Use the table below to compute net pay and the withholding tax amount.Weekly Gross Pay ($) Withholding Rate (%)0.00 – 400.00 10400.01 – 600.00 12600.01 – 800.00 14800.01 and more 17After the last employee has been entered, display the sum of all the hours worked, the total gross payroll, the total withholding for all employees, and the net payroll. Task 4Given the flowchart below, what will be the final value of variable A if the following values for variable X are entered by the user: a. 7 b. 10Show the values of all variables as you perform hand tracing.Assuming the user entered 4 for variable X, determine what would happen if after executing the process C = C + 1, the next step is directed to the process R = X % C insteadof testing the condition IF C <= x?="" support="" your="" answer.write="" an="" equivalent="" pseudocode="" of="" the="" flowchart.="" page="" 2="" of="" 5="" foundation="" programming="" assessment="" 1="" flowcharting="" &="" pseudocoding="" project="" page="" 3="" of="" 5="" foundation="" programming="" assessment="" 1="" flowcharting="" &="" pseudocoding="" project="" task="" 5given="" the="" pseudocode="" below.="" what="" will="" be="" shown="" as="" the="" final="" values="" of="" variable="" x,="" y="" and="" z="" if="" the="" following="" were="" entered="" respectively?="" a.="" x="3," y="4," z="5" b.="" x="9," y="7," z="4Show" how="" you="" arrived="" at="" your="" final="" answers="" by="" showing="" the="" values="" of="" the="" variables="" as="" a="" result="" of="" hand="" tracing.="" begin="" declare="" x="0," y="0," z="0" input="" x,="" y,="" z="" if="" x=""> y IF x > z x = x + z x = z – x z = z – x ELSE IF y > z y = y + z y = z – y z = z – x x = y * z y = x * z z = x * y DISPLAY x, y, z END Task 6 Page 4 of 5 Foundation Programming Assessment 1 Flowcharting & Pseudocoding Project This pseudocode segment is intended to compute and display the average grade of threetests for any number of students. The program executes until the user enters a negative value for the first test score.Debug the pseudocode by rewriting it to achieve its intended purpose. start Declarations num test1 num test2 num test3 num average housekeeping() while test1 >= 0 mainLoop() endwhile endOfJob() stop housekeeping() output "Enter score for test 1 or a negative number to quit" return mainLoop() output "Enter score for test 2" input test2 average = (test1 + test2 + test3) / 3 output "Average is ", average output "Enter score for test 1 or a negative number to quit" input tesst1 return endOfJob() output "End of program" return Page 5 of 5
Answered Same DayAug 21, 2021

Answer To: Foundation Programming Assessment 1 Flowcharting & Pseudocoding Project DirectionsThis flowcharting...

Neha answered on Aug 23 2021
147 Votes
43550/StudentNumber_FirstName_LastName_Assessment1.docx
Student Name:
Student Id:
Task 1
a) Pseudocode
void main(){
matriculation fee = 12000.00
increasing rat
e = 5
total = 0
result = (5*12000.00)/100
year_no = 1
for(year_no =1; year_no<=10; year_no++)
{
total = (year_no*600) + 12000.00
print(total)
}
}
Activity Diagram
b) Pseudocode

void main(){
matriculation fee = 12000.00
rate = “Enter increasing rate”
total = 0
result = (rate*12000.00)/100
year_no = 1
for(year_no =1; year_no<=10; year_no++)
{
total = (year_no*result) + 12000.00
print(total)
}
}
Activity Diagram
c) Pseudocode
void main(){
matriculation fee = 12000.00
rate = “Enter increasing rate”
total = 0
year_no = 1
for(year_no =1; year_no<=10; year_no++)
{
year_rate = rate * 0.3
    result = (year_rate * 12,000.00)/100
total = (year_no*result) + 12000.00
print(total)
}
}
Activity Diagram
Task 2
a) Pseudocode
void main(){
guess = 89
number = 0
do
{
number = “Enter your number”
if(number<1 || number>100)
{
if(guess == number)
{
    print(“You guessed the correct number”)
}
else
{
     print(“Sorry! Wrong guess”)
}
}
}while(guess!=number)
Activity Diagram
b) Pseudocode
void main(){
guess = 89
number = 0
i=0
for(i=0;i<5;i++)
{
number = “Enter your number”
if(number<1 || number>100)
{
if(guess == number)
{
    print(“You guessed the correct number”)
}
else
{
     print(“Sorry! Wrong guess”)
}
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here