CECS 174
Ada Programming

Course Outline


Back to Joel's Home Page

 


Class Schedule and Assignments (Check the day of the lecture for updates).

Lecture Assignment / Instruction
7/13 Monday Assignment: Install the CD on your PC at home. Go to the Help Menu, select "Quick Start Guide" and read it.  Programs 1, 2  and 3, pp 87,  88: - due 7/20.
Reading:
Chapters 1, Quick Start Guide.
Instruction:
How to use the Ada 95 IDE. Intro to computers and programming.
7/14 Tuesday Assignment: pp 87 - 88: Programs 1, 2  and 3 - due 7/20.
Reading: Chapters 1 and 2
Instruction:
General form of an Ada program. Declaring constants and variables. Data types, Input/Output statements.
7/15 Wednesday Assignment: pp 87 - 88: Programs 1, 2  and 3 - due 7/20.
Reading:  Chapter 2
Instruction:  Introduction to functions and packages.
7/20 Monday Assignment: Complete porgrams 1, 2 and 3 above. Complete the 'areas package' assigned in class.
Reading: Chapter 3, sections 3.1 through 3.5.
Instruction: The class will meet in the lab (ECS 404) for the entire period.
7/21 Tuesday Assignment: Demonstrate the 4 problems (above - Monday) in the lab either tonight or Wednesday night.
Reading:
Chapter 4, sections 4.1 through 4.5.
Instruction: Algorithms and control structures. Introduction to loops. If statement. Enumeration types.
7/22 Wednesday Assignment: Page 179, 1, 2, 4. Modify the 'areas package' as discussed in class. HW Set 2.
Reading: Chapter 4, sections 4.6 through 4.9.
Instruction: More on functions and packages. Introduction to procedures.
7/27 Monday Assignment: Page 179, 1, 2, 4. Modify the 'areas package' as discussed in class: Add a 'menu' function, a loop in the main program, and an enumeration type for the four shapes. Add four procedures to the package and call them from the main program. HW Set 2.
Reading: Chapter 5, sections 5.1 through 5.4.
Instruction:  We will look at several examples from Chapters 4 and 5 of the book.
7/28 Tuesday Reading: Chapter 5, sections 5.6, 5.8, 5.9, 5.10. Chapter 6, sections 1, 2, 4 and 6.
Instruction: .More on Procedures and loops. Examples from Chapters 5 and 6 of the book.
Assignment: Demonstrate second homework set. I will not check any programs from Set 2 after tonight. Homework Set 3 consists of problems 2, 4, and 5, page 291 from Chapter 6, and, Arabic to Roman numerals.
7/29 Wednesday Assignment: Problems 2, 4, and 5, page 291 from Chapter 6, Arabic to Roman numerals.
Reading: Chapter 6, sections 1, 2, 4, 6 and 10.
Instruction: Examples from Chapters 5 and 6 of the book.
8/3 Monday Assignment: Demonstrate the programs in HW Set 3, including Roman numerals. HW is due at the start of the lab at 5:30 pm.
Reading: Chapter 7, sections 3, 4, 5, 8. Chapter 8, sections 5, 6, 7, 8, 9, 10, 11.
Instruction: More data types. Arrays and strings.
8/4 Tuesday Midterm Exam - You will write several Ada programs in the lab. Be in place and ready to begin the test at 5:30. If your last name begins with A - L, go to the lab (ECS 404); M - Z go to ECS 405, across the hall from the lab. Part 1 of the test ends at precisely 7:20. Part 2 starts at 7:30 and ends at 9:20. The programming part is open book. Be sure you can print source files in the lab.
8/5 Wednesday Assignment: Homework Set 4: Ch. 8, p. 434, Problem 4. Roman to Arabic numbers. Stack package and driver.
Reading:
Chapter 8, sections 1, 2, 3 and 4.
Instruction:
Arrays and records. We will discuss in detail the implementation of the stack package of Assignment 4.
8/10 Monday Assignment: Homework Set 4: Ch. 8, p. 434, Problem 4. Roman to Arabic numbers. Stack package and driver.
Reading: Continue reading Chapter 8. Chapter 9, Sections 1 and 2. Chapter 10 , Section 1.
Instruction: We will modify the stack package of last Wednesday's lecture by declaring the Stack to be a Private data type. We will also convert the stacke to a record. This will fom the basis for assignment 5.
8/11 Tuesday Midterm Exam - There will be no written part to this exam. You will write several Ada programs.  If your last name begins with M - Z, be in the lab (ECS 404) and ready to start at 5:30. If your last name begins with  A - L, be in the lab (ECS 404) and ready to start at 7:30.
8/12 Wednesday Assignment: Demonstrate the programs in HW Set 4, including Roman to Arabic and Stack package. HW is due at the start of the lab at 5:30 pm.
Reading: Continue reading Chapter 8. Chapter 9, Sections 1 and 2. Chapter 10 , Section 1.
Instruction: More discussion of arrays, records and the stack package.
8/17  Monday Assignment: Two versions of the Stack Package: Version 2 - declare the stack as a private type; Version 3 - make the entire package generic. Instantiate for character, integer and float stack elements.
Reading: Continue reading Chapter 8. Chapter 9, Sections 1 and 2. Chapter 10 , Section 1.
Instruction: Private types and generic packages. Meet in the lab at 5:30 if it is available. Oherwise meet for lecture in ECS 312.
8/18 Tuesday Assignment: Versions 2 and 3 of the stack package.
Reading: Continue reading Chapter 8. Chapter 9, Sections 1 and 2. Chapter 10 , Section 1.
Instruction: Private types and generic packages. Meet in the lab at 5:30 if it is available. Oherwise meet for lecture in ECS 312.
8/19 Wednesday Demonstrate the first problem on Midterm Exam II and whichever version of the stack package you have completed. The demos will take place in the lab if it is available, otherwise you will demo in my office.

Back to Joel's Home Page


This document was last updated on:
Thursday, 9-August-98 1:35:30 PST