Home > Articles > Data > Oracle

  • Print
  • + Share This
This chapter is from the book

Test Your Thinking

In this chapter you learned what a program is. You also defined the concepts of the structured programming. Here are some projects that will help you test the depth of your understanding.

  1. Create the following structure: Based on the value of a number, determine if it is even or odd. Hint: Before you decide how to define even and odd numbers, you should decide what structure must be used to achieve the desired results.

  2. Create the following structure: The structure you created in the previous exercise is designed to work with a single number. Modify it so that it can work with a list of numbers.

The projects in this section are meant to have you utilize all of the skills that you have acquired throughout this chapter. The answers to these projects can be found in Appendix D and at the companion Web site to this book, located at http://www.phptr.com/rosenzweig2e. Visit the Web site periodically to share and discuss your answers.

  • + Share This
  • 🔖 Save To Your Account