The “part-whole”, or “a-part-of”, relationship in which objects representing the components of something associated with an object representing the entire assembly is called as (A) Association (B) Aggregation (C) Encapsulation (D) Generalisation

1 Answer

Answer :

(B) Aggregation

Related questions

Description : Define the following: a. Aggregation among objects. b. Class. c. Repeated inheritance. d. Encapsulation. e. Scenario.

Last Answer : Ans: a).Aggregation among objects Aggregation among objects represents a relationship. It is a whole/part relationship. Aggregation may imply containment. b).Class A class is a template that specifies the ... or it can be shown as an event trace diagram in which events between objects are shown.

Description : Abstraction and encapsulation are fundamental principles that underlie the object oriented approach to software development. What can you say about the following two statements? I. Abstraction allows us to focus on what something ... and II are correct. (3) Only II is correct. (4) Only I is correct.

Last Answer : (1) Neither I nor II is correct.

Description : Which of the following statements is correct? (A) Aggregation is a strong type of association between two classes with full ownership. (B) Aggregation is a strong type of association between two ... ownership. (D) Aggregation is a weak type of association between two classes with full ownership.

Last Answer : (C) Aggregation is a weak type of association between two classes with partial ownership.

Description : Which of the following condition is true for an object used as a function argument. i) A copy of the entire objects is passed to the function. ii) Only the address of the object is transferred to the function. A) Only i B) Only ii C) Both i and ii D) None of them

Last Answer : C) Both i and ii

Description : ………… enable us to hide, inside the object, both the data fields and the methods that act on that data. A) Encapsulation B) Polymorphism C) Inheritance D) Overloading

Last Answer : A) Encapsulation

Description : What kind of mechanism is to be taken into account for converting a weak entity set into strong entity set in entity-relationship diagram ? (A) Generalization (B) Aggregation (C) Specialization (D) Adding suitable attributes

Last Answer : (D) Adding suitable attributes

Description : …………. Is the process of creating new classes, called derived classes from existing classes called base class. A) Inheritance B) Encapsulation C) Polymorphism D) Overloading

Last Answer : A) Inheritance

Description : What is Encapsulation? How is it implemented in Java?

Last Answer : A: Binding up of data and associated functions together into a single unit called (class) is called Encapsulation. In Java, it is implemented by the use of a class.

Description : In ……………………. mode, a common technique in packet-switched networks consists of wrapping a packet in a new one. A) Tunneling B) Encapsulation C) Both A and B D) None of the above

Last Answer : C) Both A and B

Description : .................. allows to create classes which are derived from other classes, so that they automatically include some of its "parent's" members, plus its own members. (A) Overloading (B) Inheritance (C) Polymorphism (D) Encapsulation 

Last Answer : (B) Inheritance

Description : Module design is used to maximize cohesion and minimize coupling. Which of the following is the key to implement this rule? (A) Inheritance (B) Polymorphism (C) Encapsulation (D) Abstraction

Last Answer : (C) Encapsulation

Description : Which of the following is true about the static member variable in C++. i) It is initialized to zero when the first object of its class is created. Other initialization is also permitted. ii) It is visible only within ... , ii-True B) ii-False, ii-True C) i-True, ii-False D) i-False, iii-False

Last Answer : B) ii-False, ii-True

Description : Which of the following is/ are the characteristics of friend function. A) It is not in the scope of the class to which it has been declared as friend. B) It can invoke like a normal function without the help of any object. C) Usually, it has the objects as arguments. D) All of the above.

Last Answer : D) All of the above.

Description : Superficially the term object-oriented , means that, we organize software as a (A) collection of continuous objects that incorporates both data structure and behaviour. (B) collection of ... and behaviour. (D) collection of objects that incorporates both discrete data structure and behaviour.

Last Answer : (C) collection of discrete objects that incorporates both data structure and behaviour.

