Linux Programming Interface: Chapter 6

Beschreibung

0 Computer Science Quiz am Linux Programming Interface: Chapter 6, erstellt von Jon Schipp am 05/01/2016.
Jon Schipp
Quiz von Jon Schipp, aktualisiert more than 1 year ago
Jon Schipp
Erstellt von Jon Schipp vor fast 9 Jahre
4
0

Zusammenfassung der Ressource

Frage 1

Frage
Which data segments of a process contain global and static variables?
Antworten
  • initialized data segment
  • uninitialized data segment
  • stack
  • heap
  • text

Frage 2

Frage
Was process segment does globBuf reside in?
Antworten
  • initialized data segment
  • uninitialized data segment
  • text
  • heap
  • stack

Frage 3

Frage
What process data segment does primes reside in?
Antworten
  • initialized data segment
  • uninitialized data segment
  • text
  • heap
  • stack

Frage 4

Frage
In what process segment does result (depicted) reside?
Antworten
  • initialized data segment
  • uninitialized data segment
  • text
  • stack
  • heap

Frage 5

Frage
The name for: tendency of a program to reference memory addresses that are near those that were recently accessed (because of sequential process- ing of instructions, and, sometimes, sequential processing of data structures).
Antworten
  • Spatial locality
  • Temporal locality

Frage 6

Frage
The name for: tendency of a program to access the same memory addresses in the near future that it accessed in the recent past (because of loops).
Antworten
  • Spatial locality
  • Temporal locality

Frage 7

Frage
argv and environ contains pointers that are terminated with NULL characters
Antworten
  • True
  • False

Frage 8

Frage
The stack grows upward toward higher memory addresses
Antworten
  • True
  • False

Frage 9

Frage
The heap grows upward toward higher memory addresses
Antworten
  • True
  • False

Frage 10

Frage
Where is argv and environ located in a vertical view of a processes virtual memory space?
Antworten
  • Below kernel mappings (top)
  • Above stack segment
  • Below stack segment
  • Below initialized data segment
  • Above uninitialized data segment
  • Above text segment (bottom)
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Intake7 BIM L1
Stanley Chia
Data Types
Jacob Sedore
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr