<< Chapter < Page Chapter >> Page >

Summary

I provided an explanation of logical operators and truth tables. Then I presented and explained a Scratch program that illustrates the use of thelogical and , or , and not operators when used in conjunction with relational operators.

Finally, I provided the specifications for two student-programming projects for you to demonstrate your understanding of what you learned from the firstprogram and from earlier modules. One of the student-programming projects is relatively difficult requiring an understanding of DeMorgan's theorem (see Resources ) .

Copies of all three programs have been posted online for your review (see Resources for the URL) . If you don't find the program using that URL, search the Scratch site for the usernamed dbal.

What's next?

Future modules using the Scratch programming language will continue to deal with selection and will also deal with loops .

Resources

General resources

Programs used in this collection

Miscellaneous

This section contains a variety of miscellaneous information.

Housekeeping material
  • Module name: Scr0360: Logical Operators in Scratch 2.0
  • File: Scr0360.htm
  • Published: 05/16/13
Disclaimers:

Financial : Although the Connexions site makes it possible for you to download a PDF file for thismodule at no charge, and also makes it possible for you topurchase a pre-printed version of the PDF file, you should be aware that some of the HTML elements in this module may not translate well intoPDF.

I also want you to know that, I receive no financial compensation from the Connexions website even if you purchase the PDF version of the module.

In the past, unknown individuals have copied my modules from cnx.org, converted them to Kindle books, and placed them for sale on Amazon.com showing me as the author. Ineither receive compensation for those sales nor do I know who does receive compensation. If you purchase such a book, please beaware that it is a copy of a module that is freely available on cnx.org and that it was made and published withoutmy prior knowledge.

Affiliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX.

-end-

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Teaching beginners to code. OpenStax CNX. May 27, 2013 Download for free at http://cnx.org/content/col11498/1.20
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Teaching beginners to code' conversation and receive update notifications?

Ask