COMPSCI 61B Study Guide - Midterm Guide: Public Account

36 views5 pages
8 Jan 2019
School
Professor

Document Summary

Read each problem carefully, and avoid spending too much time on any one question! There is a 1-page appendix at the end of this exam that included code you have seen before. You may tear that page off your exam if you wish. Problem 0 (1 point): fill out all the following information. Once you are told to begin, also fill out your name and login at the top of each page. The following grid will be used for grading. Do not open this booklet until you are told to begin! Problem 1: (5 points) this problem refers to the account class from lab2, which is attached to the end of this exam booklet as an appendix. Parts a-d: below are some possible box-and-pointer diagrams for account objects. Which of the pictures are legal diagrams that could be produced by a program outside the account class, e. g. , a separate test class.