CS 99

Fundamental Programming Concepts
Summer 2000

Lab 5 Grading

Part Points
CoinToss 10
  • Correctness (10 points)
    • 6 points for getting output of about 50/50, and thus fairly representing heads/tails, implementing random number generation, and using the loop correctly
    • 2 points for validating number of tosses >= 1
    • 2 points for correct output format (includes # tosses and percentage)
 
Triangles 10
  • Correctness (5 points)
    • 3 points for each correct patterns (test sizes = 2, 3, 4)
    • 2 points for validating size >= 2
    • -3 for using any print statements other than those listed
  • Style (5 points)
    • 5 points for correct indentation and consistent bracing of loops
 
Total 20

General comments: