1. Determine number of operations for following code fragments :