CS16, 10W, H02 (Overview of C, Oualline, Chapter 5) Total points: ? (printable PDF)
Available online at: http://www.cs.ucsb.edu/~pconrad/cs16/10W/homework/H02
Accepted: on paper, in lecture (11am-12:15am ) on Thursday, Jan 14th
Late Policy: No email submission allowed—and don't "slip it under my door". If you need to make it up, you must do so during office hours, or make an appointment to see me, and you must request this appointment within 48 hours of when the assignment was originally due.
Personal Day/Sick Day policy: Everyone is permitted one "personal day/sick day" when you get to make up a missed homework assignment for free during office hours or via appointment. After that, you may not make up the homework assignment—you can only earn back the points through extra credit opportunities.
(For more details, see the syllabus and the homework policy)
Name: (4 pts)___________________________ UMail address (4 pts) ______________@umail.ucsb.edu
Lab Section (2 pts) Circle one: 3pm 4pm 5pm unknown
(Note: For now, circle the lab section you are registered for on GOLD. If you need to request attendance at a different lab section because of an ACTUAL SCHEDULE CONFLICT, please email pconrad@cs.ucsb.edu with details)
Please obtain the official textbook for this course by Delores Etter. I will assign homework from that book on Thursday, and it will be due on Tuesday 01/19.
The textbook is not yet on reserve in the library, but should be by Thursday.
Here is an excerpt from a memo from the bookstore regarding availability of textbooks:
...
I wanted to send out a reminder regarding what to say to students who complain that they can't get the book....if you would forward this email to your faculty it would be much appreciated and hopefully eliminate some anxiety for students and faculty.
TELL THE STUDENTS TO COME TALK TO US IN THE TEXTBOOK DEPARTMENT. We will make sure they get a book. If we are out, we can get more copies in approximately three to five business days.
If students don't talk to us we have no way of knowing somebody wants a book. We base our reordering on need. Students shop in so many different places these days we cannot predict how many will want to shop here. Freight is hugely expensive, as is the labor involved in bringing books in that we might not be able to sell. Therefore, we need to hear from our students if they want something...
Best wishes,
Cynthia Ellestad, Course Materials Department Manager, UCSB Bookstore
For now, the reading assignments are chapters from an online textbook—Practical C Programming by Steve Oualline. Links to material in this book appear below.
Even though this book is a bit "dated"—for example, the advice in section about 5.8 about float vs. double is the opposite of what I told you in class*—there is still lots of good information in this book. And is has the advantage of being free, and available to you while we wait for everyone to get their textbooks.
(*Regarding float and double—my advice is always use double unless you have a specific reason to prefer float. The reason the conventional wisdom has changed: memory is cheaper and processor speeds are faster than they once were.)
To link directly to this book, use these links:
Once you've read Chapter 5, write answers to the questions on the reverse side of this sheet (use the PDF link to print a copy of this if you weren't in class).
Please turn over for questions to answer
Continued from other side