I

Important Information

Newest information at the top of each subtopic

 

Final Exam: Monday, December 10th,  7pm, HHS 2208

 

Syllabus: CS 240  Syllabus - Fall 2007.doc

 

Ada Installation Instructions for home computer:Ada_Installation_Instructions.doc

 

Useful URLs: http://www.jbpub.com/catalog/0763737941/supplements.htm  For text’s source code

 

 

Lectures

Homework

Programming Assignments

Lecture 12 - October 3rd

   ourQueue.ads

   showAnonymous.adb

   ourQueue.adb

   testQueue.adb

 

 

 

Complete as many of the functions in the package body ourQueue as you can. Put in stubs for all of them and syntax check it.  Code them one at a time.  For each procedure or function you code, syntax check and compile. As  you succeed,  you should add a call to the function or procedure to testQueue.adb, compile it, and run it.

Do what it says under homework… The blackboard version will be put up later.

Lecture 11 - October 1st

NOTE:  all of the files are either .doc or .rtf files

firstVersion                 fraction_io.ads

secondVersion              fraction_io.adb

thirdVersion                 Fractions.ads

fourthVersion               fraction.adb

almostDone                    testFractions.adb

oops                              lookingGood                              

 

discrete_set.ads          discrete_set.adb

set_test.adb                 class_set_test.adb

Study the code and the documents linked under Lecture 11

 

Lecture 10 – September 26th

Electronic submission of program due Sunday night by 11:59 pm

Printed version with sample input and output due in class on Monday.

See program description on Blackboard listed as Assignment8.

Lecture 9 – September 24th

     Fractions.doc  answers

Posted on Blackboard

none – just comment the code in the assignment posted on Blackboard.

Lecture 8 - September 19, 2007

  updated version of binary_search_test2

print out the code examples from Chapter 2 about the Bingo game and bring them to class on Monday.  Come prepared to ask questions about anything in them you don’t understand.

finish the body of your Fractions specification and write a program to thoroughly test it.  See Blackboard Assignment #6 for details.

Lecture 7 - September 17th  -

Binary_Search_Test2_KEY

Seq_Search.ads

Seq_Search.adb

Depends on what you completed of work previously assigned.

  • Everyone, write a test program to test the sequential search we constructed in class.  Compile and run it and bring a printout of the test results to class.
  • If you didn't do assignment #4 on Fractions during class time, do it now and submit it by tomorrow night.
  • If you did problem #73 (the sequential search one,  write the program to test your submission and run it and capture the test results and print them and bring them to class.
  • If you didn't do problem #73 but did #72 or #74,  write a program to test what you did and  run it an capture the test results and print them and bring them to class.
  • If you didn't do any of assignment #3 (problem 72, 73, or 74) do 72 or 74 (write the spec, the body for the spec and the test program.  Compile and run the test program and capture and print the test results and bring them to class.
  •  

 

Submit ANY and ALL you write under Blackboard Assignment #5.

Lecture 6 - September 12th  - Blackboard Assignment in lieu  of class to be done during class time.

 

See Assignment #4

Lecture 5 - September 10th

   using_files

   using_end_of_file

        in.txt  - sample input file.

   play_with_others

Either: problem #72, #73 or 74 on page 71-75 of the text.  See Blackboard Assignment for details of what to do and what must be submitted by 11:59pm on Tuesday, Sept 11th (tomorrow)

Lecture 4 – September 5th

·        ideal answer for HW#1

·        using files

 

  • will be posted

 

Lecture 3 – September 3rd

 

  • Homework #2 is on Blackboard under Assignments

 

Lecture 2 – August 30, 2007

  • do everything assigned previously that you didn’t do yet
  • read Chapter 1 of the text
  • Homework #1 is on Blackboard under Assignments due 9/3/07

 

 

Lecture_1 – August 27, 2007

  • install Ada
  • check exam schedules
  • run Discussion_Example1.adb
  • make folder cover
  • bring the 2 pink handouts to class
  • buy text