Conditionals Worksheet

Conditionals Worksheet - CS 106 Worksheet for Conditionals...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 106 Worksheet for Conditionals You will need to have the IfDemo workbook open while you are working with this worksheet (after you finish the truth tables). For each question, read the code and make any of the indicated modifications. Write your prediction of what will happen when you run the code. Then run the code and verify your prediction. If your prediction was incorrect, you should go back over the course materials to improve your understanding, then try again. You may find it helpful to run the program step by step, using the F8 key. This will let you see what line the program is executing, and hover your mouse over variables to see their values. When you’re done, you can upload your completed worksheet to the dropbox. Either upload your Word file with the answers filled in, or scan your printed and completed copy and upload that. We’ll start with some truth tables. We give a blank one followed by the same table with the answers filled in. Work each one and then look at the answers. If you do not get the same
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Conditionals Worksheet - CS 106 Worksheet for Conditionals...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online