CS253

This file defines the header for each page. An optional "icon" image (I use the textbook):

A link to enable editing of this page: Edit TopBar Replace this with info about this class:

CS253: Problem Solving with C++

Spring 2012

Home Page

Links to the various pages for this class:

Wish I could do this: * Schedule

This is the home page for CS253, Problem Solving with C++, a CSU Computer Science class.
Click on the tabs, above, for other class pages.


Grades Available

Everything’s been graded. The letter grade that ~cs253/bin/grade shows is what you will get. Questions? Read this first.

Final Exam Last Question

The name of the painting is, of course, the Mona Lisa. It’s a portrait of Lisa Gherardini, so her first name is “Lisa”. The Italian word “Mona” is an abbreviation of “Madonna”, or “My Lady”. It’s a word like “Mrs.”, not a name.

HW6 Solution

My read-only solution to HW6 is available here.

HW6 Test Improvement

I have improved the last HW6 test program to call the count method. It will ensure that your count method uses the comparison functor, and not just ==.

No Extra Credit

There will be no extra credit.

HW6 Clarification

I have clarified the HW6 assignment to indicate that find should look for the first instance of the given value from the start of the list to the end. Only the first instance counts. When you find that, stop looking.

Error Grading Quiz #3 Question 5

My answer key for quiz #3 was wrong. If your question 5 was marked wrong, and you think it should be right, bring your quiz to Mohammed.

Error in slink

A helpful student has pointed out that my implementation of slink::iterator::operator++(int) was incorrectly returning a reference. This won’t work—can’t return a reference to a temporary value. It’s been fixed here.

HW5 Solution

My read-only solution to HW5 is available: main.cc Win.h Win.cc Peg.h Peg.cc

HW6 Available

HW6 is now available.

HW5 Change

The requirement to change colors (red/yellow/green) in HW5 is withdrawn. You no longer have to do this. It turns out that gtkmm "themes" override the colors, and I can’t figure out a portable way to get past that, short of having to lug around differently-colored image files. If you already did the color stuff and got it to work, great--leave it in.

Install gtkmm at home

A student reports that this command installs gtkmm on his home Fedora 16 system: yum install clutter-gtkmm-devel

Valgrind doesn’t like gtkmm

Running valgrind on a gtkmm program always produces complaints, whether or not the program leaks memory. :-(

Shorter Office Hours

Due to illness, Jack’s office hours will be 3:00–3:35ᴘᴍ Monday, April 9th, in the Linux Lab.

Wed April 11th Office Hours

Mikhail’s CSB 120 office hours on Wed April 11th are changed from 9–11ᴀᴍ to 4–6ᴘᴍ.

I/O Lab Solutions

Read-only solutions to the I/O lab are available here & here.

Midterm #2 Raw Scores

3.5
1/49
4.0
1/49
4.5
1/49
5.0
2/49
5.5
4/49
6.0
4/49
6.5
5/49
7.0
8/49
7.5
5/49
8.0
4/49
8.5
6/49
9.0
5/49
9.5
2/49
10.0
0/49
10.5
0/49
11.0
0/49
11.5
1/49

Midterm #2 Final Question

The name of King Herod’s first wife was Doris. My favorite answer was “Sherod”.

Office Hours Moved

For Monday April 2nd only, my 3:00–5:00ᴘᴍ office hours will be in my office, CSB 246.

HW4 Solution

My read-only solution to HW4 is available: Yarnc.h Yarnc.cc Yarne.h Yarne.cc

Word from Above

The systems administration people say:

Over spring break we have upgraded the linux labs to Fedora 16.
One issue that has arisen is that logging in the first time can
cause your session to hang, or take a long time to process.
If your login attempt is hanging, please hit ctrl+alt+backspace
to kill your session, and attempt to login again. This should
clear up the issue. The issue is caused by residual Fedora 15
gnome settings in home directories conflicting with the new
version of gnome.
If your login is still hanging after that initial login (using
ctrl+alt+backspace), or are having any issues with FC16, please
contact SNA at: sna@cs.colostate.edu

Fiddling with Bits

This prints G:

    int main() {
        char c = 'F';
        c ^= 01;
        cout << c << endl;
    }

HW3 Solution

My read-only solution to HW3 is available: Imdb.h Imdb.cc

HW4 Available

HW4 is now available.

HW3 test program

A test program, with expected output, is now in the HW3 assignment.

HW3 clarified

The description of << output for HW3 has been clarified.

Midterm grades available

Midterm grades are available via ~cs253/bin/grade, both in raw & curved flavors.

HW3 Available

HW3 is now available.

Midterm #1 Last Question

Jack was born in Detroit, Michigan. As you can see, just south of Detroit is Windsor, Ontario, Canada.

Curving

When you run ~cs253/bin/grade, you’ll see two versions of your quiz/midterm/final exam scores, e.g., Q1 and Q1-curved. The Q1 score is the raw score, that you actually earned on the quiz. The Q1-curved score is the curved score—this is what will count toward your total points.

HW2 Available

HW2 is now available.

Office Hours Changed

Instead of being in the Linux Lab Tuesdays 1:00–3:00ᴘᴍ, I’ll be there Mondays 3:00–5:00ᴘᴍ. See my calendar for the big picture.

HW1 Available

HW1 is now available.

HW1/HW6 Worth Less/More

I've changed the point values for HW1 & HW6 slightly in the syllabus.

First Lab Optional

Recitation (lab) the first week is optional.

Modified: 2012-05-09T12:37

User: Guest

Check: HTML CSS
Edit History Source
Apply to CSU | Contact CSU | Disclaimer | Equal Opportunity
Colorado State University, Fort Collins, CO 80523 USA
© 2015 Colorado State University
CS Building