Friday, May 2, 2014

Memory and Virtual Memory Management

What is Memory Management?

One of the main functions of Operating systems is Memory Management. Memory Management may be defined as the process of managing the optimal use of main memory that is RAM (Random Access Memory). RAM is much faster than hard disk. So RAM is used to store data and instructions temporarily while they are being executed by CPU ( Central Processing Unit or PROCESSOR ). CPU can get data and instructions from RAM much faster that from hard disk.

As we know CPU is a very very fast device. It may execute billions of instructions per second. CPU will have to wait for data and instruction from hard disk because getting data from hard disk is very slow. That is why RAM is used. So data and instructions needed for execution are brought into main memory that is RAM first. Now RAM provides data and instructions to CPU rapidly.
What is Memory Management

What is Memory Management and virtual memory management

Operating System allocates the required memory are in main memory to programs that are a candidate for execution. The allocated memory area will be de-allocated when the program will finish execution.

What is Virtual Memory?

Some times, main memory that is RAM is not enough to run larger programs. In this case, some operating systems apply the technique of VIRTUAL MEMORY to overcome the problem of small RAM. 

The operating system uses a particular area of hard disk as additional RAM (virtually). The most wanted part of the program in execution may be kept in RAM while the remaining part of that program may on the particular part of the hard disk. This is called Virtual Memory. The area of hard disk used for virtual memory is called a SWAP file. The Swap file is used to exchange data and instructions of a running program between RAM and Hard disk.





Monday, February 17, 2014

Uses of Left Right Mid Text Functions in Excel

Why To Use Left Function in Microsoft Excel?

The Left function is used to get first N characters from the given text string or the text contained in a cell.

Syntax of LEFT Function in Excel


LEFT(Text, Number_of_characters)

For example, the function LEFT("Normal",3) will return Nor.

Syntax of LEFT function with Cell Reference


LEFT(CellReference, Number_of_characters)

For example, let the cell A2 contains the text Humanity, the function LEFT(A2,5) will return Human.
Similarly if Cll A12 contains "England" then Left(A12,5) will give "Engla" that is first five characters of contents of cell A12 from left side.

How To Implement LEFT Function in Excel

