There may be multiple incorrect statements. Give your explanations.
Control structures
Control structures are block of statements that analyze the value of variables and determine the flow of execution based on those values. When a program is running, the CPU executes the code line by line. After sometime, the program reaches the point where it has to make a decision on whether it has to go to another part of the code or repeat execution of certain part of the code. These results affect the flow of the program's code and these are called control structures.
Switch Statement
The switch statement is a key feature that is used by the programmers a lot in the world of programming and coding, as well as in information technology in general. The switch statement is a selection control mechanism that allows the variable value to change the order of the individual statements in the software execution via search.
There may be multiple incorrect statements. Give your explanations.
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.
Step by step
Solved in 2 steps