Docsity

CSCI 2310 Exam 2 Review Sheet: Preparation Guidance and Focus Areas, Exams of Computer Science

Toggle sidebar
bg1
CSCI 2310
Exam 2 Review Sheet
(Exam Date: Thursday April 2)
The exam is closed-book and closed-note. Exception you may bring one sheet of handwritten
notes (normal sized paper). You may write notes on both the front and the back. Note also that
you will need to bring your own paper on which to write your answers. Five pages should be
more than adequate.
The exam focus is on applying the algorithmic and programming ideas we have studied. While
the exam emphasizes the material we’ve covered since the previous exam, it assumes that you
still can understand and use the material covered in the previous exam. For example, you should
remain familiar and comfortable with the following String class methods: length, equals, charAt,
substring, indexOf. The exam material emphasizes the following sections from the text: 3.1-3.3,
4.1-4.2, 5.1-5.3, and 6.1-6.4.
Specific Requirements
•
Tracing through execution of several programs that combine concepts related to conditional
execution (i.e. if statements), repetitive execution (i.e. loops), and use method calls.
•
Reading and understanding a class definition well enough to use and create new constructor,
accessor, and mutator methods. A good practice problem is Programming Project #10 of
Chapter 6, page 436.
•
Writing of simple functions/methods that return values and use complex conditional logic,
loops, and/or string manipulations.
•
Writing of a complete program that requires maintenance of state information, use of
abstractly specified methods, and uses complex control constructs.
Tips for Preparing
•
Work and rework sample exercises and problems. If you understand the material well
enough to write code to solve problems, you have a good understanding of the material.
Some recommended exercises are given on the back of this page.
•
Form study groups and ask each other questions or else individually work on problems and
compare solutions.
•
Think about what notes you are going to put on your sheet. Focus on things you have a hard
time remembering.
•
Be well rested so that you can think clearly and read carefully.
pf2

Partial preview of the text

Download CSCI 2310 Exam 2 Review Sheet: Preparation Guidance and Focus Areas and more Exams Computer Science in PDF only on Docsity!

CSCI 2310

Exam 2 Review Sheet

(Exam Date: Thursday April 2)

The exam is closed-book and closed-note. Exception you may bring one sheet of handwritten notes (normal sized paper). You may write notes on both the front and the back. Note also that you will need to bring your own paper on which to write your answers. Five pages should be more than adequate.

The exam focus is on applying the algorithmic and programming ideas we have studied. While the exam emphasizes the material we’ve covered since the previous exam, it assumes that you still can understand and use the material covered in the previous exam. For example, you should remain familiar and comfortable with the following String class methods: length, equals, charAt, substring, indexOf. The exam material emphasizes the following sections from the text: 3.1-3.3, 4.1-4.2, 5.1-5.3, and 6.1-6.4.

Specific Requirements

  • Tracing through execution of several programs that combine concepts related to conditional execution (i.e. if statements), repetitive execution (i.e. loops), and use method calls.
  • Reading and understanding a class definition well enough to use and create new constructor, accessor, and mutator methods. A good practice problem is Programming Project #10 of Chapter 6, page 436.
  • Writing of simple functions/methods that return values and use complex conditional logic, loops, and/or string manipulations.
  • Writing of a complete program that requires maintenance of state information, use of abstractly specified methods, and uses complex control constructs.

Tips for Preparing

  • Work and rework sample exercises and problems. If you understand the material well enough to write code to solve problems, you have a good understanding of the material. Some recommended exercises are given on the back of this page.
  • Form study groups and ask each other questions or else individually work on problems and compare solutions.
  • Think about what notes you are going to put on your sheet. Focus on things you have a hard time remembering.
  • Be well rested so that you can think clearly and read carefully.

Suggested Exercises

The following are some problems and exercises from the book that may be helpful as you prepare. I would not necessarily suggest you do all the Chapter 3 problems before doing Chapter 4 problems, etc. Time constraints will likely make it that you will need to pick and choose the problems you work on. Try to spend at least an hour each day working problems between now and the exam and you should be well-prepared!

Chapter 3

Exercises: 1- Programming Projects: 1, 5, 8, 9

Chapter 4

Exercises 4-6, 8, 9, 13, 16, 18, 19 Programming Project: 14

Chapter 5

Self-Test Questions: 10-12, 13, 16, 17-18, 28, 31

Chapter 6

Self-Test Questions: 1-26, 29, 32- Exercise: 2 Programming Project: 6, 10, 12