Jon Schipp
Quiz von , erstellt am more than 1 year ago

Chapter 2 quiz of Linux Programming Interface

18
0
0
Jon Schipp
Erstellt von Jon Schipp vor mehr als 8 Jahre
Schließen

Linux Programming Interface: Chapter 2

Frage 1 von 13

1

Preemptive means the rules governing which processes receive the CPU and for how long is determined by?

Wähle eine der folgenden:

  • Process

  • Process scheduler

  • Kernel

  • Tickless clock

Erklärung

Frage 2 von 13

1

When running in kernel mode, the CPU can access both user and kernel memory space.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 3 von 13

1

Fülle die Lücke, um den Text zu vervollständigen

A link is the name for a symbolic link which references a file that doesn't exist

Erklärung

Frage 4 von 13

1

The SUSv3 specified portable filename character set has how many characters?

Wähle eine der folgenden:

  • 65

  • 64

  • 96

  • 95

Erklärung

Frage 5 von 13

1

Fülle die Lücke, um den Text zu vervollständigen

It's recommended that a filename should not contain the character because it may be mistaken for command options.

Erklärung

Frage 6 von 13

1

An execve() call destroys the existing memory segments of the process, these are?

Wähle eine oder mehr der folgenden:

  • text

  • data

  • stack

  • heap

Erklärung

Frage 7 von 13

1

C programs can access the environment variables of a process by what?

Wähle eine der folgenden:

  • char **environ

  • char **getenv

  • char **environment

  • char **getconf

Erklärung

Frage 8 von 13

1

What are the outcomes of inheriting the environment after an exec() family of calls?

Wähle eine oder mehr der folgenden:

  • New program inherits environment of the old program

  • New program gets new environment specified as part of exec() call

Erklärung

Frage 9 von 13

1

Resource limits set by setrlimit() are inherited by a new child process created via fork().

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 10 von 13

1

Fülle die Lücke, um den Text zu vervollständigen

The type of linking where the linker extracts the required objects from modules and copies these into the resulting executable is called linking.

Erklärung

Frage 11 von 13

1

Fülle die Lücke, um den Text zu vervollständigen

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 linking.

Erklärung

Frage 12 von 13

1

Threads share the same program code and all memory segments except?

Wähle eine oder mehr der folgenden:

  • heap

  • code

  • stack

  • data

Erklärung

Frage 13 von 13

1

A process controlling terminal receives this signal if the terminal is disconnected (e.g. window closed)

Wähle eine oder mehr der folgenden:

  • SIGHUP

  • SIGTERM

  • SIGTSTP

  • SIGSTOP

Erklärung