title: oct 1710:52 am (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardf17/cis120/... ·...
TRANSCRIPT
![Page 1: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/1.jpg)
The first half hour was spentwith students writing thisprogram. I asked people totry it with one IF and three IFs.
Title: Oct 1710:52 AM (1 of 20)
![Page 2: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/2.jpg)
Title: Oct 1711:25 AM (2 of 20)
![Page 3: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/3.jpg)
Title: Oct 1711:29 AM (3 of 20)
![Page 4: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/4.jpg)
Without the parenthesis you get the ANDs beforethe ORs.
Title: Oct 1711:32 AM (4 of 20)
![Page 5: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/5.jpg)
This shows the code using one IF. Again note theparenthesis needed because ANDs are resolvedbefore ORs and I want major of CI and option ofeither PG or WD.
Title: Oct 178:19 PM (5 of 20)
![Page 6: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/6.jpg)
Another version with CI and either PG or > 3.5
Title: Oct 1711:38 AM (6 of 20)
![Page 7: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/7.jpg)
Under tools you can click on Web Developer and console to see some hints about syntax errors.
Title: Oct 1711:39 AM (7 of 20)
![Page 8: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/8.jpg)
To be a programming language you must support sequence, decisions and repetition (loops).
Title: Oct 1711:42 AM (8 of 20)
![Page 9: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/9.jpg)
Title: Oct 1711:46 AM (9 of 20)
![Page 10: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/10.jpg)
Title: Oct 1711:51 AM (10 of 20)
![Page 11: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/11.jpg)
Title: Oct 1711:55 AM (11 of 20)
![Page 12: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/12.jpg)
Title: Oct 1711:59 AM (12 of 20)
![Page 13: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/13.jpg)
Title: Oct 1712:03 PM (13 of 20)
![Page 14: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/14.jpg)
Title: Oct 1712:04 PM (14 of 20)
![Page 15: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/15.jpg)
Title: Oct 1712:05 PM (15 of 20)
![Page 16: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/16.jpg)
Title: Oct 1712:07 PM (16 of 20)
![Page 17: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/17.jpg)
Title: Oct 1712:07 PM (17 of 20)
![Page 18: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/18.jpg)
Title: Oct 1712:12 PM (18 of 20)
![Page 19: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/19.jpg)
Title: Oct 178:26 PM (19 of 20)
![Page 20: Title: Oct 1710:52 AM (1 of 20)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF17/CIS120/... · 2017. 10. 18. · The first half hour was spent with students writing this program](https://reader034.vdocument.in/reader034/viewer/2022052015/602cc057d4a7be7b231457a6/html5/thumbnails/20.jpg)
Extra credit if you add code to tell whowon.
Title: Oct 178:31 PM (20 of 20)