Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Speicherverbrauch in Adressbereich

Empfohlene Antworten

Veröffentlicht

Hallo Community,

ich habe folgende Aufgabe bekommen:

Ein Programm belegt im im 64-Bit Speicher einen Adressenbereich von 000AC9E7 - 000DFFFF

Welche Größe (in Kilobyte) hat dieses Programm?

Ich bin so vorgegangen:

000AC9E7

7 * 16^0 =7

14 * 16^1= 224

9 * 16^2 = 2304

12 * 16^3 = 49152

10 * 16^4 = 655360

Summe1 = 707047

000DFFFF

15 * 16^0=15

15 * 16^1 = 240

15 * 16^2 = 3840

15 * 16^3 = 61440

13 * 16^4 = 851968

Summe2 = 917503

Summe2 - Summe 1 = 917503-707047 = 210456

Wie muss ich nun vorgehen und da auf Kilobyte zukommen?

mfg: Gabberfan84

Die Dinger, die man im Speicher adressiert, nennt man Bytes. Jedes Byte hat seine Adresse. Zwischen Byte Nummer 707047 und Byte Nummer 917503 liegen also 210456 Bytes.

Kilo ist 1000, also ist 210456 Byte = 210,456 Kilobyte.

Bearbeitet von Klotzkopp

Also unter der Annahme,

  • dass mit "64-Bit-Speicher" gemeint ist, dass die adressierbare Einheit 64 Bit groß ist,
  • dass mit Byte hier eben genau nicht eine adressierbare Einheit, sondern ein Oktett gemein ist,
  • und dass man für "Kilo" den Faktor 1024 ansetzen soll,

dann kommt tatsächlich 1644 kB heraus.

Woher stammt denn diese Aufgabe?

Die Aufgabe ist aus einer Aufgabensammlung von meinem Lehrer.

Damit zu den Prüfungsaufgaben verschoben.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.