What type of numbers are used in Computer ?
You can define numbers in following categories for simplicity
- Integers - Negative , Zero and Positive whole numbers
- Fractional – Ratio of Integer numbers
- Decimal – Part of whole number represented with decimal point in base-10(Decimal system) . There can be whole number along with fractional part as well. For ex. 2.5
How Computer process above numbers ?
Everything in computer is stored as binary and it understands the binary based codes only. Computer engineers use English like high level language for programming purpose. We will use one of the most popular programming language C for reference.
What type of data do you use in your day to day life ?
Alphabets for Noun , Integers and decimal numbers . Information about any person can be put as data. Programming language refer these with different data types such as char (Character) , int(Integer) , float(For decimal numbers) etc.
Why decimal number in binary system ? Good question ! Binary syatem refer it as Binary point.
How computer differentiate between various keys ?
Check the ASCII table link and try to find code for Alphabets and numbers. You will find code for even Bell sound, ESC and Backspace key .
