CP104 Lecture Notes - Lecture 5: Boolean Expression

31 views1 pages
School
Course
Professor
hayjayshay and 38575 others unlocked
CP104 Full Course Notes
2
CP104 Full Course Notes
Verified Note
2 documents

Document Summary

Used to create a decision structure which allows a program to have more than 1 path of execution. If statement causes 1 or more statements to execute only when a boolean expression is true. Control structure: a logical design that controls the order in which a set of statements executes. Sequence structure: code executes in order as it appears. Insert code here (cid:858)david(cid:859) != (cid:858)david(cid:859) != (cid:858)david(cid:859) Nested decision structure: essentially checking more than 1 condition in order. Ex) university requires that you take gr 12 english and that you got at least 70% in it.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents