Lecture 13 – October 10th
Discussed potential problems and solutions to them with regard to the program due today.
Discussed use of ppc386 as the command line compile command for Free Pascal
Discussed creation and use of a bat file to put ppc386 on the path so that you can compile your Pascal program regardless of the directory it is in.
Discussed slides from Chapter 5
Announced that test will probably be Tuesday, October 24th. It will cover chapters 1-6 of the text book and FORTRAN, Pascal, Mini-Language Core, and any other material we cover this week or next week.
Programs submitted to drop box should be named yourName4.pp and should NOT be zipped. You should only submit the source file and it should be labeled FINAL in the comments. The folder printouts should include: source file; sample input file; screen output produced; file output produced. Main program should consist mainly of procedure and or function calls. Digital Dropbox submission time has been extended until midnight, October 10th without penalty if you were in class in time to sign the attendance sheet. Printouts are due tomorrow (October 11th by noon – leave them in my mail box or under my door).
The TA went home ill at about 5:30pm
so your graded first Pascal programs will not appear outside my door this
evening. They should be there some time
tomorrow depending on how fast she recovers.
Here are the homework questions to be done individually and brought to class on Thursday, October 12th.
Programming Problem to solve:
Write a Pascal program that will get up to 10 integers from
the user at the keyboard and insert them into a linked list using Pascal
pointers. You should keep the list in descending order at all times. Echo each value input and show the list after
each value is inserted into it. The
tutorial shows how to use pointer variables.
Due: October 17th - Filename will be yourname5.pp
As usual you should introduce your program to the user and have an ending message telling the user the program has ended. All output should be labeled. This assignment should use procedures and pointers.