Description : Which of the following statements concerning Object-Oriented databases is FALSE? (A) Objects in an object-oriented database contain not only data but also methods for processing the data. (B ... Object-oriented databases store more types of data than relational databases and access that data faster.

Last Answer : (C) Object-oriented databases are more adapt at handling structures (analytical) data than relational databases.

Description : STRIPS addresses the problem of efficiently representing and implementation of a planner. It is not related to which one of the following ? (A) SHAKEY (B) SRI (C) NLP (D) None of these

Last Answer : (C) NLP

Description : Laboratory monitoring of coagulation and anticoagulation includes testing of platelet function. Which of the following statements is/are true concerning tests of platelet function? a. A ... platelet aggregation should be part of the standard preoperative evaluation of patients using aspirin

Last Answer : Answer: a, c Tests of platelet function include peripheral platelet counts, bleeding times, and platelet aggregation. Usually, a platelet count of 50,000/mL or more ensures adequate hemostasis ... is not available in most laboratories, probably because of the observer-dependent nature of the test

Description : As a generalisation, do Italians have pineapple on their pizza?

Last Answer : I don’t know about generally… but this explains how it happened http://en.wikipedia.org/wiki/Hawaiian_pizza

Description : The sequential operations in scientific research are (A) Co-variation, Elimination of Spurious Relations, Generalisation, Theorisation (B) Generalisation, Co-variation, Theorisation, ... Relations, Covariation (D) Elimination of Spurious Relations, Theorisation, Generalisation, Covariation.

Last Answer : (A) Co-variation, Elimination of Spurious Relations, Generalisation, Theorisation 

Description : Based on the cardinality ratio and participation ............... associated with a relationship type, choose either the Foreign Key Design, the Cross Referencing Design or Mutual Referencing Design. (A) Entity (B) Constraints (C) Rules (D) Keys

Last Answer : (B) Constraints

Description : Briefly explain encapsulation and why it is important in object-oriented - programming.

Last Answer : Encapsulation is the principle that all of the data and functionality required by an object be contained by that object. This allows objects to exist as independent, interchangeable units of functionality without maintaining dependencies on other units of code.

Description : Which one of the following rights conferred by the Constitution of India is also available to noncitizens? (1) Freedom of speech, assembly and form association (2) Freedom to move, reside and ... acquire property or to carry on any occupation, trade or business (4) Right to constitutional remedies

Last Answer : (3) Freedom to acquire property or to carry on any occupation, trade or business Explanation: Freedom to acquire property or to carry on any occupation trade or business is also available to non citizens.

Description : An auditor obtains an understanding of the entity and its environment in order to a. Make constructive suggestions concerning improvements to the client's internal control. b. ... misstated. d. Develop an attitude of professional skepticism concerning management's financial statement assertion

Last Answer : Understand the events and transactions that may have an effect on the client's financial statements

Description : What are the components that are needed for representing a plan?

Last Answer : The components that are needed for representing a plan are: A set of plans steps. A set of ordering constraints.

Description : What are the components that are needed for representing an action?

Last Answer : The components that are needed for representing an action are: Action description. Precondition. Effect.

Description : Discovery of cross sales opportunities is called as ............... (A) Association (B) Visualization (C) Correlation (D) Segmentation 

Last Answer : (A) Association

Description : Aggregation represents (A) is_a relationship (B) part_of relationship (C) composed_of relationship (D) none of above

Last Answer : (C) composed_of relationship

Description : Which of the following statement(s) is/are true concerning heparin-associated thrombocytopenia? a. Heparin-associated thrombocytopenia occurs only in the face of over anticoagulation with heparin b. ... d. Heparin-associated thrombocytopenia may be seen within hours of initiation of heparin therapy

Last Answer : Answer: b, c Heparin-associated thrombocytopenia occurs in 0.6% to 30% of patients who receive heparin, although severe thrombocytopenia (platelet counts less than 100,000) is seen in ... as coating on pulmonary artery catheters or low rate infusion into arterial catheters may cause this syndrome

Description : What is state space? a) The whole problem b) Your Definition to a problem c) Problem you design d) Representing your problem with variable and parameter

Last Answer : d) Representing your problem with variable and parameter

Description : What is state space? (A) The whole problem (B) Your Definition to a problem (C) Problem you design (Ď) Representing your problem with variable and

Last Answer : (Ď) Representing your problem with variable and

Description : …………….. mode is used whenever either end of a security association is gateway. A) Tunnel B) Encapsulating C) Transport D) Gateway

Last Answer : A) Tunnel

Description : Which of the following services is not provided by wireless access point in 802.11 WLAN? (A) Association (B) Disassociation (C) Error Correction (D) Integration

