Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

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

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M9717761
  • Price:- $15

Priced at Now at $15, Verified Solution

Have any Question?


Related Questions in C/C++

Software development fundamentals assignment 1 -details amp

Software Development Fundamentals Assignment 1 - Details & Problems - In this assignment, you are required to answer the short questions, identify error in the code, give output of the code and develop three C# Console P ...

Assign ment - genetic algorithmin this assignment you will

ASSIGN MENT - GENETIC ALGORITHM In this assignment, you will use your C programming skills to build a simple Genetic Algorithm. DESCRIPTION OF THE PROGRAM - CORE REQUIREMENTS - REQ1: Command-line arguments The user of yo ...

Project - space race part a console Project - Space Race Part A: Console Implementation

Project - Space Race Part A: Console Implementation INTRODUCTION This assignment aims to give you a real problem-solving experience, similar to what you might encounter in the workplace. You have been hired to complete a ...

Why do researcher drop the ewaste and where does it end

Why do researcher drop the ewaste and where does it end up?

1 implement the binary search tree bst in c using the node

1. Implement the Binary Search Tree (BST) in C++, using the Node class template provided below. Please read the provided helper methods in class BST, especially for deleteValue(), make sure you get a fully understanding ...

Assignment word matchingwhats a six-letter word that has an

Assignment: Word Matching What's a six-letter word that has an e as its first, third, and fifth letter? Can you find an anagram of pine grave. Or how about a word that starts and ends with ant (other than ant itself, of ...

There are several ways to calculate the pulse width of a

There are several ways to calculate the pulse width of a digital input signal. One method is to directly read the input pin and another method (more efficient) is to use a timer and pin change interrupt. Function startTi ...

Question 1find the minimum and maximum of a list of numbers

Question: 1. Find the Minimum and Maximum of a List of Numbers: 10 points File: find_min_max.cpp Write a program that reads some number of integers from the user and finds the minimum and maximum numbers in this list. Th ...

What are the legal requirements with which websites must

What are the legal requirements with which websites must comply in order to meet the needs of persons with disabilities? Why is maximizing accessibility important to everyone?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As