TY - JOUR AU - Jin, Wei PY - 2023/01/08 Y2 - 2024/03/28 TI - Structure Decision for If Statement: CS1 / Java JF - POGIL Activity Clearinghouse JA - PAC VL - 3 IS - 4 SE - DO - UR - https://pac.pogil.org/index.php/pac/article/view/295 SP - AB - <p>Very often there are several ways to solve a problem that requires the use of an if statement. This activity is designed to help students become familiar with this issue and make decisions to choose the best structure in terms of both correctness and code efficiency. Students should have learned Boolean expressions. Students should also have learned the syntax of if statements, including single-branch if statements, if-else statements, and multi-branch if statements. (This activity can also be used to introduce if statements as long as adequate time is allocated.)</p><p>This activity was developed with NSF support through IUSE-1626765. You may request access to this activity via the following link:&nbsp;<a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fdrive%2Ffolders%2F1yqQI95OIRb2tEJRPm8PGIaTaDAVutUZw%3Fusp%3Dshare_link&amp;data=05%7C01%7Ceileen.kowalski%40westpoint.edu%7C7d71bbd1b0004e5364d808dad96319e8%7C99ff8811351740a9bf1045ea0a321f0b%7C0%7C0%7C638061316929175070%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=bw0xJO1uZ1R87NvfAsueG9QDonAeroYs%2FpPrq9Aqxj8%3D&amp;reserved=0">IntroCS-POGIL Activity Writing Program</a>.&nbsp;</p><p><strong>Level:&nbsp;</strong>Undergraduate<br><strong>Setting:&nbsp;</strong>Laboratory<br><strong>Activity Type:&nbsp;</strong>Learning Cycle<br><strong>Discipline</strong>: Computer Science<br><strong>Course</strong>: CS1 / Java<br><strong>Keywords</strong>: if statement</p> ER -