Professional Documents
Culture Documents
TO
PROGRAMMING
COMPUTING
A number
is stored in memory in its binary equivalence
read as character using its ASCII character
NUMBER SYSTEMS
Decimal 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Binary 0, 1
Octal 0, 1, 2, 3, 4, 5, 6, 7
Hexadecimal system 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C,
D, E, F
BINARY AND DECIMAL SYSTEM
Binary to decimal
X . 27 + X . 26+ X . 25+ X . 24 + X . 23+ X . 22+ X . 21 + X . 20
Decimal to binary
o Keep dividing the number by two and keep track of the remainders.
o Arrange the remainders (0 or 1) from the least significant (right) to most
significant (left) digits
TO OCTAL AND HEXADECIMAL SYSTEM
Octal to binary
oEvery one octal digit equivalent to 3 binary digit
Hexadecimal to binary
oEvery one hexadecimal digit equivalent to 4 binary digits
MACHINE LANGUAGE
HTML, Java
programing for web-based applications
ADVANTAGES OF
PROGRAMMING LANGUAGES
Performs quicker
More adaptable to different system
Similar to human language
TRANSLATION OF PROGRAMMING CODES
readability
modularity
efficiency
robustness
usability
READABILITY
Terminators
Process Decisions
Connectors
Input/Output Loop
Direction
of Flow
SAMPLE FLOWCHART
SAMPLE CODING
PROGRAM
DOCUMENTATION