Skip to main content
Sign in Register
Question no. 92199

What is a self-relocating program_________________?

Select your answer for: What is a self-relocating program_________________?
Show answer

Answer: B. can itself perform the relocation of its address-sensitive portions

Explanation

A self-relocating program can itself perform the relocation of address-sensitive portions. This capability allows executable code to run in any allocated memory area. The program adjusts internal memory pointers dynamically during its execution startup. Memory management requires executables to handle varying address spaces efficiently. Older operating systems lacked hardware support for automatic memory relocation. Self relocation ensures software can load successfully into fragmented RAM.

Bootloaders and embedded firmware frequently utilize self-relocating code techniques. Operating system kernels use relocation mechanisms when loading drivers into memory. Modern virtual memory systems handle relocation automatically via page tables. A program with relocation info still relies on external loaders for memory adjustment. Restricting execution to a single designated storage area defeats self-relocation. All of the above is wrong because only the second statement is correct.

Topic
—
Difficulty
medium

Related questions

Q1. Which among these options is wrong ?

Select your answer for: Which among these options is wrong ?
Show answer

Answer: C. Computer science belongs to Software engineering

Software engineering is widely recognized as a specialized sub-discipline contained within broader computer science. Computer science encompasses theoretical foundations, algorithms, and hardware architecture far beyond...

Q2. What is a set of software elements treated as a single unit for SCM purposes?

Select your answer for: What is a set of software elements treated as a single unit for SCM purposes?
Show answer

Answer: A. Software Configuration Item

A Software Configuration Item represents a managed unit within configuration management processes. SCIs are uniquely identified and formally controlled throughout the software development lifecycle. Treating related soft...

Q3. Which option is excluded from standard change management processes?

Select your answer for: Which option is excluded from standard change management processes?
Show answer

Answer: D. None of the mentioned

All listed steps are fundamental components of standard change management procedures. Logging changes ensures traceability and accountability throughout the software lifecycle. Estimating impact and reviewing with stakeh...

Q4. What is the cause of software bugs and failures_____________________?

Select your answer for: What is the cause of software bugs and failures_____________________?
Show answer

Answer: C. Both Software companies and Developers

Software defects originate from multiple sources including organizational flaws and developer mistakes. Software companies establish faulty processes while individual developers introduce specific coding errors. Comprehe...

Q5. Which of these is not among the eight principles of the Software Engineering Code of Ethics and Professional Practice?

Select your answer for: Which of these is not among the eight principles of the Software Engineering Code of Ethics and Professional Practice?
Show answer

Answer: D. ENVIRONMENT

The environment is not listed as one of the fundamental ethical principles. Professional software engineering ethics focus primarily on human stakeholders and products. Environmental concerns are broad but omitted from t...

Q6. Which of the following terms characterizes testing?

Select your answer for: Which of the following terms characterizes testing?
Show answer

Answer: B. Evaluating deliverable to find errors

Testing involves evaluating software deliverables systematically to uncover hidden defects and errors. Executing programs under controlled conditions helps discover discrepancies between expected and actual results. Qual...