CMM5321 Advanced Programming


Tutorial and Laboratory Exercise

Last updated : 21 May, 2002

Tutorial and Lab Ex. 1

Tutorial and Lab Ex. 2

Tutorial and Lab Ex. 3 - 4  
    (Ex 4 Solution) 
    (Chapter 4 Exercise Solution) 

Supplementary Exercise 

1.    Ex. 4_9 

2.    Redo Ex.4_10 by using an instantible CoffeeBag class and compute the total price of 4 bags of different coffee:

     Bag 1:  Price per pound - 20.5, weight - 2.5 lbs

     Bag 2:  Price per pound - 11.8, weight - 2 lbs

     Bag 3:  Price per pound - 5.5, weight - 3.5 lbs

     Bag 4:  Price per pound - 10.0, weight - 4 lbs

 

Tutorial and Lab Ex. 5 - 9
(Ex 5 Solution) 
(Ex 6-21 Solution) 
(Ex 6-23 Solution)
(Ex 6-23 Solution using ResponseBox and a Loop, can be used as an example for Chapter 7)
(Ex 8 Solution) 
(Ex 9 Solution) 
 
Tutorial and Lab Ex. 10
       (Ex 10 Solution) 
 
Tutorial and Lab Ex. 11-13  
(Ex 11 Solution)   
(Ex 12 Solution)   

Tutorial and Lab Ex. 14
       14.3, 14.8, 14.12

       (Ex 14 Solution)  new      
 
Tutorial and Lab Supp Ex. 1
       (Supp Ex. 1 Solution)  new      
 
Tutorial and Lab Supp Ex. 2
       (Supp Ex. 2 Solution)  new      
 
Tutorial and Lab Supp Ex. 3
       (Supp Ex. 3 Solution)  new      

Return to main page