Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MIDTERM ACTIVITES
January 2010
WEEK 2 (2 meetings) :
Do(encode) the following projects li¿sted on your book: Project 6-15, 6-16,
6-17, 6-18, 6-19, 6-20, 7-9, 7-10, 7-11, 7-13, 7-14 and 7-19
WEEK 3 (2 meetings) :
Name of script : parkingcharge.sh
Sample run:
$ parkingcharge.sh
The vehicle with plate number XNY-123 was parked for 10 hours and 30
minutes. The parking charge for the vehicle is 150 pesos
Try again? : N
Sample run:
$ parkingcharge.sh
The vehicle with plate number XNY-123 was parked for 0 hours and 30
minutes. The parking charge for the vehicle is 50 pesos
Try again? : N
Note: Make sure the program keeps on repeating until the user enters ‘N’
to quit the program.
WEEK 4 (2 meetings) :
Name of script : unique_users
Create a script that counts the total number of unique users who
are currently logged on to the system. The script should also show the
list of users who are logged on more than once and the number of times
they are logged on to the system.
gepaul 3
susanc 2
it993452 2
it2003452 4
it2018909 3
it999012 2