Lab 1.2 Exercises


1.2.1 Understand the Nature of Good Programming Practices

a)

What is a top-down approach?

b)

What is structured programming?

c)

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

d)

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

e)

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

a)

What is the reason for formatting your code?

b)

What are two main guidelines of good formatting?




Oracle PL[s]SQL by Example
Oracle PL[s]SQL by Example
ISBN: 3642256902
EAN: N/A
Year: 2003
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net