Assignment - Flowchart
Assignment - Flowchart
Assignment – 7 Flowchart
4. Lengths of three sides of a triangle a, b, c are given as input. Draw a flowchart to find
if the triangle is isosceles, equilateral, or scalene.
Hint: In an equilateral triangle three sides are equal.
In an isosceles triangle two sides are equal.
In a scalene triangle three sides are not equal.
CEMPAKA INTERNATIONAL SCHOOL, DAMANSARA HEIGHTS
Computer Science Assignment – Flowchart
Complete the following table showing the expected output from the flowchart for the
three sets of input data.
Input X Output S
48
9170
-800
CEMPAKA INTERNATIONAL SCHOOL, DAMANSARA HEIGHTS
Computer Science Assignment – Flowchart
8. The following empty flowchart gives the steps to be followed while seeking
admission to new school. The phrases to be filled in the boxes are also given.
Complete the flowchart by filling in the number of the corresponding phrase, inside
each box.
For example: the number corresponding to the first box in the flowchart is 7.
1. Search for a school
2. Prepare for the admission test and write the test.
3. Did you pass the exam?
4. Submit necessary documents and get admission.
5. End
6. Are seats available?
7. Start
8. Is there an admission test?
CEMPAKA INTERNATIONAL SCHOOL, DAMANSARA HEIGHTS
Computer Science Assignment – Flowchart