Purdue CS 252 Midterm Exam Questions with 100% Correct Answers | Verified | Latest Update 2024 | 100% Pass| Rated A+
Purdue CS 252 Midterm Exam Questions with 100% Correct Answers | Verified | Latest Update 2024 | 100% Pass| Rated A+ What are the different types of memory sections? - Text Data BSS Heap Stack What is stored in text? - Instructions that run the program. What is stored in Data? - Initialized global variables What is stored in BSS? - Uninitialized global variables (initialized to 0 by default) What is stored in the heap? - Memory that was returned by malloc/new. It grows as you request more. [grows upwards] What is stored in the stack? - Local variables and return addresses. [grows downward] What are dynamic libraries? - They are libraries shared with other processes. Each have their own text, data, bss. What is a program? - File in a special format that contains all necessary information to load and application and make it run. What are some examples of executable file formats? - ELF - Executable Link File (Linux) COFF - Common Object File Format (Windows
Información del documento
- Subido en
- 18 de febrero de 2024
- Número de páginas
- 23
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas