# Class 09: Boolean Values and Predicates

Back to Procedure Definitions. On to Conditionals.

This outline is also available in PDF.

Held: Friday, 8 September 2006

Summary: Today we explore Boolean values and the core opeartions on Boolean values.

Related Pages:

Due

• HW4.

Assignments

Overview:

• The Components of an Algorithm, Revisited.
• Lab.

## The Components of an Algorithm, Revisited

• Recall that we've decided that to write algorithms, you benefit from the following tools.
• Basic values and operations on those values.
• The ability to name values.
• A way to sequence operations.
• Conditionals that permit you to decide between choices.
• Loops that let you repeat work.
• Subroutines that let you parameterize and name portions of an algorithm.
• Before today, we knew some, but not all of these things.
• Basic values and operations: For numbers, strings, symbols, and lists.
• Sequencing: Explicit in the sequence from the definitions window, implicit in the evaluation of expressions.
• Conditionals: Not yet covered.
• Looping: Not yet covered.
• Subroutines: Procedures.
• After the Boolean reading, what can we add to that list?

## Lab

Back to Procedure Definitions. On to Conditionals.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Thu Nov 30 21:43:21 2006.
The source to the document was last modified on Mon Sep 4 08:43:32 2006.
This document may be found at `http://www.cs.grinnell.edu/~rebelsky/Courses/CS151/2006F/Outlines/outline.09.html`.

You may wish to validate this document's HTML ; ;

Samuel A. Rebelsky, rebelsky@grinnell.edu

Copyright © 2006 Samuel A. Rebelsky. This work is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. To view a copy of this license, visit `http://creativecommons.org/licenses/by-nc/2.5/` or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.