Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blatt04 updates to every subtitle file #15

Merged
merged 6 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Uebungen/Blatt04/Exercise04-Task1-de.sbv
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Also wenn wir anhand dieses Klassendiagramms
Objekte instanziieren würden, welche Objekte

0:00:32.790,0:00:34.710
könnten dann diese Funktion hier aufrufen?
könnten dann diese Funktionen hier aufrufen?

0:00:34.710,0:00:38.570
Dafür gehen wir einfach mal alle diese Klassen
Expand All @@ -52,7 +52,7 @@ Das ist die Definition einer Abstract-Klasse.

0:01:01.240,0:01:07.439
Also müssen wir weiter gucken, welche Klassen
könnten denn diese Funktion erben?
könnten denn diese Funktionen erben?

0:01:07.439,0:01:09.790
Also hier haben wir einen Vererbungsfall.
Expand Down Expand Up @@ -125,7 +125,7 @@ Das sollen wir ändern, und zwar so, dass
die Methoden-Typen der objektorientierten

0:02:29.599,0:02:32.489
Sicht auf die Vektorgrafik Funktionen entsprechen.
Sicht auf die Vektorgrafik-Operationen entsprechen.

0:02:32.489,0:02:35.079
Diese Funktionen kennen wir schon aus der
Expand Down
38 changes: 19 additions & 19 deletions Uebungen/Blatt04/Exercise04-Task1-en.sbv
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Welcome to this video about the exercise task
about the vector graphics example. In this

0:00:12.050,0:00:23.060
task, first of all, we have given a class
task, first of all, we have a class
diagram, which consists of five classes. And

0:00:23.060,0:00:31.480
we shall see which method or which classes
we shall say which method or which classes
can invoke the methods scale, color, rotate,

0:00:31.480,0:00:40.940
Expand All @@ -20,10 +20,10 @@ the Picture class. So, that is why we could

0:00:50.579,0:01:04.570
simply say, of course, all objects of class
Picture could call those methods. Or all those
Picture could call those methods.

0:01:04.570,0:01:10.891
objects could invoke those methods. But, as
But, as
the Picture class is an abstract class, there

0:01:10.891,0:01:21.509
Expand All @@ -44,7 +44,7 @@ and Path can all invoke those mentioned methods.

0:01:49.469,0:02:01.620
But for Point, this is not true. So, because
Point is in relation with Path an aggregation,
Point is in relation with Path by an aggregation,

0:02:01.620,0:02:10.670
Points cannot invoke these methods. For instance,
Expand All @@ -67,16 +67,16 @@ the vector graphics example when it was introduced.
Because there we have the operations or the

0:02:50.040,0:02:57.740
functions to find which are the basis for
functions defined which are the basis for
the methods which we've got in this class

0:02:57.740,0:03:06.459
here. And this function always takes a Picture
and then more arguments and return a picture.
and then more arguments and returns a picture.

0:03:06.459,0:03:13.540
In our case, we've got the object (?entered
few) of this now. And we've got a Picture
In our case, we've got the object-oriented view
of this now. And we've got a Picture

0:03:13.540,0:03:24.360
already. On the specific Picture, we call
Expand All @@ -88,7 +88,7 @@ require further arguments. But we change the

0:03:33.070,0:03:39.700
Picture at hand. That is why we do not require
Pictures and arguments. And when we have got
a Picture as an argument. And when we have got

0:03:39.700,0:03:51.129
scale, we shall use the UML syntax here. We
Expand All @@ -99,7 +99,7 @@ for scale, we, of course, would scale within
the x and y direction. So, we require an x

0:04:01.159,0:04:10.020
and a y value. So, let's say extent is the
and a y value. This is the
type that we've got from here already, which

0:04:10.020,0:04:18.019
Expand Down Expand Up @@ -139,8 +139,8 @@ methods here by looking at the functions that
we had in the vector graphics example that

0:05:27.819,0:05:32.750
was introduced. And the color changes the
color of the Picture and therefore requires
was introduced. And "color" changes the
color of the Picture and therefore requires a

0:05:32.750,0:05:45.430
color. Let's call it C. And then we've got
Expand All @@ -151,7 +151,7 @@ as we rotate the Picture itself. This would
be just float for an angle. So, let's call

0:05:54.170,0:06:04.680
it angle. And you will require a float. Once
it angle. And you we require a float. Once
again, we do not require a return type of

0:06:04.680,0:06:10.650
Expand All @@ -172,10 +172,10 @@ is the same, and we can also keep the same

