There may be multiple incorrect statements. Give your explanations.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
icon
Concept explainers
Question

There may be multiple incorrect statements. Give your explanations.

Which of the following statements about demand paging is/are INCORRECT?
(a) Rely on page faults to bring in pages containing the code from the executable file (a.out).
(b) Rely on page faults to bring in data in BSS from the executable file (a.out).
(c) Rely on page faults to bring in data allocated in heap from the executable file (a.out).
(d) An 8MB stack segment is pre-allocated on RAM by kernel to avoid stack overflow.
(e) None of the above (i.e., (1)-(4) are all CORRECT)
Transcribed Image Text:Which of the following statements about demand paging is/are INCORRECT? (a) Rely on page faults to bring in pages containing the code from the executable file (a.out). (b) Rely on page faults to bring in data in BSS from the executable file (a.out). (c) Rely on page faults to bring in data allocated in heap from the executable file (a.out). (d) An 8MB stack segment is pre-allocated on RAM by kernel to avoid stack overflow. (e) None of the above (i.e., (1)-(4) are all CORRECT)
Expert Solution
Step 1

Demand paging :This concept is used for implementation of virtual memory .As in VM , a data or memory is already placed in main memory so as to reduce time ,it become difficult to predict which memory or pages are needed next to CPU.This concept of demand paging say whenever CPU requires a page then only the memory is to be transferred from main memory which id called on demand page.

 

Page fault: It is a condition which occur when a page is not found in main memory required by CPU, so a page fault is said to occur which then instantly make available that page from hard disk .

 

Virtual memory:

Memory which exists in Operating system. In this memory is allocated to resources when RAM is all full and memory is given in secondary memory .It is basically used to increase the RAM virtually .A virtual address is translated to physical address so as to ensure memory security. It consists of both software and hardware and allowed the memory shortage in main RAM to be compensated via hard disk.

 

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education