Powershell Flashcards

1
Q

Warnmeldung

A

String message = “Wenig freier Speicher”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Titel der Messagebox

A

String Title = “Warnung”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Mittelwert Tag

A

Int avgUsedRam = 0;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Summe der Stundenwerte

A

Int SumTemp = 0;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Array mit Testdaten

A

Int[] usedRAM = new int[Anzahl der Daten im Array]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Schleifenkopf

A

for (int i = 0; i < zahlen im array; i++)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Schleifenrumpf

A

SumTemp = sumTemp + usedRAM[i];

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Berechnung Mittelwert

A

avgUsedRAM = sumTemp / [Anzahl der Zahlen im Array];

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Ausgabe Warnmeldung

A

if (avgUsedRAM > 75) MessageBox.Show(message, title);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly