Linux Programming Interface: Chapter 6

Descripción

0 Computer Science Test sobre Linux Programming Interface: Chapter 6, creado por Jon Schipp el 05/01/2016.
Jon Schipp
Test por Jon Schipp, actualizado hace más de 1 año
Jon Schipp
Creado por Jon Schipp hace más de 8 años
3
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

Pregunta
Was process segment does globBuf reside in?
Respuesta
  • initialized data segment
  • uninitialized data segment
  • text
  • heap
  • stack

Pregunta 3

Pregunta
What process data segment does primes reside in?
Respuesta
  • initialized data segment
  • uninitialized data segment
  • text
  • heap
  • stack

Pregunta 4

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

Pregunta 5

Pregunta
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).
Respuesta
  • Spatial locality
  • Temporal locality

Pregunta 6

Pregunta
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).
Respuesta
  • Spatial locality
  • Temporal locality

Pregunta 7

Pregunta
argv and environ contains pointers that are terminated with NULL characters
Respuesta
  • True
  • False

Pregunta 8

Pregunta
The stack grows upward toward higher memory addresses
Respuesta
  • True
  • False

Pregunta 9

Pregunta
The heap grows upward toward higher memory addresses
Respuesta
  • True
  • False

Pregunta 10

Pregunta
Where is argv and environ located in a vertical view of a processes virtual memory space?
Respuesta
  • Below kernel mappings (top)
  • Above stack segment
  • Below stack segment
  • Below initialized data segment
  • Above uninitialized data segment
  • Above text segment (bottom)
Mostrar resumen completo Ocultar resumen completo

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
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