Memory Map Questions and Answers
A memory map in C language represents how memory is allocated and organized for variables, functions, and data segments during program execution. It includes the text (code), data, heap, and stack segments. Understanding the C memory map is vital for programmers tackling programming questions and answers in competitive coding tests or technical interviews by companies like TCS, Infosys, and Wipro. These questions assess your grasp of runtime memory allocation, pointers, and scope of variables. This section includes detailed C language questions with answers on memory maps, helping learners debug programs efficiently and develop optimized code.
Memory Map
Showing 10 of
101 questions
1. 16 bits programming means:
- Program uses 16 bits wordlength
- Program where data is 16 bits long
- Program where address is 16 bits long
- None of these
2. The running program of the computer is called
- program
- process
- software
- None of these
3. What will be capacity of the process memory.
- Depends on operating system
- Depends on compiler
- Depends on memory Model
- None of these
4. The wordlength used by the Microprocessor 8086 is
- 16 bits
- 20 bits
- 24 bits
- 32 bits
5. Stack Setgment of the process memory always follows
- LIFO
- FIFO
- TREE
- None of these
6. In Mcroprocessor permits to access 16MB RAM, then address bus width must be
- 20 bits
- 24 bits
- 32 bits
- None of these
7. Command.com contains which type of MS-DOS commands?
- External
- Internal
- Real-mode
- Protected-mode
8. Which file executes commands in MS-DOS?
- Msdos.sys
- Io.sys
- Config.sys
- Command.com
9. Addresses are always in ABCD format but data stores in memory in
- ABCD
- DCBA
- DCAB
- Depends on System