1/13
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
[APUE07] With a C program (memory map), ____ stores the information that is saved each time a function is called. Each time a function is called, the address of where to return to and certain information about the caller's environment, such as some of the machine registers, are saved on ____.
Stack
[APUE07] With a C program (memory map), ______ consists of the machine instructions that the CPU executes.
Text Segment
[APUE07] With a C program (memory map), the _____ command reports the sizes (in bytes) of the text, data, and bss segments.
size
[APUE07] With a C program (memory map), data in _____ is initialized by the kernel to arithmetic 0 or null pointers before the program starts executing. The C declaration (for example, "long sum[1000];") appearing outside any function causes this variable to be stored in _____.
Uninitialized Data Segment
[closure] The _______ environment binds the non-local names to the corresponding variables in the lexical environment at the time the closure is created.
Referencing
[APUE07] With a C program (memory map), the newly called function allocates room on ______ for its automatic and temporary variables for each time it is called. This is how recursive functions in C can work.
Stack
[APUE07] With a C program (memory map), ______ is where dynamic memory allocation usually takes place including object instances.
Heap
[closure] Closures are techniques for implementing lexically scoped binding in languages with _____.
First-class functions
[closure] Some C libraries support ____ which is sometimes implemented by providing two values when registering this with the library: a function pointer and a separate void* pointer to arbitrary data of the user's choice.
callback
[APUE07] With a C program (memory map), usually ______ is sharable so that only a single copy needs to be in memory for frequently executed programs, such as text editors, the C compiler, the shells, and so on.
Text Segment
[closure] This programming language _____ enables defining function objects by overloading "operator( )" and also supports closures.
C++
[APUE07] With a C program (memory map), _______, often called the ''bss'' segment, named after an ancient assembler operator that stood for ''block started by symbol.''
Uninitialized Data Segment
[closure] Which mathematical subject was utilized for the evaluation of expressions in closures?
Lambda Calculus
[APUE07] With a C program (memory map), _____ contains variables that are specifically initialized in the program.
Initialized Data Segment