0:06:45.819,0:06:53.910
names for our parameters. Because in this
case, it's also that we have got an x and
case, we have also got an x and

0:06:53.910,0:07:05.370
a y-direction for moving. Now extend is an
a y-direction for moving. Now extent is an
operation that is not found here within the

0:07:05.370,0:07:14.410
Expand All @@ -187,12 +187,12 @@ it was mentioned within the object orientation
already, but there we have the example again.

0:07:20.940,0:07:31.860
And there is extend defined as returning a
And there is extent defined as returning a
float value for Picture. So, we could think

0:07:31.860,0:07:37.550
about this like, we've got a picture already,
and when we call extend on it, we just want
and when we call extent on it, we just want

0:07:37.550,0:07:45.020
to return the float value. So, this is different
Expand Down Expand Up @@ -247,7 +247,7 @@ that takes one argument, which is the other
Picture. So, let's call it p. And this of

0:09:41.190,0:09:56.710
time Picture. And it will change the Picture
type Picture. And it will change the Picture
at hand by calling this method. We have then

0:09:56.710,0:10:05.630
Expand Down
14 changes: 7 additions & 7 deletions Uebungen/Blatt04/Exercise04-Task2-de.sbv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
0:00:02.159,0:00:06.029
Willkommen zum Video, zur Übungsaufgabe zu
Willkommen zum Video zur Übungsaufgabe zu
Generalisierungsgruppen.

0:00:06.029,0:00:12.139
Expand Down Expand Up @@ -100,7 +100,7 @@ Ich hatte gesagt, die Kategorie hier in dem
ersten Fall wäre dann die Nutzungsart, in

0:03:00.870,0:03:11.130
dem Fall hier drüben wäre es die Gerät-Klasse.
dem Fall hier drüben wäre es die Geräteklasse.

0:03:11.130,0:03:24.850
Dann gilt es natürlich noch weiter zu unterscheiden,
Expand Down Expand Up @@ -227,7 +227,7 @@ angegeben werden, die eingetragen werden sollen.

0:06:35.440,0:06:41.860
Da könnten wir jetzt für alle Klassen einfach
belegen, was hier vorhanden sein könnte.
überlegen, was hier vorhanden sein könnte.

0:06:41.860,0:06:48.680
Beim Rechner könnte man sagen, jeder Rechner
Expand Down Expand Up @@ -277,13 +277,13 @@ Festplatte.

0:07:55.390,0:08:01.491
Ein Server nicht unbedingt, denn dort ist
zum Beispiel Netzwerk gut möglich, über
zum Beispiel ein Netzwerk-Boot möglich, über

0:08:01.491,0:08:03.410
den das System startet.

0:08:03.410,0:08:09.920
Und dann gibt es Network-Attachment-Storage
Und dann gibt es Network-Attached-Storage
oder so etwas, auf das der Server zugreift.

0:08:09.920,0:08:14.460
Expand All @@ -302,13 +302,13 @@ Beim Tablet ist vielleicht interessant, ob
es einen SIM-Karten-Slot hat, deshalb könnte

0:08:39.120,0:08:46.819
man gerade SIM-Karten-Slot als Boolean angeben.
man 'hatSimkartenslot' als Boolean angeben.

0:08:46.819,0:08:52.629
Also entweder es hat einen oder es hat keinen.

0:08:52.629,0:09:09.649
Der Laptop, den
Der Laptop, da
habe ich hier angenommen, dass der keinen

0:09:09.649,0:09:10.649
Expand Down
34 changes: 17 additions & 17 deletions Uebungen/Blatt04/Exercise04-Task2-en.sbv
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@

0:02:40.800,0:02:48.180
Laptop and Tablet could also be servers. So, it
would make sense to have it directly inherited
would make sense to have it directly inherit

0:02:48.180,0:02:56.340
from the Computer and not directly related to
the Client and server in any way. If we do that,
from Computer and not directly related to
Client and server in any way. If we do that,

0:02:57.720,0:03:06.780
we have our second generalization
Expand Down Expand Up @@ -151,7 +151,7 @@
argue in this case that you just use your Computer

0:04:22.440,0:04:27.300
for gaming, for example. You are not a client or
for gaming, for example. You are not a client for
anything. You are not a server for anything. You

0:04:27.300,0:04:32.280
Expand All @@ -168,14 +168,14 @@

0:04:44.520,0:04:49.860
client for something. Because how did you get the
game? These days you normally download it (? from
game? These days you normally downloaded it.

0:04:49.860,0:04:55.800
somewhere). So, at some point, your Computer was
So, at some point, your Computer was
a client. So, let's say, in this case, this is a

