Linux Programming Interface: Chapter 6

Descrição

0 Computer Science Quiz sobre Linux Programming Interface: Chapter 6, criado por Jon Schipp em 05-01-2016.
Jon Schipp
Quiz por Jon Schipp, atualizado more than 1 year ago
Jon Schipp
Criado por Jon Schipp quase 9 anos atrás
3
0

Resumo de Recurso

Questão 1

Questão
Which data segments of a process contain global and static variables?
Responda
  • initialized data segment
  • uninitialized data segment
  • stack
  • heap
  • text

Questão 2

Questão
Was process segment does globBuf reside in?
Responda
  • initialized data segment
  • uninitialized data segment
  • text
  • heap
  • stack

Questão 3

Questão
What process data segment does primes reside in?
Responda
  • initialized data segment
  • uninitialized data segment
  • text
  • heap
  • stack

Questão 4

Questão
In what process segment does result (depicted) reside?
Responda
  • initialized data segment
  • uninitialized data segment
  • text
  • stack
  • heap

Questão 5

Questão
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).
Responda
  • Spatial locality
  • Temporal locality

Questão 6

Questão
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).
Responda
  • Spatial locality
  • Temporal locality

Questão 7

Questão
argv and environ contains pointers that are terminated with NULL characters
Responda
  • True
  • False

Questão 8

Questão
The stack grows upward toward higher memory addresses
Responda
  • True
  • False

Questão 9

Questão
The heap grows upward toward higher memory addresses
Responda
  • True
  • False

Questão 10

Questão
Where is argv and environ located in a vertical view of a processes virtual memory space?
Responda
  • Below kernel mappings (top)
  • Above stack segment
  • Below stack segment
  • Below initialized data segment
  • Above uninitialized data segment
  • Above text segment (bottom)

Semelhante

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