Exams

Final Exam: Monday, June 9th, 4:30 - 6:20 pm in Kane 120 and 130

Results:

You can now check your final exam score on MyUW (see instructions). You may pick up your exam from the CSE main office between 9 am and 5 pm (closed for lunch 12 - 1) starting Friday 6/13 at 1 pm. Please wait to see your exam before asking grading questions. The median is 81% — well done!

Stats:

grade % of class
As (90-100) 25%
Bs (80-89) 26%
Cs (70-79) 19%
Ds (60-69) 12%
Es (0-59) 18%
question average score
Q1 (Binary tree traversal) 5.8 / 6
Q2 (Binary search tree) 3.7 / 4
Q3 (Collections mystery) 2.8 / 5
Q4 (Inheritance/polymorphism mystery) 13.8 / 15
Q5 (Binary tree programming) 7.3 / 10
Q6 (Collections programming) 8 / 10
Q7 (Comparable) 6.8 / 10
Q8 (Binary tree programming) 13.9 / 20
Q9 (Linked list programming) 13.2 / 20

Regrades:

If you believe that one or more programming problem was incorrectly graded and you would like Hélène to regrade it, you must:

  • Type in the problem(s) to a Java file exactly as it appears on your exam.
  • E-mail Hélène a detailed description of why you believe your problem(s) were graded incorrectly. Attach the Java file with your code.
  • Give Hélène your original exam either in person or drop it off for her in the CSE building. Before 8/29, slide it under her door in CSE338 OR after 8/29, drop it off at the front office.
  • All regrade requests must be received by Wednesday, October 1st (start of fall quarter).
  • Hélène will regrade your entire exam meaning that your exam score may go down as a result of a regrade request (capped at -2).

Final exam contents:

icon cheat sheet (will be provided as last page of exam)

The questions on the final exam will be selected from the following. Each question will be worth between 5-20 points:

  • 2-D array mystery: Trace the execution of code that includes a 2-D array.
  • Binary search trees: Given a set of values, add them to a binary search tree. Then perform traversals in the three standard orders on that tree.
  • Polymorphism mystery: Given a set of classes with inheritance relationships, a set of variables declared using those classes, and a set of method calls made on those variables, write the output. (similar to section 19 problems)
  • Inheritance/Comparable programming: Given an existing class, write a complete subclass of it that adds certain features. Write a complete class and make it Comparable based on a given set of comparison criteria. (similar to section 10 problems) (changed 6/4 to remove inheritance)
  • Collections programming: Write a method that uses one or more class from the Java Collections framework (with focus on Sets and Maps).
  • Binary tree programming: Add a method to the IntTree class from lecture. (similar to section 15, 16 problems)
  • Binary tree programming: Add a method to the IntTree class from lecture. Similar in spirit to the previous question but harder (likely involves modifying or building a tree).
  • Linked list programming: Add a method to the LinkedIntList class from lecture. (similar to section 6, 17 problems)
  • Recursion programming: Write a method that uses recursion

The following topics are guaranteed NOT to be explicitly tested on the final exam:

  • detailed knowledge of Big-Oh (some questions may ask you to solve them within a certain big-Oh limit, but mainly this is just to ward off extremely inefficient answers)
  • detailed knowledge of search/sort algorithms
  • recursive backtracking (recursion will definitely be needed, but not specific backtracking problems)
  • writing code with 2-D arrays
  • catching exceptions
  • priority queues
  • input/output streams
  • abstract classes
  • inner classes
  • implementing an Iterator class
  • implementing a "generic" class (one that accepts type parameters such as <T>)
  • hashing

Practice Exams:

We strongly suggest that you try to solve all of these problems yourself, on paper, without a computer, and without looking at the answer key until you're done. You may also want to time yourself to practice your pacing.

icon practice final exam (key at the bottom)

Our actual final exam will be most similar to the practice exam above. Additional practice problems can be found in Practice-It or in the PDFs below:

Midterm Exam: Monday, May 12th, 5pm - 6pm in Kane 120 and 130

Results:

You can now check your midterm score on MyUW (see instructions). Your exam wil be returned to you in section on Tuesday. Please wait to receive your exam before asking grading questions!

Shift: The score listed on MyUW is your raw score. Since the exam took a little longer than I wanted, there will be a +3 point shift added to everyone's score. However, the maximum possible midterm score is 100. So, for example, if you got 99 on the exam, your score maxes out at 100, not 102.

