Functional Problem Solving (CSC 151 2015F) : Outlines
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Taking Notes] [Rubric] [Remote Access]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Labs] [Outlines] [Readings] - [Examples] [Handouts]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Curtsinger (2015F)] [Davis (2013F)] [Rebelsky (2015S)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
Held: Wednesday, 4 November 2015
Back to Outline 35 - Pause for Breath. On to Outline 37 - Pairs and Pair Structures.
Summary
We consider Scheme's random procedure, how one might use that procedure
in writing simple simulations, and how the procedure can be used to
generate "unpredictable" images.
Related Pages
Overview
random procedure.Administrivia
repeat and for-each.random Procedure(random n) procedure.n must be a positive integer.random returns an integer between 0 and n-1,
inclusive.