PROGRAMMING Flashcards
(34 cards)
also called numeral system.
Number System
any notation that represents numerals or numbers
Number System
4 types of number system
Decimal
Binary
Octal
Hexadecimal
most common number system we have ever known and the basis of how we count.
DECIMAL
has a base or radix of 10.
symbols used are the numbers 0-9.
DECIMAL
considered as the computer machine language.
BINARY
has a base or radix of 2.
using only the symbols 0 and 1.
BINARY
result in simplifying the representation of characters in programming a computer.
OCTAL
has a base or radix of 8.
symbols used are the numbers 0-7
OCTAL
spin off from the octal system
HEXADECIMAL
has a base or radix of 16.
HEXADECIMAL
what is ASCII stands for?
American Standard Code for Information Interchange
Represent a total of 255 characters.
ASCII TABLE
ASCII NUMBER OF A & Z?
A- 65
Z- 90
WHAT IS THE BINARY OF ‘S’? AND ITS ASCII NO.
1010011
83
WHAT IS THE BINARY OF ‘T’? AND ITS ASCII NO.
1010100
84
WHAT IS THE ASCII NO. OF 1011000, AND THE CHARACTER
X
88
WHAT IS THE ASCII NO. OF 1001110, AND THE CHARACTER
N
78
WHAT IS THE BINARY OF ‘W’? AND ITS ASCII NO.
1010111
W
1110111
+1010111
and its
decimal, octal, hexadecimal
11001110
206
316
CE
111111
100101
+111111
and its
decimal, octal, hexadecimal
10100011
163
243
A3
101001
-100111
and its
decimal, octal, hexadecimal
10
2
2
2
1110001010
-1001010111
and its
decimal, octal, hexadecimal
100110011
307
463
133
11111
*10111
and its
decimal, octal, hexadecimal
1011001001
713
1311
2C9