Stats:

stat raw adjusted
MEDIAN 77 80
AVG 74 77
grade adjusted% of class
As (90-100) 121 24%
Bs (80-89) 145 28%
Cs (70-79) 98 19%
Ds (60-69) 85 17%
Es (0-59) 65 13%
question average raw score
Q1 (ArrayList mystery) 10.8 / 12
Q2 (Recursive tracing) 11.6 / 12
Q3 (Linked lists) 11.6 / 15
Q4 (ArrayIntList) 10.3 / 15
Q5 (Stacks/queues) 10.4 / 16
Q6 (Collections) 12.6 / 15
Q7 (Recursion) 7   / 15

Low Grades: If you weren't satisfied with your midterm grade, please remember that it's only 20% of your grade -- there's still about 50% of your grade to be determined! If you want to calculate your current course grade, the syllabus describes the grading scale. You can also use the Grade-a-nator to help you compute your approximate grade. Also look at our FAQ page for info about S/NS grading options, drop dates, and other information.

Regrades:

If your exam score was simply added up incorrectly, take it to your TA and they'll fix it for you.

If you believe that one or more programming problem was incorrectly graded and you would like Hélène to regrade it, you must:

  • Type in the problem(s) to a Java file exactly as it appears on your exam.
  • E-mail Hélène a detailed description of why you believe your problem(s) were graded incorrectly. Attach the Java file with your code.
  • Give Hélène your original midterm either in person or slide it under her door in CSE338.
  • All regrade requests must be received by Monday, June 2nd.
  • Hélène will regrade your entire exam meaning that your exam score may go down as a result of a regrade request (capped at -2).

Midterm Content

icon cheat sheet (will be provided as last page of exam)

Material from Weeks 1-5 is considered "fair game" for questions on the midterm. The actual midterm exam will have 6-8 total problems. Those problems will be selected from the following kinds of questions (and no other kinds of questions):

  • ArrayList "mystery" (look at a piece of code that uses ArrayLists, and write its output -- video)
  • ArrayList programming (write a method that uses ArrayLists)
  • ArrayIntList programming (add a method to the ArrayIntList class from lecture)
  • Collection programming (write a method that uses Java collections such as Lists, Sets, and Maps)
  • stack and queue programming (write a method that uses Stacks and Queues)
  • linked list node manipulation (write a few lines of code to change a "before" picture of some linked nodes into an "after" picture -- video)
  • recursion tracing (look at a piece of recursive code, and write its output)
  • recursion programming (write a method that uses recursion)
  • The following topics are guaranteed NOT to be required to solve any problem on the midterm:
    • Java I/O, file processing, Scanner
    • programming with inheritance (extending a class, etc.)
    • writing an interface (though you might have to write a method that accepts a parameter of interface type, such as List, Set, Map, etc.
    • testing, debugging, commenting
    • grammars
    • Iterator

Practice-It has many sample midterms. We recommend that you practice on paper so here are PDFs you can print out:

Midterm Rules and Information:

  • You must sit in your assigned seat. The seat assignments are:
    • Kane 130 (all A sections): list, map
    • Kane 120 (all B sections): list, map
  • We may ask to check your UW ID card during the exam so please have it ready.
  • You will have 60 minutes to complete the exam. You may receive a 10-point deduction if you keep your exam booklet open after time is called.
  • The exam is closed-book. You must work alone and may not use any computing devices of any kind including calculators or digital copies of the textbook. Cell phones, music players, and other electronic devices may NOT be out during the exam for any reason.
  • Unless a question specifically mentions otherwise, the code you write will be graded purely on external correctness (proper behavior and output) and not on internal correctness (style). So, for example, redundancy or lack of comments will not reduce your score.
  • You don't need to write any import statements in your exam code.
  • You may use S.o.p for System.out.print and S.o.pln for System.out.println. Otherwise do not abbreviate any code on the exam.
  • Please be quiet during the exam. If you have a question or need, please raise your hand.
  • Corrections or clarifications to the exam will be written at the front of the room.
  • If you violate the University Code of Conduct during the exam, you may receive a 0% for the exam and possibly further punishment.
  • When you have finished the exam, please turn in your exam quietly and leave the room.
  • If you enter the room, you must turn in an exam paper and will not be permitted to leave the room without doing so.