Docsity

CS Course Information and Puzzles for First Semester Students, Lecture notes of Computer Security

Partial preview of the text

Download CS Course Information and Puzzles for First Semester Students and more Lecture notes Computer Security in PDF only on Docsity!

Some logistics ...

 (^) Textbook: Savitch, Absolute Java, Third Edition.

 (^) No practical sessions next week

 (^) Orientation on friday 20 feb for 1015

Puzzle 1

 (^) You live in digs with 2 classmates. Only you

have a car – a very small car that seats exactly 2 people! After a long first day at UCT, all of you meet in the carpark but you realise you need to make multiple trips to get everyone home. Also, you invited a girl you fancy to show her the area you live in. However, the young lady insists that you do not leave her alone with any of your mates. How will you get everyone home?

Puzzle 2

 (^) You have just moved into Tugwell and

discovered that there are 3 light switches on the first floor that control 3 floor lamps on the 10 th^ floor. How can you determine which switch controls which light by making only one trip to the 10th^ floor?