100% found this document useful (1 vote)
218 views

Flowchart

The document provides 5 flowchart case studies: 1) Increases a number by 5 if greater than 10, otherwise does nothing 2) Increases a number by 5 if greater than 10 or multiplies by 5 if not, and displays the result 3) Prints "Accept" if GPA is 3.0+ and test score is 60+, else prints "Reject" 4) Prints messages based on a 1-3 user input, else prints "Invalid Number" 5) Prints the supervisor's name based on the department number input

Uploaded by

Chan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
218 views

Flowchart

The document provides 5 flowchart case studies: 1) Increases a number by 5 if greater than 10, otherwise does nothing 2) Increases a number by 5 if greater than 10 or multiplies by 5 if not, and displays the result 3) Prints "Accept" if GPA is 3.0+ and test score is 60+, else prints "Reject" 4) Prints messages based on a 1-3 user input, else prints "Invalid Number" 5) Prints the supervisor's name based on the department number input

Uploaded by

Chan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Flowchart Case Study 1: Draw a flowchart that will let the user enter a number

increase the value of a number by 5. If it is greater 10 then display result.


Otherwise, do nothing

START

X=0

Obtain

X > 10 ?

Yes No

x=x+5

Display x

STOP
Flowchart Case Study 2: Draw a flowchart that will let the user enter a number
increase the value of a number by 5. If it is greater 10 and display result;
Otherwise, multiply the value by 5 and display the result.

START

X=0

Obtain

X > 10 ?

Yes No

x=x+5 x=x*5

Display x Display x

STOP
Flowchart Case Study 3: Draw a flowchart for a college's admissions office.
Create variables to store a student's numeric high school grade point average
and an admissions test score. Print the message "Accept" if the student has a
grade point average of 3.0 or above and an admission test score of atleast 60.
If the student does not meet either of the qualification criteria, print the
message "Reject".

START

Average = 0
Score = 0

Obtain

Average and Score

Average >=3. 0
Score >=6 0

Yes No

Print Print
“ Accept” “ Reject”

STOP
Flowchart Case Study 4: Let the user enter a number from 1-3. If the user
inputs a '1', print "Hello", If the user inputs a '2', print "Hi", and If the user
inputs a '3', then print "Bye", otherwise print "Invalid Number".

START

x=0

Enter 1, 2, 3

Yes Yes Yes No

x=1 x=2 x=3 Default

Print Print Print “ Invalid


Print
“ Hello” “ Hi” Number”
“ Bye”

STOP
Flowchart Case Study 5: Create a flowchart that would print the name of the
supervisor under a certain department number.
Department Number Supervisor

1-3 Mr. X

4-7 Mr. Y

8-9 Mr. Z

START

x=0

Enter 1, 2, 3, 4, 5, 6, 7, 8, 9

Yes Yes Yes No

x=1 x=4 x=8


x=2 x=5 Default
x=9
x=3 x=6

Print Print Print Print “ Invalid


“ Mr. X” “ Mr. Y ” “ Mr. Z” Department Number”

STOP
Flowchart
Case Study
By Anjie V. Bogayao
From BAIT 1F

You might also like