Home / announcements | Course overview | Staff and hours |
References / Notes / Handouts | Homework/Projects | Exams | Grades |
- In-lab #1, due in lab, start of week of 1/9.
- For lab on Jan 11 and 12th there is no in-lab assigned but there are some files to play with:
- fact_nofunct.cc (factorial without functions)
- fact_nofunct.cc (factorial with functions)
- broken.cc (Broken program, see comments)
- A few more buggy programs thanks to Doug!
- Inlab #2 will be done during Jan 13 and 14. Here are the Answers.
You will need the following files:- In-lab #3, due in lab, Tues/Wed (25 or 26th) in lab at the start of lab.
- Inlab4, due the start of lab, Tues/Wed (1st or 2nd)
- Inlab5, due the start of lab, Tues/Wed (8th or 9th)
- Inlab6, due the start of lab, Thurs/Fri (Feb 10th or 11th) Pushed back to Tues/Wed the 15th and 16th. See e-mail sent to class
- Inlab7, due the start of lab, Thurs/Friday the 17th or 18th.
- For Feb 23/24 we are providing a "just for fun" inlab. It will actually help a bit with the last homework question (and exam 2), but mostly it is just for fun. What you should do is download machine.cc and see if you can understand what it is doing.
- Inlab8, Thur/Friday the 10th or 11th.
- A practice assignment on characters and classes for the 10th and 11th.
- Inlab 9, Due Thur/Friday the 17th or 18th.
- Inlab 10, Due Tues/Wed the 29th or 30th.
- Inlab 11, Due Tues/Wed the 5th or 6th.
inlab11a.cc, inlab11c.cc.
Answers- Inlab 12, Due Tues/Wed 12th or 13th.
heat2.m (note, is computing maxChange differently than stated in the spec. You can leave it or change it as you wish.) Solution- Inlab 13, Due Thursday/Friday 14th or 15th
Part1 answer, Part 2: Fib.m and Fib_main.m, Part3
Homework can be turned in in class OR can be dropped in the 101 box. The box is in the EECS building across from 2336 EECS. Directions: Go the the EECS atrium and take the elevator to the 2nd floor. Take a right after you leave the elevator. At the next hallway, take a right and got about 20 feet. On your right will be a wooden box with a sign saying it is for 101. You will be right next to the men's bathroom.
- Homework #1 due Jan 13th by noon.
- Note that the due date was moved back to Jan 13th at noon from Jan 12th!
- Also note that on problems #1 and #2 the text of the code wraps.
- Answers to hw1. (Part II 5a was wrong, fixed Jan 18)
- Homework #2 due Monday Jan 31st by noon.
- hw2Code.cc and the same code as a pdf file.
- An e-mail sent to the whole class included a HW2 correction.
- Answers to hw2
- Homework #3 due Tuesday Feb 8th by 5pm.
- This assignment is supposed to be practice for the 1st exam. Try to take it as you would an exam.
- Problem 4, the struct is lacking a ";" after the "}".
- answers
- Homework #4 due Wed. March 9th by noon.
answers (page 1)
answers (page 2)
answers (page 3) (Correction: Last table should go 0 0 1 1 0 0 1 0)
answers (page 4)- Homework #5 due Tues. March 29th by noon.
Code for HW5 (pdf file)
answers for HW5- Homework #6 Not to be turned in!
answers for HW6
- Project 0 originally due Saturday, Jan 15th by 4pm, changed to Wednesday the 19th at 11:59pm
- wrong.cc
- p0main.cc
- Corrections and comments on the project
- P0 handin directions. If you have problems with this, please wait until your Tues/Wed lab and ask your GSI.
- Project 1 -- Due Friday Jan 28th at 11:59pm.
- Project 2 -- Due Monday Feb 7th at 11:59pm.
- Project A: Minesweeper
- Project B: Two for the price of one
- Project C: Genetic algorithms
- eval.cc -- function maximization
- eval3.cc -- digital circuit min delay
- selection function
- Solution: ga.cc. Solution is light on comments.
Home / announcements | Course overview | Staff and hours |
References / Notes / Handouts | Homework/Projects | Exams |