You are on page 1of 3

1.

Draw a flowchart that reads the names, gender and age of 500 students and
outputs the names of the female students younger than 19 years and how many
they are

2. Determine the output in the following flowchart if the inputs are


a. x = 2 ; y = 5
b. x = 2 ; y = 12
c. x = 25 ; y = 22
3. Draw a flowchart that solve a quadratic equation and outputs the solution if there is but
gives a reasonable response if there is no solution.

4. There are 500 numbers on a list. Draw a flow chart that reads each number and outputs
the average of only the even numbers.

5. The monthly charge for local telephone calls is as follows:

$8.00 for up to 100 local calls

plus 6c per call for any of the next 100 local calls

plus 4c per call for any local calls beyond 200

Draw a flow chart with input the number of local calls of only one client and output
charge. (Class activity)
6. Repeat question 5 above for 1000 clients. This time, output should include the clients’
names.

7. Repeat question 5 above for 1000 clients. This time, output should include the clients’
names and how many clients fall into the call categories 0 – 100, 101 – 200, above 200.

You might also like