CSO FINAL 2.0 Exam Questions and Answers
with Verified Solutions | Latest Updated 2026
Decimal Base 10, used by humans
Binary base 2, used by computers
Hexadecimal Base 16, used as bridge between humans
and
computers
Stack lifetime function-scope duration
Stack control System managed
Stack purpose fast storage for local variables and return
addresses
Heap lifetime programmatically defined
Heap control Programmer managed (malloc, free)
Heap primary purpose dynamic allocation for variable sized data
or long
lived persistance
, G/S Area lifetime Full program duration
G/S area control System Managed
G/S primary purpose Persistence of state across diverse
function scopes
Code lifetime Full program duration
Code Control System-managed
Code purpose read-only storage for executable
instructions
What happens if the programmer Memory Leak
allocates memory on the heap but
fails to issue a free instruction
What do traditional arrays predictable, contiguous storage/size must
provide? be
What is their constraint? defined at compile time
an array name is a synonym for The memory address of the first element
what?
What happens in C if you try to C has no native bounds checking, the next
access A[4] from a three element element
array? in memory will be accessed
with Verified Solutions | Latest Updated 2026
Decimal Base 10, used by humans
Binary base 2, used by computers
Hexadecimal Base 16, used as bridge between humans
and
computers
Stack lifetime function-scope duration
Stack control System managed
Stack purpose fast storage for local variables and return
addresses
Heap lifetime programmatically defined
Heap control Programmer managed (malloc, free)
Heap primary purpose dynamic allocation for variable sized data
or long
lived persistance
, G/S Area lifetime Full program duration
G/S area control System Managed
G/S primary purpose Persistence of state across diverse
function scopes
Code lifetime Full program duration
Code Control System-managed
Code purpose read-only storage for executable
instructions
What happens if the programmer Memory Leak
allocates memory on the heap but
fails to issue a free instruction
What do traditional arrays predictable, contiguous storage/size must
provide? be
What is their constraint? defined at compile time
an array name is a synonym for The memory address of the first element
what?
What happens in C if you try to C has no native bounds checking, the next
access A[4] from a three element element
array? in memory will be accessed