TASK 1.3
Explore Ram and find and show that if we store 5 in variable X i.e. X=5 in shell the data is stored in ram?
Ans).
Sometimes to process our data/information, it must be kept in computers RAM memory. RAM memory is divided into small locations, and each location had unique number called memory location/address, which is used to hold our data. Programmer can give a unique name to this memory location/address called memory variable or variable (Its a named storage location that may take different values, but only one at a time.
In Linux, there are two types of variable:-
1).SYSTEM VARIABLE:-Created and maintained by Linux itself. This type of variable defined in CAPITAL LETTERS.
2).USER DEFINED VARIABLES(UDV):- Created and maintained by user. This type of variable defined in LOWER LETTERS.
so,given that if we store 5 in variable X ie.X=5
here variable "5" is defined with the CAPITAL LETTER "X"
so X=5 is comes under system variable
Comments
Post a Comment