SEN632 Java C++ UML MVC Software Architecture Application - Exam Prep - Part Two.txt

Card Set Information

Author:
caldreaming
ID:
289247
Filename:
SEN632 Java C++ UML MVC Software Architecture Application - Exam Prep - Part Two.txt
Updated:
2014-11-15 11:27:49
Tags:
java plus UML unified modeling language mvc model view controller javax javascript applet servlet program programming software application engineering operating systems os architecture
Folders:

Description:
An in-depth study of software architecture. Defines and discusses object-oriented design, modeling and programming at an advanced level using UML. An advanced study of a standard implementation of a distributed, object-oriented middleware technology (e.g., J2EE, Microsoft.NET, etc. ). Students design and implement an architecture using modern technologies such as J2EE, .NET.
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user caldreaming on FreezingBlue Flashcards. What would you like to do?


  1. With reference to Figure 6, which kind of icon would you use to represent a communication path between systems or between a human and a system? Choose only one option.



    A) A
    B) C
    C) B
    B) C
    (this multiple choice question has been scrambled)
  2. With reference to Figure 6, which kind of icon would you use to represent an object that coordinates a system process, creates objects or retrieves objects? Choose only one option.



    A) A
    B) C
    C) B
    A) A
    (this multiple choice question has been scrambled)
  3. In Figure 7, what does the arrow hitting the p:PMember box indicate? Choose only one option.


    A) p is a temporary object.  
    B) p is hosted by a separate thread.  
    C) p is created at that moment in time.  
    D) The message is sent to a class.
    E) p is a local object, accessible only to the calling method.  
    C) p is created at that moment in time.
    (this multiple choice question has been scrambled)
  4. What kind of diagram is shown in Figure 7? Choose only one option.  



    A) State machine diagram.  
    B) Use case diagram. 
    C) Activity diagram. 
    D) Deployment diagram.
    E) Communication diagram. 
    F) Class diagram. 
    G) Sequence diagram. 
    G) Sequence diagram.
    (this multiple choice question has been scrambled)
  5. With reference to Figure 8, what is Z? Choose only one option.



    A) A boundary.  
    B) An interface.  
    C) A property.
    D) A class.  
    E) An event.  
    B) An interface.
    (this multiple choice question has been scrambled)
  6. With reference to Figure 6, which kind of icon would you use to represent a business object containing useful information? Choose only one option.



    A) C
    B) A
    C) B
    C) B
    (this multiple choice question has been scrambled)
  7. With reference to Figure 6, what kind of objects are A, B and C? Choose only one option.



    A) A is an entity, B is a controller, C is a boundary.  
    B) A is a boundary, B is an entity, C is a controller.  
    C) A is a controller, B is a boundary, C is an entity.
    D) A is a controller, B is an entity, C is a boundary.  
    E) A is a boundary, B is a controller, C is an entity.  
    F) A is an entity, B is a boundary, C is a controller.  
    D) A is a controller, B is an entity, C is a boundary.
    (this multiple choice question has been scrambled)
  8. With reference to Figure 5, what do Diagrams 1 and 2 illustrate? Choose only one option.



    A) 1: An attribute, 2: An aggregation.  
    B) 1: An aggregation, 2: A composition.  
    C) 1: A composition, 2: An attribute.
    D) 1: An attribute, 2: A composition.  
    E) 1: An aggregation, 2: An attribute.  
    D) 1: An attribute, 2: A composition.
    (this multiple choice question has been scrambled)
  9. With reference to Figure 5, what is the difference between the two diagrams? Choose only one option.



    A) In Diagram 1, Color is public but in Diagram 2 Color is private.  
    B) Diagram 2 indicates that the car's Color can be removed and replaced.  
    C) None, they mean the same thing.
    D) Diagram 1 shows an abstract class and Diagram 2 shows a concrete class.  
    C) None, they mean the same thing.
    (this multiple choice question has been scrambled)
  10. With reference to Figure 4, which of the following statements are true? Choose all options that apply.


    a) UC5 is a compulsory part of UC4.  
    b) UC4 is an optional part of UC5.  
    c) UC1 is unused.  
    d) UC2 is an optional part of UC4.  
    e) UC4 is a compulsory part of UC2.
    • a) UC5 is a compulsory part of UC4.  
    • d) UC2 is an optional part of UC4.
  11. With reference to Figure 4, what are X1, X2 and X3? Choose only one option.



    A) Roles.  
    B) Actors.  
    C) Prima donnas.  
    D) Sticks.
    B) Actors.
    (this multiple choice question has been scrambled)
  12. With reference to Figure 4, which of the following statements are true? Choose all options that apply.


    a) X3 can interact with the system using UC4.  
    b) X1 can interact with the system using UC1 and UC4.  
    c) X3 and X1 are different kinds of X2.  
    d) UC3 is an abstract use case with no steps of its own.
    All four;

    • a) X3 can interact with the system using UC4.  
    • b) X1 can interact with the system using UC1 and UC4.  
    • c) X3 and X1 are different kinds of X2.  
    • d) UC3 is an abstract use case with no steps of its own.
  13. With reference to Figure 2, which of the following assignments would be allowed by a compiler? Choose all options that apply.


    a) sq = sh;  
    b) sh = tr;  
    c) tr = sq;  
    d) tr = sh;  
    e) sh = sq;  
    f) sq = tr;
    • b) sh = tr;  
    • e) sh = sq;
  14. What is a "class invariant"? Choose only one option.  

    A) A class whose objects have constant fields.  
    B) A class whose source code is versioned and therefore cannot be changed.  
    C) A condition that will always be true for an instance of the class.
    C) A condition that will always be true for an instance of the class.
    (this multiple choice question has been scrambled)
  15. PizzaBase Case Study 
    The PizzaBase restaurant wants to automate the ordering of pizzas by customers. Each table will be fitted with a touch-sensitive screen which customers can use to browse the pizzas on offer and select their choice. Two basic types of pizza will be offered: the Do-it-Yourself will have a base with tomato sauce only and then customers can choose any number of toppings, at a fixed price per topping; the Prefab will come in several varieties, each with a fixed set of toppings. Every pizza can be ordered with a deep crust or crispy base, and three sizes are available: 6 inch, 9 inch and 12 inch. Customers will also be able to order from a fixed set of drinks, such as cola and lemonade flavours, each in large or small size. Once customers have confirmed their order, they will be shown the final price and, thereafter, the screen will display the progress of their food as it is being prepared and cooked. At the end of a meal, payment will be made in the conventional way. With reference to the PizzaBase case study, which of the following is the most likely list of attributes at the analysis stage? Choose only one option.  

    A) flavour, variety, payment, final, display, meal, tomato.  
    B) cola, base, price, size, lemonade, payment.  
    C) base, price, variety, size, progress, flavour.
    D) progress, variety, flavour, price, touchSensitive, size, drink.  
    C) base, price, variety, size, progress, flavour.
    (this multiple choice question has been scrambled)
  16. PizzaBase Case Study 
    The PizzaBase restaurant wants to automate the ordering of pizzas by customers. Each table will be fitted with a touch-sensitive screen which customers can use to browse the pizzas on offer and select their choice. Two basic types of pizza will be offered: the Do-it-Yourself will have a base with tomato sauce only and then customers can choose any number of toppings, at a fixed price per topping; the Prefab will come in several varieties, each with a fixed set of toppings. Every pizza can be ordered with a deep crust or crispy base, and three sizes are available: 6 inch, 9 inch and 12 inch. Customers will also be able to order from a fixed set of drinks, such as cola and lemonade flavours, each in large or small size. Once customers have confirmed their order, they will be shown the final price and, thereafter, the screen will display the progress of their food as it is being prepared and cooked. At the end of a meal, payment will be made in the conventional way.

    With reference to the PizzaBase case study, which of the following is the most likely list of analysis classes? Choose only one option.  

    A) Screen, Order, Offer, Topping, Size, Meal, Pizza, Restaurant.  
    B) Customer, Table, Pizza, Topping, Drink, Restaurant, Order.  
    C) Pizza, Customer, Cook, Table, Crust, Topping, Drink, Restaurant.
    D) Payment, Order, Drink, Topping, Pizza, Order, Restaurant, Base, Sauce.  
    E) Restaurant, Pizza, Topping, Display, Order, Payment, Touch.  
    F) PizzaBase, Cola, Restaurant, Lemonade, Customer, Do-it-Yourself, Prefab, Table, Order.  
    B) Customer, Table, Pizza, Topping, Drink, Restaurant, Order.
    (this multiple choice question has been scrambled)
  17. PizzaBase Case Study 
    The PizzaBase restaurant wants to automate the ordering of pizzas by customers. Each table will be fitted with a touch-sensitive screen which customers can use to browse the pizzas on offer and select their choice. Two basic types of pizza will be offered: the Do-it-Yourself will have a base with tomato sauce only and then customers can choose any number of toppings, at a fixed price per topping; the Prefab will come in several varieties, each with a fixed set of toppings. Every pizza can be ordered with a deep crust or crispy base, and three sizes are available: 6 inch, 9 inch and 12 inch. Customers will also be able to order from a fixed set of drinks, such as cola and lemonade flavours, each in large or small size. Once customers have confirmed their order, they will be shown the final price and, thereafter, the screen will display the progress of their food as it is being prepared and cooked. At the end of a meal, payment will be made in the conventional way.

    With reference to the PizzaBase case study, which of the following options are likely business use cases? Choose all options that apply.  

    a) Customer pays for meal.  
    b) Restaurant prepares meal.  
    c) Customer sees progress of food.  
    d) Customer chooses pizza.  
    e) Customer selects drink from display.
    • a) Customer pays for meal. 
    • b) Restaurant prepares meal.  
    • d) Customer chooses pizza.
  18. PizzaBase Case Study 
    The PizzaBase restaurant wants to automate the ordering of pizzas by customers. Each table will be fitted with a touch-sensitive screen which customers can use to browse the pizzas on offer and select their choice. Two basic types of pizza will be offered: the Do-it-Yourself will have a base with tomato sauce only and then customers can choose any number of toppings, at a fixed price per topping; the Prefab will come in several varieties, each with a fixed set of toppings. Every pizza can be ordered with a deep crust or crispy base, and three sizes are available: 6 inch, 9 inch and 12 inch. Customers will also be able to order from a fixed set of drinks, such as cola and lemonade flavours, each in large or small size. Once customers have confirmed their order, they will be shown the final price and, thereafter, the screen will display the progress of their food as it is being prepared and cooked. At the end of a meal, payment will be made in the conventional way.

    With reference to Figure 3, which diagram is the best model of Pizzas in the PizzaBase restaurant? Choose only one option.



    A) Diagram 1.  
    B) Diagram 2.  
    C) Diagram 3.
    B) Diagram 2.
    (this multiple choice question has been scrambled)
  19. With reference to Figure 2, which methods correspond to the following message sends (in the order given)? Choose only one option. 
    tr.height(); 
    sh.perimeter(); 
    sq.height(); 
    sq.perimeter(); 
    sh.height(); 
    tr.perimeter();

    A)  3, 1, none (error), 4, none (error), 5.  
    B)  3, 5, none (error), 4, none (error), 5.
    C)  3, 1, none (error), 4, 3, 5.  
    D)  3, 5, none (error), 4, 3, 5.  
    B)  3, 5, none (error), 4, none (error), 5.
    (this multiple choice question has been scrambled)
  20. With reference to Figure 2, which of the following message sends would be allowed by a compiler? Choose all options that apply.

    a) sh.perimeter();  
    b) tr.perimeter();  
    c) sh.height();  
    d) sq.height();  
    e) sq.perimeter();  
    f) tr.height();
    • a) sh.perimeter();  
    • b) tr.perimeter();  
    • e) sq.perimeter();  
    • f) tr.height();
  21. With reference to Figure 1, what do you think is the most likely implementation of the relationship between Car and Engine? Choose only one option.


    A) A field, of type Engine, in Car.  
    B) A field, of type Engine, in Car and a field, of type Car, in Engine.
    C) A field, of type Car, in Engine.  
    D) A class called CarEngine with one field of type Car and another field of type Engine.  
    A) A field, of type Engine, in Car.
    (this multiple choice question has been scrambled)
  22. With reference to Figure 1, which of the following statements are true? Choose all options that apply.

    a) A car always has the same body.  
    b) Some cars have spare wheels.  
    c) A car has one engine, and engines are not shared between cars.  
    d) All cars have either four or five wheels.  
    e) A car must have at least one driver.  
    f) Passengers cannot be drivers.
    • a) A car always has the same body.  
    • c) A car has one engine, and engines are not shared between cars.  
    • d) All cars have either four or five wheels.

What would you like to do?

Home > Flashcards > Print Preview