CS 111 - Course Information


    Announcements
  • Welcome to CS 111!
  • 5/17: All HW Solutions are now up good luck on the final :-)
  • 5/15: REMINDER: The final exam is on Friday, May 18th. Full details can be found at Prof Ryba's site. All homeworks are due by May 18th. Grades will be on blackboard later. Make sure you know about C-Strings and strings for the final.
  • 4/26: HW 8 is up. Look towards the bottom. It is due 4/30
  • 4/17: WARNING: There will be a quiz this Thursday over arrays. Solutions to all past homeworks are up, if you want to review them. HW 8 will be assigned shortly.
  • 4/12: A description is up about arrays, which we talked about in lab today. There is no HW yet, but there will be next week.
  • 3/29: HW 7 is due 4/12, which is when we will return from Spring Break.
  • 3/15: HW 6 is now available. It has a tentative due date of 3/22
    The last day to P/NC/W is March 29th
  • 3/13: Lab Cancelled - Lab will be cancelled today due to illness
  • 3/5: Please turn in homeworks on Blackboard from now on. You will only need to tar/zip files if there is more than one to turn in at a time. We will have a quiz this Thursday over HW 5.
  • 2/21: Homework 4 is now available as well as a solution to the lab
  • 2/13: Tutoring is available for all CS 111 students. The schedule is available HERE.
    Also, the first Midterm is scheduled in the Lecture on Wednesday 3-14-2007.
    We also have Blackboard. All future assignments [and quizzes] will be turned in through Blackboard from now on. Instructions for logging in can be found Here.
    Homeworks
  1. Homework 1
    you may have to use the more advanced intro to venus in order to accomplish #2 [given out in class]
      Resources:
    1. Simple Intro to Venus
    2. Simple Intro to vi editor
  2. Homework 2
    hw2.cpp [file to modify]
      Resources:
    1. Basic Input and Output
    2. C Plus Plus Tutorial on Variables.
  3. Homework 3
      Resources:
    1. add2int.cpp
    2. intDivision.cpp
    3. averageOf3.cpp
    4. sineDemo.cpp
    5. Built-in Math Functions
    6. C Plus Plus Tutorial on Variables
  4. Homework 4 Due: 3/1 [Now Available!]
      Solution:
    1. hw4.cpp
      Lab Solutions [there are many answers, here are two]
    1. Solution 1
    2. Solution 2
      Resources:
    1. ASCII Values
    2. compare3.cpp [INCORRECT!!]
    3. Code Trace of compare3.cpp
    4. Comparison of Strings Tutorial
    5. stringCompareDemo.cpp
  5. Homework 5 Due 3/15 11pm
    5.2
      Solutions
    1. box1.cpp
    2. box2.cpp
    3. triangle1.cpp
    4. triangles.cpp
    5. britishflag.cpp
    6. britishextr.cpp
      Resources
    1. nested.cpp
  6. Homework 6 Due: 3/26 11pm
      Solutions:
    1. lucky7.cpp
    2. hw5.cpp
      Resources:
    1. dice.cpp
    2. srand()
    3. rand()
    4. Functions
    5. Functions (II) [pass by reference]
  7. Homework 7 Due: 4/12
      Solutions:
    1. forwards.cpp [modification of backwards.cpp]
    2. forwards_arr.cpp [using str as an array]
    3. ack.cpp
    4. handtrace of mystery(1,2)
      References:
    1. Recursion [With code examples]
    2. towers.cpp
    3. Character Sequences [C-Strings]
    4. .length()
    5. String Functions
    6. Strings Tutorial [at the end]
    7. charsInString1.cpp
    8. charsInString2.cpp
  8. Homework 8 DUE: 4/30
      Solution
    1. hw8.cpp
      References:
    1. Arrays
    2. Bubblesort
    3. Linear Search
    4. Binary Search
    5. dicestats.cpp
    6. measure.cpp
    7. bubblesort.cpp
    8. sortAndSearch.cpp
  9. HW 9
      Solutions:
    1. hw9.cpp
    2. hw9-2.cpp
      References:
    1. Arrays
    2. array2.cpp
      Here are the struct examples given to you in class:
    1. structs1.cpp
    2. structs2.cpp
  10. HW 10
      Solution:
    1. hw10.cpp
    Quizzes
    We will have weekly quizzes every Thursday based on your homeworks. [these will be up later]
  1. Conversion from Celsius to Fahrenheit
  2. Quiz 2 2/22
  3. Quiz 3 3/8
  4. Quiz 4 3/22
  5. Quiz 6




    Textbook / References
  • C++ Without Fear: A Beginner's Guide That Makes You Feel Smart (Paperback)
    Brian Overland
    Publisher: Prentice Hall
    ISBN: 0321246950

More Information:

INC grades will not be given, except in EXTREME emergencies. It is up to the student to bring proof, such as hospital bills, etc. Do not waste the entire semester and then beg for an INC, it will not be given. ``Student apparitions" will be given a grade of 'WU' as per the college policy

Cell Phones and Other Electronic Devices

I understand the need to keep in touch with loved ones, and that cell phones are the easiest way for others to keep track of us. However, I expect that all cell phones, pagers etc. will be inaudible during class. Any student with an electronic device that disrupts the class runs the risk of loosing points from his/her average (per occurrence). If an electronic device disrupts the class during an exam, the student will loose points from his/her exam.

Important Dates for Spring 2006:

Dates may be subject to change.

  • 2/4/07- Last day to add a course.
  • 2/5/07 - Drop only period starts.
  • 2/18/07 - Drop only period ends.
  • 2/19/07 - P/NC & unevaluated withdrawl period begins.
  • 3/29/07 - P/NC & unevaluated withdrawl period ends.


QC > QC CS Dept > J. Levy Homepage > CS 340

Last Modified:

Jamie L. Levy
Computer Science Department
Queens College, CUNY