Uses of Excel Functions Left Right in Excel Worksheet
Uses of Excel Functions Left Right in Excel Worksheet

 

 First of all place the cursor in an empty cell next to cell A2, to enter the function.
  • Type =
  • Type the function name LEFT
  • Type the left parenthesis (
  • Type A2 from keyboard.
  • Type , (that is Comma)
  • Type 5 so that the first 5 characters will be returned from cell A2's text. 
  • Press Enter key (You need not to enter right parenthesis, it will be automatically included)
  • The result Human will be displayed in the cell.
 Note: Number_of_characters will be normally greater than zero. If Number_of_characters will greater than the total length of the text then All the text will be returned. For example, in above example the function LEFT(A2, 10) will return the whole text in cell A2 that is Humanity.
Similarly, if we ignore the value of Number_of_characters then it is assumed to be 1 by default. So that the function LEFT(A2) will return only one character that is H.

Why To Use Right Function in Microsoft Excel?

The Right function is used to get the last N characters in a text string. Where N is the number of characters to be extracted from the given string.

Syntax of RIGHT Function in Excel


RIGHT(Text, Number_of_characters)

For example, the function Right("Night",2) will return ht.

Syntax of RIGHT function with Cell Reference


RIGHT(CellReference, Num_of_char)

For example, let the cell A2 contains the text Saturday, the function RIGHT(A2,3) will return day.

How To Implement RIGHT Function in Excel

uses-of-RIGHT-Excel-Function-Example-data-Results
 First of all place the cursor in an empty cell next to cell A2, to enter the function.
  • Type =
  • Type the function name RIGHT
  • Type the left parenthesis (
  • Type A2 from keyboard.
  • Type , (that is Comma)
  • Type 3 so that the last 3 characters will be returned from cell A2's text. 
  • Press Enter key (You need not to enter right parenthesis, it will be automatically included)
  • The result day will be displayed in the cell.
Note:
  • Num_of_char will be greater than zero normally. 
  • If Num_of_char is greater than the length of given text, then RIGHT function will return all of text. 
  • If the value of Num_of_char is not used then its default value 1 is used and only one last character is returned by the RIGHT function.

Why To Use MID Function in Microsoft Excel?

The MID function is used to get the last N characters in a text string. Where N is the number of characters to be extracted from the given string.

Syntax of RIGHT Function in Excel


MID(text, start_num, num_chars)

For example, the function MID("Night",1,3) will return Nig.

Syntax of RIGHT function with Cell Reference


RIGHT(CellReference, start_num, num_chars)

Where start_num is the number of starting character and num_chars is total number of characters to be extracted from the text.
For example, let the cell A2 contains the text Reservation,
  • the function MID(A2,6,3) will return vat.
  • the function MID(A2,6,10) will return vation. Since 10 is greater than the length of 6 th character to end of text, so this MID function will return all text starting from 6th character v to last character n.
  • the function MID(A2,1,1) will return only one character starting from position 1 that is R.

How To Implement RIGHT Function in Excel

uses-of-MID-Excel-TEXT-Function-Example

 First of all place the cursor in an empty cell next to cell A2, to enter the function.
  • Type =
  • Type the function name MID
  • Type the left parenthesis (
  • Type A2 from keyboard.
  • Type , (that is Comma)
  • Type 6 
  • Type ,
  • Type 3 so that the 3 characters from position 6 will be returned cell A2's text. 
  • Press Enter key (You need not to enter right parenthesis, it will be automatically included)
  • The result vat will be displayed in the cell.


    Friday, February 14, 2014

    Learn Practical Use of MAX Function and MIN Function in Excel Worksheets

    What is MAX Function?

    Learn Practical Use of MAX Function and MIN Function in Excel Worksheets
    Learn Practical Use of MAX Function and MIN Function in Excel Worksheets
    The MAX function is used to get the maximum number from different given numbers in Excel Worksheet.

    Syntax of MAX Function in Excel

    MAX(number1,number2,number3,...numberN)
    For example the function MAX(5,100,35) will return 100, since 100 is largest number of all 5, 100 and 35.

    Syntax of MAX Function using Cell References

    MAX(CellRef1:CellRef2)
    Where CellRef1 is the cell reference of the first cell and CellRef2 is the cell reference of the last cell in the given cell range in Excel Worksheet.

    What is MIN Function?

    use of Min Function Microsoft Excel Formulas and Functions
    The MIN function is used to get the minimum number from different given numbers in Excel Worksheet.

    Syntax of MIN Function in Excel

    MIN(number1,number2,number3,...numberN)
    For example the function MIN(5,100,35) will return 5, since 5 is the smallest number of all 5, 100 and 35.

    Syntax of MIN Function using Cell References

    MIN(CellRef1:CellRef2)
    Where CellRef1 is the cell reference of the first cell and CellRef2 is the cell reference of the last cell in the given cell range in Excel Worksheet.

     How To Implement MAX Function in Excel

     First of all place the cursor in an empty cell to enter the function.
    • Type =
    • Type the function name MAX
    • Type the left parenthesis (
    • Select the cell range A2 to E2 with the help of mouse so that the arguments A2:E2 will be automatically entered in the MAX function. 
    • Note: that you may type A2:E2 by keyboard also.
    • Press Enter key (You need not to enter right parenthesis, it will be automatically included)
    • The result 50 will be displayed in the cell.

    How To Implement MIN Function in Excel

     First of all place the cursor in an empty cell to enter the function.
    • Type =
    • Type the function name MIN
    • Type the left parenthesis (
    • Select the cell range A2 to E2 with the help of mouse so that the arguments A2:E2 will be automatically entered in the MIN function. 
    • Note: that you may type A2:E2 by keyboard also.
    • Press Enter key (You need not to enter right parenthesis, it will be automatically included)
    • The result 5 will be displayed in the cell.

    Example Worksheet Picture For MAX and MIN Functions

    Practical Use of Max Function and MIN Min Function in Excel Worksheet
    Practical Use of Max Function and MIN Min Function in Excel Worksheet

    Find Your Correct Age From Date of Birth

    First of all click on First two digits to type Month number from keyboard like any number from 1 to 12. . Now click on next two digits and t...