This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Boolean Logic in Alice An Introduction to Programming with Alice Boolean Functions
Boolean Functions
Functions in Alice that return
Functions
true or false values are
called Boolean functions.
called
Alice has many such builtin
Alice
functions, such as these two
groups of basic Boolean
functions and comparison
functions.
functions. They can be found on
the world’s functions tab They are used inside branching
and looping instructions Boolean Functions
Boolean Functions
The Boolean comparison
The
functions can be used to
create simple true or false
conditions.
conditions. Boolean Functions
Boolean Functions
The Boolean logic functions
The
can be used to create
compound conditions.
compound Boolean Functions
Boolean Functions
Alice has many other
Alice
worldlevel and objectworldlevel
llevel methods that return
evel
true or false values, such
as the Boolean proximity
functions shown here on
aliceLiddel’s functions tab
in the details area.
in Boolean Functions
Boolean Functions They can be used anywhere that a Boolean
They
value is needed, such as in this If/Else
command.
command. ...
View
Full
Document
This note was uploaded on 10/17/2011 for the course CIS 106 taught by Professor Alice during the Spring '11 term at Community College of Philadelphia.
 Spring '11
 Alice

Click to edit the document details