Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Q1 (8 points) Answer with True\" or \"False\" (a) In demand paging pages are bro

ID: 3912105 • Letter: Q

Question

Q1 (8 points) Answer with True" or "False" (a) In demand paging pages are brought in only when an actual request for a page occurs. Thrashing occurs when a program spends less time page faulting than executing. Segmented virtual memory schemes suffer from internal fragmentation. (c) (d) Trap is automatic procedure call initiated by some exceptional condition caused by the program itself. A semaphore is a synchronization tool that does not require busy waiting. Cycle stealing is the process of having a DMA controller take bus cycles away from th CPU Procedure calls don't cause the flow of control to be altered. In immediate addressing, the address of the operand is included in the instruction.

Explanation / Answer

Q 1)True, pages are loaded only when it is demanded.

Q2)False, Thrashing occurs when a program spends more time on page faulting than executing.

Q3)False, Segmented virtual memory suffers from external fragmentation as when processess are loaded and removed from the memory, the free space is broken into smaller pieces.

Q4)True, it is caused by exceptional condition.

Q5) True, Semaphore does not require busy waiting