CS 111: Test 3 info

Table of Contents

Notes sheet

You are permitted one 8.5 x 11 handwritten notes sheet (both sides) for use as a reference during the exam.

How to study

Lots of research has shown that just reading over material isn't enough to prepare for exams. That's a fine way to help familiarize yourself with what's there, but to be able to do well on a test you then need to additionally practice what you will do on the test. Reading about how to swing a baseball bat or how to cross-country ski will give you some good ideas on how to get better the next time you try it, but you then need to get out there and swing a bat or ski in the Arb to actually get better.

How can you practice? One thing you can do is try the exercises at the end of each chapter, for which the solutions are available online. Practice these under test conditions and see how you do.

Make sure to do all of your practicing on paper, not at a keyboard, so as to simulate the exam conditions.

Exam content

Listed below is the material that I have in mind that you should know for the exam. It's what's in my head when creating it. That said, this isn't a contract. I may have inadvertently left something off this list that ends up on an exam question. I make no guarantees that the exam will be 100% limited to items listed below. Moreover, I will not be able to test all of this material given the time limitations of the exam. I will have to pick and choose some subset of it.

Ultimately, the content that I will be drawing from for the exam is material that we have talked about in class, and material that you have used on assignments. The textbook does have a variety of things mentioned in passing that are worth knowing, but if we haven't discussed it in class and/or if it hasn't been part of an assignment, I won't test on it.

Students should be able to…

Be able to write a function to perform a specified task. Be able to correctly predict results from a program that utilizes functions, parameters, and local variables. Be able to appropriately handle use return statements and return values. Be able to distinguish when changing a parameter inside of a function has effects outside of that function.

Demonstrate ability to interpret and utilize loops ("while", "for"). Can interpret and construct code that does repetitive tasks, including nested loops.

Be able to write code to do image processing, both in gray and color, similar to the examples we did for the assignments. My goal is not to test detailed memorization of the images library, but rather the ability to use it to do interesting things. Students should already know how to the tasks we've done repeatedly such as reading an image from a file, reading pixels, modifying pixels, etc., but I will provide copies of the appropriate portions of the images.py documentation (currently linked on Moodle) that are relevant.

Be able to create and use lists and dictionaries. Be able to manipulate lists and dictionaries within the contexts of loops and "if" statements to accomplish a desired task.

Continue to be able to use important programming skills from the first third of the course, such as arithmetic, files, strings, input/output, and so on. Exam questions won't be written with the explicit purpose of testing these items, but could easily include them as part of a problem designed to test a more recent idea.

Author: Dave Musicant

Emacs 24.5.1 (Org mode 8.2.10)

Validate