0:04:55.800,0:04:59.880
complete generalization because your Computer
complete generalization group because your Computer
is going to be either a client or a server.

0:05:03.720,0:05:10.980
Expand Down Expand Up @@ -247,8 +247,8 @@
be a case where it's overlapping. Or we could go

0:07:09.000,0:07:12.840
with a narrative we've used before. Your Client
is either a server or a computer. Therefore,
with a narrative we've used before. Your computer
is either a server or a client. Therefore,

0:07:16.140,0:07:22.020
this would be a disjoint generalization
Expand All @@ -259,11 +259,11 @@
and it's disjoint. Because computers can be either

0:07:30.660,0:07:36.180
clients or servers. That can never be both. So,
clients or servers. They can never be both. So,
this is both a complete generalization group

0:07:36.180,0:07:41.880
and disjointed at the same time. And for our
and disjoint at the same time. And for our
device-types generalization group, we decided

0:07:41.880,0:07:49.260
Expand All @@ -276,23 +276,23 @@

0:07:58.080,0:08:04.200
each of three of the classes. So, basically, three
attributes are distributed throughout our diagram
attributes distributed throughout our diagram

0:08:04.200,0:08:14.400
here. And they need to capture the property of
the object exactly from that class. That means, if

0:08:14.400,0:08:20.940
we think of any attribute, we need to be careful
that attribute actually belongs only in that class
that the attribute actually belongs only in that class

0:08:22.500,0:08:29.760
and in any classes that inherit from that
class. I will give an example. So, for example,

0:08:29.760,0:08:36.900
we decide that we want an attribute for the
number of CPU cores. Let's just call it core.
number of CPU cores. Let's just call it cores.

0:08:36.900,0:08:43.920
And we give it a type of Int because you can't
Expand All @@ -319,7 +319,7 @@
because all the other classes inherit from it. So,

0:09:13.380,0:09:17.460
we've put in Computer. We have one of
we put in Computer. We have one of
our attributes correctly placed already.

0:09:17.460,0:09:25.020
Expand Down Expand Up @@ -356,7 +356,7 @@

0:10:08.160,0:10:18.120
other ones? For example, you could say the number
of keys on the keyboard. The number of keys,
of keys on the keyboard. Once again,

0:10:20.820,0:10:26.640
you only have whole keys. So, we type it as
Expand Down Expand Up @@ -387,7 +387,7 @@
with something for a tablet, for example,

0:11:04.320,0:11:10.920
and say touchscreen sensitivity. And

Check failure on line 390 in Uebungen/Blatt04/Exercise04-Task2-en.sbv

View workflow job for this annotation

GitHub Actions / Check Spelling

`touchscreen` is not a recognized word. (unrecognized-spelling)
that would be a float value. Determining

0:11:12.000,0:11:19.380
Expand All @@ -407,7 +407,7 @@
of keys in Laptop, Tablet has touch sensitivity.

0:11:48.960,0:11:54.420
And for this one, also going (? all out for a)
And for this one, also going over it for a
moment. The Laptop normally wouldn't have touch

0:11:54.420,0:12:00.540
Expand Down
4 changes: 2 additions & 2 deletions Uebungen/Blatt04/Exercise04-Task3-de.sbv
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ und damit wäre die Aufgabe ziemlich trivial.
Also hier müssen wir ganz konkret darauf achten,

0:00:42.420,0:00:47.820
okay, diese Beziehung, die vorliegt, ist
okay, die Beziehung, die vorliegt, ist
es mehr als eine Assoziation? Wenn ja,

0:00:47.820,0:00:51.120
Expand Down Expand Up @@ -224,7 +224,7 @@ Und damit hätten wir eine Komposition.

0:05:18.180,0:05:23.880
Für Szenario D haben wir eine Universität,
mit vielen Lehrstühle. Sonst ist hier nichts
mit vielen Lehrstühlen. Sonst ist hier nichts

0:05:23.880,0:05:28.800
beschrieben. Das heißt, die Lehrstühle sind
Expand Down
2 changes: 1 addition & 1 deletion Uebungen/Blatt04/Exercise04-Task3-en.sbv
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Because after a teaching chair is dissolved,
the persons are still existing and working.

0:03:24.720,0:03:32.520
Assistance could work anywhere else. And they are
Assistants could work anywhere else. And they are
not destroyed by dissolving the teaching chair.

0:03:33.900,0:03:43.680
Expand Down
Loading