Thursday, April 22, 2010
Wednesday, April 21, 2010
What you need to know for the test on Turing Selection
On Thursday, April 22 there will be a test on Chapter 9 of the Turing textook (Selection). You will be asked to write four programs in Turing.
You need to know:
1- the if construct - including elsif
2. finding large and smallest of input numbers of strings
3. the case construct
You need to know:
1- the if construct - including elsif
2. finding large and smallest of input numbers of strings
3. the case construct
Monday, April 12, 2010
Turing in-class assignment - Selection using the case construct
Create a Turing program named after yourself (e.g. HannahM_SelectionCase). The program asks the user to choose their favourite sport from a menu of four sports. The program then gives a different reponse (e.g. "Great choice! Hockey is Canada's most popular sport.") for each sport. Use a case construct with string input. When finished, copy your file to the Dropoff Folder (Jarvis / Dropoff / Schreiber / ICS2O1).
Subscribe to:
Posts (Atom)