Home > Articles > Data > Oracle

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

Lab 1.2 Exercises

1.2.1 Understand the Nature of Good Programming Practices

  1. What is a top-down approach?

  2. What is structured programming?

  3. Create the following selection structure: Determine which season each month of the year belongs to.

  4. Create the following iteration structure: For every day of the week display its name.

  5. Create the following structure: For every day that falls within the business week, display its name. For every day that falls on the weekend, display "The weekend is here, and it is here to stay!!!" Hint: You will need to use iteration and selection structures. The selection structure must be placed inside the iteration structure.

1.2.2 Understand formatting Guidelines

  1. What is the reason for formatting your code?

  2. What are two main guidelines of good formatting?

  • + Share This
  • 🔖 Save To Your Account