|
INTERVIEW QUESTIONS
OPERATING SYSTEMS
DETAILS
Question: Explain the concept of Reentrancy.
Answer: It is a useful, memory-saving technique for multiprogrammed time sharing systems. A Reentrant Procedure is one in which multiple users can share a single copy of a program during the same period. Reentrancy has 2 key aspects: The program code cannot modify itself, and the local data for each user process must be stored separately. Thus, the permanent part is the code, and the temporary part is the pointer back to the calling program and local variables used by that program. Each execution instance is called activation. It executes the code in the permanent part, but has its own copy of local variables/parameters. The temporary part associated with each activation is the activation record. Generally, the activation record is kept on the stack.<br>Note: A reentrant procedure can be interrupted and called by an interrupting program, and still execute correctly on returning to the procedure.<br>
|
|
|
Category |
Operating Systems Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9292 users |
Added on |
9/9/2014 |
Views |
66894 |
Rate it! |
|
|
Question:
Explain the concept of Reentrancy.
Answer:
It is a useful, memory-saving technique for multiprogrammed time sharing systems. A Reentrant Procedure is one in which multiple users can share a single copy of a program during the same period. Reentrancy has 2 key aspects: The program code cannot modify itself, and the local data for each user process must be stored separately. Thus, the permanent part is the code, and the temporary part is the pointer back to the calling program and local variables used by that program. Each execution instance is called activation. It executes the code in the permanent part, but has its own copy of local variables/parameters. The temporary part associated with each activation is the activation record. Generally, the activation record is kept on the stack.<br>Note: A reentrant procedure can be interrupted and called by an interrupting program, and still execute correctly on returning to the procedure.<br> Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What are the requirements for virtual memory architecture?
|
View Answer
|
|
What do we do when the operating is crashed?How do we install another operating system?
|
View Answer
|
|
What is the purpose and function of an operating system?
|
View Answer
|
|
Which file system allow as much fragmentation FAT32 or NTFS?
|
View Answer
|
|
How the file system of USB flash drives changes after inserting into different operating system?
|
View Answer
|
|
Various input,output and secondary devices must be linked to a mircocomputer through separate
|
View Answer
|
|
what must be stored in menory before the computer can manipulate data
|
View Answer
|
|
What are system calls give examples also?
|
View Answer
|
|
Why in most USB flash drives uses FAT file system instead of NTFS.
|
View Answer
|
|
What is the difference between linux and windows operating systems?
|
View Answer
|
|
Advantages and disadvantages of windows and Linux os, what is the reason for using linux os than windows os.
|
View Answer
|
|
What do you mean by windows firewall in os?
|
View Answer
|
|
Thank you sir/madam to providing wonderful questions with answers. i need question on Photoshop,can you give ?
|
View Answer
|
|
What is the difference Xp and Windows 2000??
|
View Answer
|
|
Difference between win xp,win 2000 professional?
|
View Answer
|
|
What is the functions of MS Terminal Server/ Metaframe XP (Citrix)to network connection? 2. What is theFrame Relay, MPLS, VoIP/QoS,IIS and WINS in Telecommunications?
|
View Answer
|
|
I need the sample qustions @ answers of AIX operating System?
|
View Answer
|
|
What is difference between windows XP & win 2k?
|
View Answer
|
|
What is difference between system call and system program?
|
View Answer
|
|
What is diffrence between ext2 & ext2 & vfat filesystem?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Operating Systems Interview Questions & Answers - Exam Mode /
Learning Mode
|