Counting Procedures
Counting Procedures
Straight-Line Code:
Simply Count the operations you see
Assume basic operation is addition
a := b + c - d
c := x+5
d := d * 3
e := e + 1
Total Operations = 3
Previous slide
Next slide
Back to the first slide
View Graphic Version