Logic Assignments

We are using the 5th edition of Programming Logic and Design by Tony Gaddis. It is recommended that you do all the review questions at the end of the chapter as a study aid for the exam; answer key is available in the classroom. See the instructor for testing schedule.

Note: Flowcharts will be drawn using Flowgorithm. It allows you to run and test your program. Pseudocode can be generated using the Tools menu/Source Code Viewer/ Gaddis pseudocode. DO NOT submit code written in Java, Python, C++ or any other programming language. Only pseudocode or Flowgorithm files will be graded for credit.

Logic Assignments Gaddis 5ed.
Chapter Short Answer Algorithm Workbench  Debugging Exercises  Programming Exercises
1 - Introduction to Computers and Programming  1, 2, 3, 4, 5, 6       1, 2, 3, 4
2 - Input, Processing, & Output  1, 3, 5  3, 4, 9, 10  4, 6, 7  15; draw a flowchart using Flowgorithm
3 - Modules  4, 5, 6, 7  4, 6, 7  1, 3, 4

 10; draw flowchart using Flowgorithm. See instructor about using functions instead of reference variables in Flowgorithm.

4 - Decision Structures and Boolean Logic  2, 3  8, 9  3

 12; draw flowchart using Flowgorithm.

5 - Repetition Structures  8, 9  7, 10  2  10 & 13; draw flowcharts using Flowgorithm.
6 - Functions  2, 4  5  1, 2  7 (include IPO charts and flowcharts)
7 - Input Validation  2, 3  4  1, 3  4; draw flowchart
8 - Arrays  4, 5  7, 8  2  7; draw a flowchart
9 - Sorting & Searching Arrays  2, 4  3, 4  1  6
10 - Files  1, 2, 3, 4,   6, 7   3, 4, 5  1  6
11 - Menu-Driven Programs  3, 4, 5  1, 2    3
12 - Text Processing  3, 5 3, 6 2  3
13 - Recursion  1, 3  1, 2, 3    4
14 - Object-Oriented Programming  4, 7, 8  2, 5    2 include UML; use draw.io to draw the UML diagram or create a 1 column 3-row table in Word
15 - GUI Applications and Event-Driven Programming  2, 4, 5  2, 3    3; include code for a Close button