From b2d80610db6beda38573890ed169815e495bc663 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 24 May 2020 16:34:31 +0700 Subject: [usth/ICT2.7] Engineer software --- ...odeling Classes Quiz Solution - lang_en_vs4.srt | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 usth/ICT2.7/P2L2 OO Software Engineering and UML Subtitles/10 - Modeling Classes Quiz Solution - lang_en_vs4.srt (limited to 'usth/ICT2.7/P2L2 OO Software Engineering and UML Subtitles/10 - Modeling Classes Quiz Solution - lang_en_vs4.srt') diff --git a/usth/ICT2.7/P2L2 OO Software Engineering and UML Subtitles/10 - Modeling Classes Quiz Solution - lang_en_vs4.srt b/usth/ICT2.7/P2L2 OO Software Engineering and UML Subtitles/10 - Modeling Classes Quiz Solution - lang_en_vs4.srt new file mode 100644 index 0000000..4dd6994 --- /dev/null +++ b/usth/ICT2.7/P2L2 OO Software Engineering and UML Subtitles/10 - Modeling Classes Quiz Solution - lang_en_vs4.srt @@ -0,0 +1,47 @@ +1 +00:00:00,120 --> 00:00:03,110 +Looking at the requirements, item is definitely a relevant element + +2 +00:00:03,110 --> 00:00:07,060 +for my system, so it is appropriate to model item as + +3 +00:00:07,060 --> 00:00:09,300 +a class. Sale, on the other hand, is more of + +4 +00:00:09,300 --> 00:00:12,610 +a characteristic of an item, an attribute of an item, rather + +5 +00:00:12,610 --> 00:00:14,960 +than a class in itself. So, we're not going to mark + +6 +00:00:14,960 --> 00:00:18,460 +this one. Shopping cart sounds, as well, as an important element + +7 +00:00:18,460 --> 00:00:21,550 +for my system. Time can be an important system in some + +8 +00:00:21,550 --> 00:00:25,420 +contexts, but in this case we're measuring time just because more + +9 +00:00:25,420 --> 00:00:28,430 +than one item at a time can be added to the shopping cart. + +10 +00:00:28,430 --> 00:00:32,770 +So, time really doesn't have any reason for being modeled as a class. + +11 +00:00:32,770 --> 00:00:36,550 +And finally, user also seems to also have an important role to play + +12 +00:00:36,550 --> 00:00:40,260 +in the system, and therefore we will model user as a class as well. -- cgit 1.4.1