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
, andItem
classes. You do not need to include the names of attributes or methods. -
18N.2.SL.TZ0.10b:
State the relationship between the
Flight
object and theArrival
object. -
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
Arrival
object. -
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
active
in the UML of the classPOSline
was defined as a boolean data type. -
19N.2.SL.TZ0.10a:
State the relationship between the
POSsystem
andPOSline
objects. -
19N.2.SL.TZ0.10b:
Draw a diagram to show the relationship between the objects
POSsystem
,POSline
andCart
. You are not required to draw a complete UML diagram. -
20N.2.SL.TZ0.10b:
Describe the relationship between the classes
Vehicle
andParkingArea
. -
20N.2.SL.TZ0.11c:
Construct a UML diagram that shows the relationships between the
ParkingArea
,Vehicle
,Motorbike
andCar
classes. There is no need to include the attributes or methods of each class. -
18M.2.SL.TZ0.11a:
Construct a UML diagram for the
Visits
class.