Back to ITP 100 Syllabus

Back to Home Page

Email:  bholt@nvcc.edu

 

Assignment 5 

Answer the following questions.  If there is more than one blank, be sure to fill in both.  You may submit just the answers or both the questions and answers.  Attach the assignment to an email for submission.

1.  A diagram which represents a single unit of work (piece of meaningful work to achieve a specific goal)  such as OrderABook and the user such as a customer  is called a _______________

2.  Why would general comments be included in  the modeling diagrams?

3.  If I have to write a program to be used by a person who does the intake in a hospital, what might be some of the 'constraints'.  The tutorial shows constraints for an order.  List 3 for a hospital intake.

4.  Actors can be human or _________  (inhuman is not the answer!)

5.  How many use cases can an actor have access to in a system?  ____

6.  What is the purpose of a sequence diagram?

7.  Objects communicate by means of ________

8.  Using the sequence diagram in this assignment, what is the object which is actually the user interface?

9.   What kind of diagram is below ___________

Customer

+Name
+Address
+Phone
#Customer ID
-CreditRating

+GetCustomerData()
#AssignID()
#DisplayAndConfirmData()
-AssignCreditRating()
boolean IsDuplicate ()

 

10.  What is GetCustomerData()  ?____________

11.  What is Name?__________

12.  A program instantiates an instance of Customer.  The instance is called an _______________ of the Customer class. 

13.  What is the class name in the diagram above?____________

14.  What do you think is the difference between public and private visibility?  In the case above CreditRating would have private visibility while Name would possibly be public.

15.  Two classes or elements have a relationship of some kind.  This basic relationship is known as ___________

16.  The parentheses following the method names above may or may not contain ____________  (from ALICE chapters) which provide data for the method or operation to use in its task.

17.  boolean IsDuplicate() is a special kind of method which returns a boolean value (one that is true or false) to the calling method or routine.  A method which returns a value is called a ________ (The answer to this is also found in ALICE).

General OOPs questions that should have been learned throughout the course...

18.  A property of a superclass such as ItemName or Snowman.RightEye shared by subclasses or derived classes is known as an ____________ property.

19.  When a user clicks a mouse or presses a key while a program is executing, this is known as an_________

20.  Define encapsulation/information hiding.  Use the Internet to find the definition and give an example which shows you understand the concept.