Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

ege.bc caw 2) Expin the difference between Clus and Object 3) What is an associa

ID: 3704668 • Letter: E

Question

ege.bc caw 2) Expin the difference between Clus and Object 3) What is an association? S) When should aggregarion be used in an objeet model? 6) Name the steps that are needed to construxt an object model 7) Seleot 2 of the following systems and identify the reladive inportance of the throe aspects of modeling O otject modeling, D dyramic modeling, F: functional modeling. Justify 8) What is a sysiem architrcture? 9) Describe some of the strps that occur auring syden design 10) Name some common architectural frameworks 11) Des 12) What is delegation? 13) What is a container class 14) What is a class lihrary? 15) Descnibe some of the steps that oscur during analysis and system design 16) Desenibe some typical enors thai can and cannot be caught with unn testing 17) What is unit testing 18) What is integration testing? 19 What is system tesling? 20) What is the difference between & test stub and a test driver 2) What is the difterence 22) What is an embedded system 23) Name at least 5 different users of a softw are system the steps that ocour during object design n integration& system testing 24) Describe at least 2 typical errors that be caught wiath unit testing 25) Descnibe at least 2 typical errors that caanot be caught with unis testing 261 Mention some of the attribues of a complkex syslon 27) What is the spiral model of softuare development? 28) What is the ndvamage of prototyping?

Explanation / Answer

Answer.)

2. Difference between Class and Object :

A class is defined as a blueprint from which objects are created. It is rather a template which resembles a group of similar objects. When we instantiate a class, we create an object of that class. Similarly, multiple objects can be created by instantiating that same class. Usually, we create an object using the new keyword, but to define a class, we just provide the access modifier before the class. When we create an object, memory is allocated for that object in heap memory, but when creating a class no heap memory is allocated.

3. Association : Association is a relationship between two java classes, when one is dependent on the other, and is using it. It is relationship between two classes through their objects. This can be one to one, one to many, many to one, many to many relationship.

4. Inheritance :

Inheritance is a phenomena in which a child class acquires the properties and behaviors of the parent class. It defines is-A relationship where the child class extends all the properties of its parent class. The process of Inheritance supports method overriding and helps in reusability of code.

5. If a class uses an entity reference of some other class instance, we call it has-A relationship or Aggregation. One class uses some other class instance, then we call it as Aggregation. In this case, no class is dependent on the other class, it just uses it.