Module 01 — Introduction to Programming Languages
Investigates how instructions and data are represented in computers and exploit them in arithmetic and logic operations
Analyses how numbers are represented in a Computer
In a computer system everything should be in the form of binary format combination of (1s and 0s) because the computer can only understand only the binary values, as per the understanding of mechanical computers since the evolution of computers by Charles Babbage, who is considered as the father of computers. As he was a mathematician, inventor, philosopher and mechanical engineer he himself originated the digital programmable computers. Therefore, computer system converts all the user data into binary form.
Examples: Binary (2), Octal (8), Decimal (10) and hexadecimal (16)
Number Systems
Convert Decimal Numbers into Binary
Convert Decimal Numbers into Octal
Convert Decimal Numbers into Hexadecimals
Convert Binary into Decimal
Binary into Octal
Given binary number is separated into 3 bits portion from right to left. Then the right the octal value of each 3 bits portion.
Binary into Hexadecimals
Convert Octals into Hexadecimals
Convert Hexadecimals into Decimal Numbers
Convert Hexadecimals into Octals
Here the below depicted are the binary calculation examples with the operations.
Binary Addition
Binary Subtraction
Binary Multiplication
Binary Division
Thank you for taking your time in reading my blog about how to analysis numbers in a computer with the technological advancement even today we use high level languages to our coding and as a mode of giving instructions to computers. In the first, machine language was used for this purpose while there were no artificial intelligence to convert analog radio waves in digital platform for the user to get information.
Lets learn more about programming in the next lesson.