SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Boolean Logic  in Alice
Boolean Functions Functions in Alice that return true or false values are called Boolean functions. Alice has many such built-in functions, such as these two groups of basic Boolean functions and comparison functions.
They can be found on  the world’s functions tab
They are used inside branching and looping instructions
Boolean Functions The Boolean comparison functions can be used to  create simple true or false conditions.
Boolean Functions The Boolean logic functions can be used to  create compound conditions.
Boolean Functions Alice has many other world-level and object-level methods that return true or false values, such as  the Boolean proximity functions shown here on aliceLiddel’s functions tab in the details area.
Boolean Functions They can be used anywhere that a Boolean value is needed, such as in this If/Else command.

Weitere ähnliche Inhalte

Mehr von Chaffey College (20)

Social networks and games
Social networks and gamesSocial networks and games
Social networks and games
 
Serious games
Serious gamesSerious games
Serious games
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
Chapter 03
Chapter 03Chapter 03
Chapter 03
 
The games factory 2 alien wars
The games factory 2 alien warsThe games factory 2 alien wars
The games factory 2 alien wars
 
Target markets
Target marketsTarget markets
Target markets
 
Ch 8 introduction to data structures
Ch 8 introduction to data structuresCh 8 introduction to data structures
Ch 8 introduction to data structures
 
Ch 8 data structures in alice
Ch 8  data structures in aliceCh 8  data structures in alice
Ch 8 data structures in alice
 
Ch 7 recursion
Ch 7 recursionCh 7 recursion
Ch 7 recursion
 
Intro to gml
Intro to gmlIntro to gml
Intro to gml
 
Power point unit d
Power point unit dPower point unit d
Power point unit d
 
Power point unit c
Power point unit cPower point unit c
Power point unit c
 
Power point unit b
Power point unit bPower point unit b
Power point unit b
 
Power point unit a
Power point unit aPower point unit a
Power point unit a
 
Gamegraphics
GamegraphicsGamegraphics
Gamegraphics
 
Gamesound
GamesoundGamesound
Gamesound
 
Ch 6 text and sound in alice
Ch 6 text and sound in aliceCh 6 text and sound in alice
Ch 6 text and sound in alice
 
Ch 5 boolean logic
Ch 5 boolean logicCh 5 boolean logic
Ch 5 boolean logic
 
Ch 5 boolean logical in alice
Ch 5  boolean logical in aliceCh 5  boolean logical in alice
Ch 5 boolean logical in alice
 

Ch 5 boolean logical in alice

  • 1. Boolean Logic in Alice
  • 2. Boolean Functions Functions in Alice that return true or false values are called Boolean functions. Alice has many such built-in functions, such as these two groups of basic Boolean functions and comparison functions.
  • 3. They can be found on the world’s functions tab
  • 4. They are used inside branching and looping instructions
  • 5. Boolean Functions The Boolean comparison functions can be used to create simple true or false conditions.
  • 6. Boolean Functions The Boolean logic functions can be used to create compound conditions.
  • 7. Boolean Functions Alice has many other world-level and object-level methods that return true or false values, such as the Boolean proximity functions shown here on aliceLiddel’s functions tab in the details area.
  • 8. Boolean Functions They can be used anywhere that a Boolean value is needed, such as in this If/Else command.

Hinweis der Redaktion

  1. The Redo button will reverse the last use of the Undo button, restoring the previous action. The Ctrl-Y keyboard shortcut also can be used in place of the Redo button.
  2. The Redo button will reverse the last use of the Undo button, restoring the previous action. The Ctrl-Y keyboard shortcut also can be used in place of the Redo button.
  3. The Redo button will reverse the last use of the Undo button, restoring the previous action. The Ctrl-Y keyboard shortcut also can be used in place of the Redo button.
  4. The Redo button will reverse the last use of the Undo button, restoring the previous action. The Ctrl-Y keyboard shortcut also can be used in place of the Redo button.
  5. The Redo button will reverse the last use of the Undo button, restoring the previous action. The Ctrl-Y keyboard shortcut also can be used in place of the Redo button.
  6. The Redo button will reverse the last use of the Undo button, restoring the previous action. The Ctrl-Y keyboard shortcut also can be used in place of the Redo button.
  7. The Redo button will reverse the last use of the Undo button, restoring the previous action. The Ctrl-Y keyboard shortcut also can be used in place of the Redo button.