Comp 110 – Intro to Programming

University of North Carolina at Chapel Hill

Examination information

How to show off what you know

What is the best way to study for the tests? Form a study group (perhaps the students you work with for in-class exercises). Work the problems on the old exams, practice problems, and problems in the book. It is not enough to read the answer provided. You have to work the problems yourself. Use your study group to ask questions and quiz each other. Test 1 has lots of terminology and definitions. Flashcards work well for me.

All exams are closed book and closed notes. Bring paper to the exam. You may use a blue book, but it is not required. All types of questions (define, compare and contrast, analyze code, and writing code) are fair game. You are responsible for all material coverd in our textbook readings, class, and lab.

Textbook sections required for Test 1 (Spring 2013):

  • Chapter 1 – all sections except 1.3
  • Chapter 2 – all sections
  • Chapter 3 – all sections except 3.3 and 3.4
  • Chapter 4 – all except 4.3

Sample exams. Note that somewhat different material is covered each semester. Some questions on this exam may be over material we have not covered this semester. These are noted on the exam solutions below.

Test 2 will strongly emphasize code writing. You will be asked to write code segments on paper (no Eclipse – similar to our inclass exercises but individually, not in teams). There will be some questions asking you to compare and contrast, definitions, etc.

Sample solution for Test 2 (Fall 2012). Note that this semester, the class was 75 minutes long. This semester, our test will be shorter.

Textbook sections required for Test 2 (Fall 2012) – all those required for Test 1 plus:

  • Chapter 5 section 1 – all but "The Keyword this"
  • Chapter 5 section 2 – all but
    • Precondition and postcondition
    • Automatic documentation with javadoc
    • UML class diagrams

Study materials for final exam (Fall 2012):

Detailed information on grading for Fall 2012. Grading this semester will be very similar (but not exactly the same).