Transcription of CHAPTER 18 Programming Your App to Make Decisions ...
{{id}} {{{paragraph}}}
Figure 18 Programming your App to Make Decisions :Conditional BlocksComputers, even small ones like the phone inyour pocket, are good at performing millions ofoperations in a single second. Even moreimpressively, they can also make Decisions basedon the data in their memory banks and logicspecified by the programmer. This decision-makingcapability is probably the key ingredient of whatpeople think of as artificial intelligence, and it sdefinitely a very important part of creating smart,interesting apps! In this CHAPTER , we ll explore how to build this decision-making logic intoyour 18-2. An event handler thattests for a condition and branchesaccordinglyChapter 14 discusses how an app s behavior isdefined by a set of event handlers.
Figure 18-1. CHAPTER 18 Programming Your App to Make Decisions: Conditional Blocks Computers, even small ones like the phone in your pocket, are good at performing millions of
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}