Difference between revisions of "CSC103: DT's Notes 1"

From dftwiki3
Jump to: navigation, search
Line 840: Line 840:
 
   31  Move to next person
 
   31  Move to next person
  
 +
See where we're going?  For this prof, the task of managing this conversation with the whole class (granted, it won't be a very original conversation) requires a few steps:
  
 +
# pick the first person in the class (the one associated with Number 0).
 +
# say a few mondane sentences to this person ("hello")
 +
# move to the next person
 +
# repeat the same conversation with this person.
 +
 +
Think a bit about this and see if you can come up with a ''algorithm'' or ''program'' that will allow for this conversation to take place.
 +
 +
Figured it out?
 +
 +
Ok, here's one possible answer.
 +
 +
  0:
  
  

Revision as of 20:26, 3 October 2012

--© D. Thiebaut 08:10, 30 January 2012 (EST)



This section is only visible to computers located at Smith College













.