Help shape GoConqr. What should we add next?

Quiz

Linux Programming Interface: Chapter 2

Jon Schipp 13 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (13)

  1. 1Preemptive means the rules governing which processes receive the CPU and for how long is determined by?
    1. AProcess
    2. BProcess scheduler
    3. CKernel
    4. DTickless clock
  2. 2When running in kernel mode, the CPU can access both user and kernel memory space.
    1. ATrue
    2. BFalse
  3. 3A [blank_start]________[blank_end] link is the name for a symbolic link which references a file that doesn't exist
    1. Adangling
  4. 4The SUSv3 specified portable filename character set has how many characters?
    1. A65
    2. B64
    3. C96
    4. D95
  5. 5It's recommended that a filename should not contain the [blank_start]_[blank_end] character because it may be mistaken for command options.
    1. A-
  6. 6An execve() call destroys the existing memory segments of the process, these are?
    1. Atext
    2. Bdata
    3. Cstack
    4. Dheap
  7. 7C programs can access the environment variables of a process by what?
    1. Achar **environ
    2. Bchar **getenv
    3. Cchar **environment
    4. Dchar **getconf
  8. 8What are the outcomes of inheriting the environment after an exec() family of calls?
    1. ANew program inherits environment of the old program
    2. BNew program gets new environment specified as part of exec() call
  9. 9Resource limits set by setrlimit() are inherited by a new child process created via fork().
    1. ATrue
    2. BFalse
  10. 10The 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.
    1. Astatic

Information

Description
Chapter 2 quiz of Linux Programming Interface
Language
English
Views
115
Tags
lpilinux programming interfacelinuxcomputer sciencesystems programming0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What should we add next?