DP Computer Science Questionbank
D.1 Objects as a programming concept
Description
[N/A]Directly related questions
-
19M.2.SL.TZ0.10c:
With reference to both class UMLs provided above, distinguish between a class and an instantiation.
-
19M.2.SL.TZ0.10d.ii:
Outline one disadvantage of using aggregation in this context.
-
19M.2.SL.TZ0.10d.i:
Outline one advantage of using aggregation in this context.
-
17N.2.SL.TZ0.12a:
Construct a diagram showing the relationships between the
Payment,FoodItem,DrinkItem, andItemclasses. You do not need to include the names of attributes or methods. -
18N.2.SL.TZ0.10b:
State the relationship between the
Flightobject and theArrivalobject. -
18N.2.SL.TZ0.10a.i:
Outline the general nature of an object.
-
18N.2.SL.TZ0.10c:
Construct a UML diagram to represent the
Arrivalobject. -
19N.2.SL.TZ0.10d:
Distinguish between a class and an instantiation. You must make reference to the UML provided.
-
19N.2.SL.TZ0.12a:
Outline why the variable
activein the UML of the classPOSlinewas defined as a boolean data type. -
19N.2.SL.TZ0.10a:
State the relationship between the
POSsystemandPOSlineobjects. -
19N.2.SL.TZ0.10b:
Draw a diagram to show the relationship between the objects
POSsystem,POSlineandCart. You are not required to draw a complete UML diagram. -
20N.2.SL.TZ0.10b:
Describe the relationship between the classes
VehicleandParkingArea. -
20N.2.SL.TZ0.11c:
Construct a UML diagram that shows the relationships between the
ParkingArea,Vehicle,MotorbikeandCarclasses. There is no need to include the attributes or methods of each class. -
18M.2.SL.TZ0.11a:
Construct a UML diagram for the
Visitsclass.
