FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMPUTER OPERATING SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
True or False:Pages and Segments could both stored on disk or in RAM
A
TRUE
B
FALSE
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Paging and segmentation are processes by which data is stored to and then retrieved from a computer’s storage disk. Paging is a computer memory management function that presents storage locations to the computer’s central processing unit (CPU) as additional memory, called virtual memory.

Detailed explanation-2: -Paging is a method of writing and reading data from a secondary storage(Drive) for use in primary storage(RAM). When a computer runs out of RAM, the operating system (OS) will move pages of memory over to the computer’s hard disk to free up RAM for other processes.

Detailed explanation-3: -The only difference is that the length of segments is varied, and the pages have a fixed size. The segment of a program has the program’s data structures, functions, utility, main function, and more.

Detailed explanation-4: -Segment Table is used to store the information of all segments of the process. As we know, the CPU generates a logical address and for its conversion to the physical address, a segment table is used. The mapping of a two-dimensional Logical address to a one-dimensional Physical address is done using the segment table.

There is 1 question to complete.