Memory Map Questions and Answers

Take Exam

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

91. The assembly equivalent code for exit(0) is .

  • mov ax, 4c00h int 20h
  • mov ax, 4c00h int 21h
  • mov dx, 4c00h int 21h
  • mov ax, 9h int22h
Show Answer Report

92. Why 80085 processor is called an 8 bit processor /

  • Because 8085 processor has 8 bit ALU
  • Because 8085 processor has 16 bit ALU
  • Because 8085 processor has 32 bit ALU
  • Because 8085 processor has 64 bit ALU
Show Answer Report

93. What does microprocessor speed depend on ?

  • The processing speed depends on DATA BUS WIDTH
  • The processing speed depends on Address BUS WIDTH
  • The processing speed depends on Registers WIDTH
  • None of these
Show Answer Report

94. A portion of RAM used for aving the content of program Counter and general purpose registers is called.

  • Stack memory
  • heap memory
  • Data memory
  • None of these
Show Answer Report

95. 'Type 5' is the same as

  • segmentation fault
  • Null pointer assingment
  • invalid indirection
  • None of these
Show Answer Report

96. The sources can be compiled without modification for DOS, Windows or Lunux operating systems

  • Portability
  • Extensible
  • Performance hit
  • None of these
Show Answer Report

97. The operating system sets up and maintain a table for each running program alled

  • Process memory map
  • Page table
  • IVT table
  • None o these
Show Answer Report

98. Operating system is always present in

  • low memory
  • upper memory
  • Heigh memory
  • Extended memory
Show Answer Report

99. Which of the following is true

  • A physical address is an address represented by bits on a physical address bus
  • A logical address is a storage location addres that may or may not relate directly to a physical location
  • A linear address is memory that is addressed starting with 0
  • All the above
Show Answer Report

100. Which of the following statement is not true

  • 8186 has ode segment register.
  • 8086 has program segment register.
  • 8086 has data segment register.
  • 8086 has stacks segment register.
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test