A) Program Structure
reason: Thrashing occurs when page fault rate increases which in turn increases the page fault rate which results in less amount of productive work .
It depends on which type of page replacement algorithm we use, if we use global page replacement algorithm then thrashing will occur . We can minimize the effects of thrashing by using local page replacement.