Wednesday, November 5, 2014

Practical Test Dates - Test 4

4A - Cycle 8 Day 3
4B - Cycle 8 Day 5
4C - Cycle 8 Day 4
4D - Cycle 8 Day 5

The practical test is on Loops. (Both For and While)
To help you practice, solve the following problems:
  1. Calculate and output the largest of ten numbers entered.  After solving as a for loop, convert to a while loop terminated by the letter Z.
  2. John and Jacob are running or Student Council President.  Determine and output the winner after all 640 students have voted.
  3. Entrance fees to Altun Ha are $10.00 for Belizeans and $20.00 for non-Belizeans.  Calculate and output the total revenue earned from a group of people entering Altun Ha.  Determine and output the number of Belizeans who are in the group.

No comments:

Post a Comment