Complementing Boolean expressions & writing asserts for testing; Intro Java course Lesson 3 Video 6

DesignCodeDebugRepeat
DesignCodeDebugRepeat
33 بار بازدید - ماه قبل - This series of videos is
This series of videos is suitable for programmers with minimal (or no) programming experience who want to learn Java.  This is the fifteenth video in the Introductory Java series, and the sixth video in lesson 3 (branching).  In this video we're going to look at complementing a Boolean expression (which is how you know when an else is executing), and using complements combined with assert statements for testing.

There is a suggested (free) book below that you could read along with the videos lessons.  However, the video is very straightforward and can also stand alone or accompany any other introductory Java textbook.  Let's have some fun learning to program in Java!

PLAYLIST

Introduction to Programming in Java, ...

BOOK AND WEBSITE RESOURCES

This video is suitable to watch after reading Chapters 2 and 3 of Introduction to Programming Using Java, by David J. Eck:
https://math.hws.edu/eck/cs124/downlo...

The Elements of Java Style text is available here*:
https://amzn.to/4c2gn8H
*As an Amazon Associate I earn from qualifying purchases. Your purchases help me continue to bring you content!

The Open JDK page is here:
https://jdk.java.net/

The Eclipse IDE page is here:
https://eclipseide.org/

PRACTICE

You can practice writing the complements/assert statements from the video here*:
https://codecheck.io/files/2406151212...

*The CodeCheck system courtesy of Cay Horstmann, https://horstmann.com/codecheck/

If you want to earn credit for learning to code, take an online course at CCRI!  These videos are part of the Java Programming course:
https://ccri.edu/comp/

GET THE CODE

The github repository with all of the code examples for Lesson 3 is here:
https://github.com/ProfessorBurke/Jav...

RESOURCE ATTRIBUTIONS

Java JDK image from Oracle:
https://www.oracle.com/java/technolog...

Java coffee cup image:
By Mark Anderson (work for hire for Sun Microsystems) - http://www.logoeps.com/java-eps-vecto..., Fair use, https://en.wikipedia.org/w/index.php?...

C02 monitor image retrieved from:
https://commons.wikimedia.org/wiki/Fi...
by Mcbdixon, https://creativecommons.org/publicdom...

Bottom part of stage, TV, and original Bot Droid image generated by NightCafe and edited in Photoshop

Static video by vecteezy, retrieved from:
https://www.vecteezy.com/video/224791...

Morse code sound effect retrieved from:
https://pixabay.com/sound-effects/sea...

Sine wave "Sound waves collection" retrieved from:
https://www.freepik.com/free-photos-v...

Photo of Augustus DeMorgan in the public domain
https://en.wikipedia.org/wiki/Augustu...
By Sophia Elizabeth De Morgan - Memoir of Augustus De Morgan, Public Domain, https://commons.wikimedia.org/w/index...

Here is the static sound from Pixabay:
https://pixabay.com/sound-effects/int...


00:00 Welcome, what we've covered and what's in this video
00:35 Definition of a complement
01:02 Play Name That Complement
04:42 Complementing relational operators
05:40 Complementing logical operators with DeMorgan's theorem
08:23 Assert statements and testing
ماه قبل در تاریخ 1403/04/15 منتشر شده است.
33 بـار بازدید شده
... بیشتر