Problems on oops

Assignment Help C/C++ Programming
Reference no: EM132080

Question 1:

The figure given is an example of Select one:

a. Class Adapter Pattern
b. Observer Pattern
c. Composite Pattern
d. Object Adapter Pattern

Question 2:

Which of the following can apply to this conceptual model Select one:

a. Be your own boss
b. Neither a leader nor a follower
c. Sitting on the top of the tree
d. Too many chefs, not enough indians

Question 3:

In an interaction diagram, how do objects show the name of an object and its class?

Select one:
a. classname ; objectname
b. classname : objectname
c. objectname : classname
d. objectname ; classname

Question 4:

The following diagram indicates:
Select one:

a. A subject can be taken by 0 or more students
b. A student can take zero or up to 5 subjects
c. A student can take exactly 5 subjects
d. A subject can be taken by zero or up to 5 students

Question 5:

In the following diagram the attribute duration is of type

Select one:
a. derived attribute
b. extended Attribute
c. premative attribute
d. simple Attribute

Question 6:

Class responsibilities are defined by
Select one:
a. its attributes only
b. its collaborators
c. its operations only
d. both its attributes and operations

Question 7:

Which of the following statements about synchronous and asynchronous communication in UML2 sequence diagrams are true?
Select one:

a. With asynchronous communication the sender pauses to wait for a response.
With synchronous communication the sender pauses to wait for a response.
b. Synchronous communication is modeled with a closed arrowhead, asynchronous communication is modeled with an open arrowhead.
c. Asynchronous communication is modeled with a closed arrowhead, synchronous communication is modeled with an open arrowhead.
d. The modeling of answer messages is compulsary.

Question 8:

For the given activity diagram. Which of the following action sequences are possible during one execution of the activity
Select one:
a. A → D → C, A → D
b. A → B → D → C, A → D
c. A → B → C→ D, A → D
d. A → B → C, A → D

Question 9:

A course is composed of 25 to 30 students and one or more teachers. How can this be modelled as

Select one:
a. Dependency
b. composition
c. Genralization
d. Aggregation

Question 10

In Library Management System, The expert which have information about all the resources available in library is

Select one:
a. Catalogue
b. Librarian
c. Borrower
d. Library

Question 11

class AudioClipManager. This class can be used to avoid playing two audio clips at the same time. If all audio clips are played through the AudioClipManager object then there will never be more than one audio clip playing at the same time. This is a good example of

Select one:
a. Observer
b. Singleton
c. Strategy
d. Factory

Question 12

pathname format for referring class dog to class shark is

Select one:
a. animals::shark:dog
b. animals::fish:shark
c. animals::fish:dog
d. animals::dog:shark

Question 13

Mobile phones consists of basic parts such as the keypad LCD speaker microphone etc, if speaker or microphone fail, we just replace the phone. This example should be modelled as

Select one:
a. Dependency
b. Aggregation
c. Composition
d. Genralization

Question 14

Which of the following statements is incorrect?

Select one:
a. The phases of the Unified Process mix the Inception, Elaboration, Construction, and Transition phases. As the iterations progress, the balance between these phases shifts. ----answer
b. The Unified Process consists of various phases. Each phase consists of a different mix of the Analysis, Design, Implementation, and Testing phases of the waterfall model.
c. Each iteration aims to deliver a `base line product' that could in principle be released.
The subsequent iterations improve upon this baseline
d. The Unified Process plans short iterations to make the software development process more robust against changes in requirements.

Question 15

Object destruction is denoted by a large X at the bottom of the object lifeline in the UML Sequence diagram. Such object destruction in sequence diagram can happen for

Select one:
a. book
b. shopping cart
c. order
d. clerk

Question 16

Which design pattern is most appropriate to be used for this figure?

Select one:
a. Strategy
b. Composite
c. Factory
d. Observer

Question 17

From the following figure, the object BorrowResourse Handler is

Select one:
a. Use case controller
b. Facade controller
c. Application Controller
d. Front Controller

Question 18

Every system operation initiates a collaboration diagram, the first object to receive the system operations like recordBorrow, borrowResource, printBook could be

Select one:
a. Librarian
b. Catalogue
c. Borrower
d. Library

Reference no: EM132080

Questions Cloud

What route will take the least amount of time? : What route will take the least amount of time?
Discuss the kingdom of saudi arabia : Discuss the Kingdom of Saudi Arabia
Prepare an efas table for the company : Prepare an EFAS table for the company
Describe the soviet rapid development model : Describe the Soviet Rapid Development Model
Problems on oops : Problems on OOPS
Briefly summarise the contents of this report : Briefly summarise the contents of this report
Writing an effective business letter : Prepare a letter in either block or modified block format, addressed to your employer or supervisor and copied to your marker.
Use a chain of flip-flop to implement a shifter register : Use a chain of flip-flop to implement a shifter register
Explain international monetary system : Explain International Monetary System

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd