Programmierung
Ba 1 AI
Ba 1 AI
20
0.0 (0)
Kartei Details
Karten | 20 |
---|---|
Sprache | Deutsch |
Kategorie | Informatik |
Stufe | Andere |
Erstellt / Aktualisiert | 27.01.2016 / 30.01.2016 |
Lizenzierung | Keine Angabe |
Weblink |
https://card2brain.ch/box/programmierung3
|
Einbinden |
<iframe src="https://card2brain.ch/box/programmierung3/embed" width="780" height="150" scrolling="no" frameborder="0"></iframe>
|
Wie wird eine ganze Minuszahl binär dargestellt?
0001 (1)
1110 +1 = 1111 (-1)
float Größe
4 Byte (32 bit)
double Größe
8 Byte (64 bit)
long double Größe
10 Byte (80 bit)
Berechnung der Größe von Ganzzahlendatentypen
Bsp.: int (16 bit)
signed = \(2^{16}-1\)
unsigned = \(-2^{15} \) bis \(2^{15} -1\)
signed char Größe
1 Byte (8 Bit)
short Größe
2 Bytes (16 Bit)