Linux Programming Interface: Chapter 2

Descripción

Chapter 2 quiz of Linux Programming Interface
Jon Schipp
Test por Jon Schipp, actualizado hace más de 1 año
Jon Schipp
Creado por Jon Schipp hace alrededor de 9 años
40
0

Resumen del Recurso

Pregunta 1

Pregunta
Preemptive means the rules governing which processes receive the CPU and for how long is determined by?
Respuesta
  • Process
  • Process scheduler
  • Kernel
  • Tickless clock

Pregunta 2

Pregunta
When running in kernel mode, the CPU can access both user and kernel memory space.
Respuesta
  • True
  • False

Pregunta 3

Pregunta
A [blank_start]________[blank_end] link is the name for a symbolic link which references a file that doesn't exist
Respuesta
  • dangling

Pregunta 4

Pregunta
The SUSv3 specified portable filename character set has how many characters?
Respuesta
  • 65
  • 64
  • 96
  • 95

Pregunta 5

Pregunta
It's recommended that a filename should not contain the [blank_start]_[blank_end] character because it may be mistaken for command options.
Respuesta
  • -

Pregunta 6

Pregunta
An execve() call destroys the existing memory segments of the process, these are?
Respuesta
  • text
  • data
  • stack
  • heap

Pregunta 7

Pregunta
C programs can access the environment variables of a process by what?
Respuesta
  • char **environ
  • char **getenv
  • char **environment
  • char **getconf

Pregunta 8

Pregunta
What are the outcomes of inheriting the environment after an exec() family of calls?
Respuesta
  • New program inherits environment of the old program
  • New program gets new environment specified as part of exec() call

Pregunta 9

Pregunta
Resource limits set by setrlimit() are inherited by a new child process created via fork().
Respuesta
  • True
  • False

Pregunta 10

Pregunta
The type of linking where the linker extracts the required objects from modules and copies these into the resulting executable is called [blank_start]______[blank_end] linking.
Respuesta
  • static

Pregunta 11

Pregunta
The type of linking where the linker writes a record into the resulting executable to indicate that at run time the executable needs a library is called [blank_start]______[blank_end] linking.
Respuesta
  • shared

Pregunta 12

Pregunta
Threads share the same program code and all memory segments except?
Respuesta
  • heap
  • code
  • stack
  • data

Pregunta 13

Pregunta
A process controlling terminal receives this signal if the terminal is disconnected (e.g. window closed)
Respuesta
  • SIGHUP
  • SIGTERM
  • SIGTSTP
  • SIGSTOP
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