Hi! I want to share a method to easily convert a decimal number into binary number and vice versa. I learned this method of converting decimal to binary while I was studying for my C1003 Mathematics for Computing.
The Basic Concept
The basic concept of this method is looking at the fact that we just need to add one zero each time we multiply the decimal equivalent of a binary number by 2 (two).
Let me give an example:
Click here to read the full post…
admin Education, IDIC, Informatics Binary, binary conversion, binary to decimal conversion, C1003, decimal to binary conversion, Mathematics for Computing
Hi! This is my third post about my International Diploma in Computing assignment. Now I going to post about my C1003 Mathematics for Computing module. I do this module in Term 3 2007 (August – December 2007).
So, lets begin..!!
SECTION A
A1
a) Perform the following base conversions, showing all workings.
i) 3345 Hexadecimal to Denary
|
3
|
|
3
|
|
4
|
|
5
|
|
|
|
X
|
|
X
|
|
X
|
|
X
|
|
|
|
163
|
|
162
|
|
161
|
|
160
|
|
|
|
1228
|
+
|
768
|
+
|
64
|
+
|
5
|
=
|
13125
|
334516 = 1312510
ii) 5714 Octal to Hexadecimal
First step: Octal to Binary
|
5
|
7
|
1
|
4
|
|
▼
|
▼
|
▼
|
▼
|
|
101
|
111
|
001
|
100
|
57148 = 1011 1100 11002
Second step: Binary to Hexadecimal
|
1011
|
1100
|
1100
|
|
▼
|
▼
|
▼
|
|
B
|
C
|
C
|
1011 1100 11002 = BCC16
57148 = BCC16
iii) 5971 Denary to Binary
|
2
|
5971
|
|
|
|
2
|
2985
|
►
|
1
|
|
2
|
1492
|
►
|
1
|
|
2
|
746
|
►
|
0
|
|
2
|
373
|
►
|
0
|
|
2
|
186
|
►
|
1
|
|
2
|
93
|
►
|
0
|
|
2
|
46
|
►
|
1
|
|
2
|
23
|
►
|
0
|
|
2
|
11
|
►
|
1
|
|
2
|
5
|
►
|
1
|
|
2
|
2
|
►
|
1
|
|
|
1
|
►
|
0
|
|
|
|
|
|
|
|
597110 = 1 0111 0101 00112
b) Evaluate F9D 16 + 56A 16, showing your working.
|
|
1
|
1
|
|
|
|
F
|
9
|
D
|
|
|
5 +
|
6 +
|
A +
|
|
21 |
16 |
23
|
|
|
16 +
|
16 -
|
16 +
|
|
1
|
5
|
0
|
7
|
F9D16 + 56A 16 = 150716
A2
For each of the following statement, select one correct answer from those given.
Click here to read the full post…
admin Education, IDIC, Informatics Binary, boolean, C1003, Hexadecimal, IDIC, Mathematics for Computing, Octal, Probability