Database Tutorial

Course Tutorial Site

Site Admin

CIT325: Lab 4 Instructions

without comments

Lab #4: Oracle Assignment


The lab is designed to teach you how to work with loops and nested loops in the scope of an anonymous PL/SQL programs. The anonymous block PL/SQL program should achieve these objectives:

  • Learn how to iterate forward in a loop.
  • Learn how to iterate backward in a loop.
  • Learn how to couple the behavior of an outer and inner loop.
  • Learn how to print a text file as a final outcome.

Business Scenario

Application development involves writing and testing software. After you master basic programming structures, you begin writing programs that do things over and over again – iteration; and you begin to use collections to manage variable sets.

The lab is designed to teach you how to write a small PL/SQL program that demonstrates how you write dependent loops that move forward and backward through collections.

Help Section

The following is an set of sample programs and steps that address concepts in the lab. The instructor should review these in classroom or in a Google Hangout with students. Click the Instructional Material link to see the preparation lesson material.

Students may want or need supplemental articles that let them review tips and techniques. The following is a function that checks for valid dates inside strings. You should run this type of check after you rule out a number and alphanumeric string.

The lab has one part. The test cases should print the lyrics of The Twelve Days of Christmas.

Lab Description

[25 points] Click the Lab Instructions link to open the instructions inside the current webpage.

Test Case

Click the Test Case Instructions link to open the test case instructions inside the current webpage.

Written by michaelmclaughlin

December 15th, 2016 at 11:31 am

Posted in