

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this past exam are: Sequence Diagram, Superclass Parts, Instance Variables, Subclass Parts, Public Members, Protected Members, Sequence Diagram
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


This quiz is to be taken by yourself with closed books, closed notes, no electronic devices.
In a MVC architecture (Circle all that are true/correct) A. The user only manipulates Controller(s) B. The Model may change independent of the Controller(s) changing the Model C. When the Model is changed, it notifies both the Controller(s) and View(s) that it has changed D. View(s) and Controller(s) can be hard to separate (ex: a text box is both a View & a Controller) E. View(s) and Controller(s) are highly dependent on the Model, but not the other way around
Objects maintain their own state via (Circle correct letter) A. Their superclass parts B. Their static variables C. Their instance variables D. Their local variables E. Their subclass parts
Interface defines __________ messages can be sent to an object while implementation defines __________ messages are coded. (Use the words "how" and/or "what" to answer this question.)
The 3 main tenets/features of OOP are
Inheritance with an interface is an example of pure inheritance of ________________________.
Inheritance with a(n) ________________ superclass is an example of a mixture of the two types of inheritance.
______________________ gives us an is-a relationship while _______________________ gives us a has-a relationship.
To realize the real power of dynamic binding A. A superclass reference must be a concrete class B. A superclass reference must be an interface C. A superclass reference must be an abstract class D. A superclass reference can be any type: interface, abstract class, or concrete class
In UML notation for access, public members are notated with a _______
protected members are notated with a _______
private members are notated with a _______
You've just finished working on a new feature that required new files to be added to the project. What is/are the proper svn command(s) to make your changes available through the repository?
In the reading on UML that I handed out, there is an error in Fig. 2-8 Sequence diagram. Describe which message sequence number is in error and how you would fix it. Describe in words; do not draw on the diagram.