ITEC 2610 Study Guide - Midterm Guide: Zircon, Zymology

812 views8 pages

Document Summary

This exam is closed textbook(s) and closed notes. Use of any electronic device (e. g. , for computing and/or communicating) is not permitted. Do not un-staple this test book any detached sheets will be discarded. No additional sheets are permitted. (note: a blank page has been provided at the back of this test book that you may use for rough work; do not detach it) The total value of all questions is 100. Write your section letter, your name and student number in the space below. Note: you may use pen or pencil, but answers in pencil will. Consider the following (partial) api of two classes: class department. Parameters: name - name of the department budget - budget of this department void assign(employee who) Parameter: who - the employee to be assigned to this department int getheadcount() Returns: the number of employees in this department int getbudget() Returns: the budget of this department void changebudget(int delta)