Appendix A. Answers

Day 1 Quiz Answers

Answers to Quiz

1.

As a software discipline, procedural programming decomposes a program into data and procedures for manipulating that data. Procedural programming has a sequential nature. Lists of procedural calls that execute sequentially drive a procedural program’s flow. A procedural program terminates after it calls its last procedure.

2.

Procedural programming gives a program an overall structure: data and procedures. Procedures also help you to see how to program a task. Instead of writing one large processing block, you keep breaking up the procedures into subprocedures. Procedures do give you a level of reuse. You can create libraries of reusable procedures.

3.

Modular programming tightly couples data ...

Get Sams Teach Yourself Object Oriented Programming in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.