![]() |
CISC 130
|
Dr. Rick Smith
|
|
Dr. Smith Home | Research | Classes | Blackboard | Cryptosmith | CISC Home | UST A-Z | UST Home
last update: |
||
AnnouncementsFinal exams are December 16 and 17. Click here to link to the Matlab and C Summary ("Cheat Sheet")
|
Contents |
Dr. Smith's Office Hours (Instructor)MTWTh 9am until AM class begins (9:30 or 9:50) Email: resmith@stthomas.edu |
Oliver Goretzki's Office Hours (TA)Mondays: 10:30-11:30am, and 4:00-5:00pm Email: gore4670@stthomas.edu |
Class ScheduleClick on the day's Topic to retrieve the Powerpoint slides |
||||
| Date | Day | Topic | Reading | Hand In |
| 3-Sep | Wed | Course introduction | ||
| 4-Sep | Thu | Matlab introduction | Kaplan, Ch 1-2 | |
| 8-Sep | Mon | Matlab complex expressions | Kaplan, Ch 3 | #1 Expressions |
| 9-Sep | Tue | Lab | ||
| 10-Sep | Wed | C Introduction | ||
| 11-Sep | Thu | Variables, Lab | #2 Matlab Basics |
|
| 15-Sep | Mon | Data types, flow chart, IF statement | ||
| 16-Sep | Tue | If-else, Lab | ||
| 17-Sep | Wed | Multiple condition IF statement | #3 BuildABoat |
|
| 18-Sep | Thu | Lab | ||
| 22-Sep | Mon | Looping, do-while | ||
| 23-Sep | Tue | Lab | ||
| 24-Sep | Wed | while loop, increment/decrement | #4 Payroll |
|
| 25-Sep | Thu | Number sizing, for loop, Lab | ||
| 29-Sep | Mon | Character processing | K&R, 1.1-1.3 | #5: K&R |
| 30-Sep | Tue | Lab | ||
| 1-Oct | Wed | Formatting, Word counting | K&R, 1.4-1.5 | |
| 2-Oct | Thu | Lab; Arrays | #6 Overflow test |
|
| 6-Oct | Mon | Timing, prime numbers | K&R, 1.6 | |
| 7-Oct | Tue | Lab, Exam review | ||
| 8-Oct | Wed | EXAM 1 | #7 Prime Numbers |
|
| 9-Oct | Thu | History of computing | ||
| 13-Oct | Mon | Debriefing, Functions | K&R 1.7 | |
| 14-Oct | Tue | Lab, more Functions (ffmain.c example) | ||
| 15-Oct | Wed | Function declaration, results | K&R 1.8 | |
| 16-Oct | Thu | Lab | #9 History Paper |
|
| 20-Oct | Mon | Strings and Character Arrays | K&R 1.9 |
|
| 21-Oct | Tue | Lab - Strings, Histograms | #8 Function rewrite |
|
| 22-Oct | Wed | Data types and conversion | ||
| 23-Oct | Thu | Lab | K&R 2.1-2.7 |
|
| 27-Oct | Mon | Functions, String Matching | #10 Word sizes |
|
| 28-Oct | Tue | Lab, String Construction | #9 Extra Credit |
|
| 29-Oct | Wed | File I/O | K&R 7.5, 7.7 | #11 Calculator |
| 30-Oct | Thu | Lab | ||
| 3-Nov | Mon | I/O Programming | ||
| 4-Nov | Tue | Lab | ||
| 5-Nov | Wed | Sorting Arrays | ||
| 6-Nov | Thu | Lab | #12 Phone Lookup |
|
| 10-Nov | Mon | Character Functions | K&R 7.8 |
|
| 11-Nov | Tue | Lab | ||
| 12-Nov | Wed | Arrays/Lab | ||
| 13-Nov | Thu | K&R 5.1-5.2 |
#13 Sorting |
|
| 17-Nov | Mon | Project Assignment, scanf | K&R 5.3-5.4 |
|
| 18-Nov | Tue | |||
| 19-Nov | Wed | EXAM 2 |
||
| 20-Nov | Thu | Scaling and Lab | ||
| 24-Nov | Mon | Exam debrief, Lab | ||
| 25-Nov | Tue | Histogram and Lab | P1: Proposal |
|
| 26-Nov | Wed | Lab | ||
| 27-Nov | Thu | Thanksgiving Holiday | ||
| 1-Dec | Mon | Return to Matlab | Kaplan, Ch. 4-5 | #14 Scaling |
| 2-Dec | Tue | Lab | ||
| 3-Dec | Wed | Lab | P2: Plan |
|
| 4-Dec | Thu | Functions, Control Flow, Lab | Kaplan, Ch. 6-8 |
#15, Indexing |
| 8-Dec | Mon | Functions, Project Work | ||
| 9-Dec | Tue | Lab | ||
| 10-Dec | Wed | Exam Review | ||
| 11-Dec | Thu | Project Demos | P3: Demonstration |
|
| 16-Dec | Tue | FINAL EXAM Section 3 (PM) | 1:30-3:30 PM | #16, Functions |
| 17-Dec | Wed | FINAL EXAM Section 2 (AM) | 8:00-10:00 AM | |
Kaplan, pp 32-33, Exercises 2.1 through 2.4
Kaplan, pp 61-36, Exercises 3.1, -2, -3, -4, -7, -8, -9
A C program that estimates the cost and other properties of a custom boat.
A C program that calculates payroll for an individual, including overtime, and prints a pay stub.
Write a program that meets the requirements of Kernighan & Richie (K&R) Exercises 1-3 and 1-4 (page 13).. In other words, write a program that uses a for loop to print out a table for converting from Celsius to Fahrenheit. There should be a heading above the table. The output should be cleanly formatted like the example outputs shown on pages 11 and 13.
E-mail the source code of the C program to the instructor by the due date.
A C program that computes powers of two to help look for overflow conditions in computer arithmetic.
A C program that can generate at least a half million prime numbers.
Rewrite Assignment 4 as a group of functions.
Write a paper describing two sides of a dispute in computer history.
Based on Exercise 1.13 in K&R, write a program to count word sizes and display in a histogram
Write a program that performs arithmetic calculations and includes a function for number conversion.
Write a program that retrieves a file of phone numbers and lets users look up numbers.
Write a program that reads a text file and sorts the lines into ASCII order using strcmp().
Write a program that displays a scaled histogram of data stored in a file.
Do Kaplan's Exercise 4.2, page 85. and Exercise 5.2, page 109. E-mail the results to the instructor. Be sure to include a .m file as the solution to 5.2.
Do Kaplan's Exercises 8.5, and 8.6, on page 178. E-mail the functions to the instructor.