Last Answer : Answer: C Explanation: IEEE 802.11 Services

Description : STL consists of an unordered list of _______ facets representing the outside skin of an object. a.linear b.triangular c.square d.hexagonal

Last Answer : b.triangular

Description : State True or False. i) A satic function can have access to only other static members (functions or variables) declared in the same class. ii) A static member function can be called using the class name (instead of its objects) A) True, True B) True, False C) False, True D) False, False

Last Answer : B) True, False

Description : A logical schema A) is the entire database B) is a standard way of organizing information into accessible parts. C) Describes how data is actually stored on disk. D) All of the above

Last Answer : B) is a standard way of organizing information into accessible parts.

Description : Is the following piece of code valid? >>> a=(1,2,3,4) >>> del a a) No because tuple is immutable b) Yes, first element in the tuple is deleted c) Yes, the entire tuple is deleted

Last Answer : c) Yes, the entire tuple is deleted

Description : Software safety is a ................... activity that focuses on the identification and assessment of potential hazards that may affect software negatively and cause an entire ... monitoring and management (B) Software quality assurance (C) Software cost estimation (D) Defect removal efficiency

Last Answer : (B) Software quality assurance

Description : Software safety is quality assurance activity that focuses on hazards that (A) affect the reliability of a software component (B) may cause an entire system to fail. (C) may result from user input errors. (D) prevent profitable marketing of the final product

Last Answer : (B) may cause an entire system to fail.

Description : The process of assigning load addresses to the various parts of the program and adjusting the code and data in the program to reflect the assigned addresses is called .................. (A) Symbol resolution (B) Parsing (C) Assembly (D) Relocation

Last Answer : (D) Relocation

Description : An ordinal scale is used to rank order people, objects, or characteristics. a. True b. False

Last Answer : a. True

Description : Which of the following characteristics of constructor are true. i) They should be declared in the public section. ii) They are invoked automatically when the objects are created. iii) They do not have return type and void also. ... and v C) Only i, iii, iv and v D) All i, ii, iii, iv and v

Last Answer : D) All i, ii, iii, iv and v

Description : Which of the following cannot be passed to a function? A) Reference variable B) Arrays C) Class objects D) Header files

Last Answer : D) Header files

Description : Consider the fractional knapsack instance n = 4, (p1, p2, p3, p4) = (10, 10, 12, 18), (w1, w2, w3, w4) = (2, 4, 6, 9) and M = 15. The maximum profit is given by (Assume p and w denotes profit and weight of objects respectively) (A) 40 (B) 38 (C) 32 (D) 30

Last Answer : (B) 38

Description : .............. predicate calculus allows quantified variables to refer to objects in the domain of discourse and not to predicates or functions. (A) Zero-order (B) First-order (C) Second-order (D) High-order

Last Answer : (B) First-order

Description : WOW32 is a: (A) Win 32 API library for creating processes and threads. (B) Special kind of file system to the NT name space. (C) Kernel - mode objects accessible through Win32 API (D) Special execution environment used to run 16 bit Windows applications on 32 - bit machines.

Last Answer : (D) Special execution environment used to run 16 bit Windows applications on 32 - bit machines.

Description : Match the following types of variables with the corresponding programming languages: (a) Static variables (i) Local variables in Pascal (b) Stack dynamic (ii) All variables in APL (c) Explicit heap dynamic (iii) Fortran 77 (d) Implicit ... (ii) (C) (iii) (i) (iv) (ii) (D) (ii) (i) (iii) (iv)

Last Answer : (C) (iii) (i) (iv) (ii) 

Description : Which of the following statement(s) with regard to an abstract class in JAVA is/are TRUE? I. An abstract class is one that is not used to create objects. II. An abstract class is designed only to act as a base class ... by other classes. (1) Only l (2) Only II (3) Neither I nor II (4) Both l and II

Last Answer : Both l and II

Description : Which one of the following is correct for overloaded functions in C++? (1) Compiler sets up a separate function for every definition of function. (2) Compiler does not set up a ... functions cannot handle different types of objects. (4) Overloaded functions cannot have same number of arguments.

Last Answer : Answer: 1

Description : In the MOA there are 6 classes. We can alter all clauses expect one clause. What is that clause? A. Objects clause B. Name clause C. Association clause D. None of these

Last Answer : C. Association clause