Novio, Sofia Zennia D.
EIT 0121.1
BSChE 2-1
1. Draw a flowchart that will display Pamantasan ng Lungsod ng Maynila.
Begin
Display “Pamantasan ng
Lungsod ng Maynila”
End
2. Draw a flowchart that will compute for the sum of two number.
A
Begin
Compute the sum
Input two numbers (sum=num1+num2)
(num1,num2)
A Display sum
End
3. draw a flowchart that will prompt the user to input the following details:
Name:
Address:
Age:
Course:
Year Level
Begin
Input name(name)
Display name
Input
address(address)
Display address
Input age(age)
Display age
Input
course(course)
A
A
Display course
Input year
level(year_level)
Display year_level
End
4. Draw a flow chart that will determine if the input age is qualified to vote or not. If the
input age is greater than or equal to 18, display “You are qualified to vote” else display “You
are not qualified to vote.
Begin
Input age(age)
If age Y Display “You are
>= 18 qualified to vote”
Display “You are
not qualified to End
vote”
5. Draw a flowchart that will determine the year level of a student based on the following
entries:
1 – Freshman
2 – Sophomore
3 – Junior
4 – Senior
Begin
Input year
level(year_level)
If
year_level == 1 Y Display “Freshman”
If
year_level == 2
Y Display “Sophomore”
If
year_level == 3 Y Display “Junior”
If
year_level == 4
Y Display “Senior”
End