Professional Documents
Culture Documents
Assignment 2 Frontsheet
Assignment 2 Frontsheet
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature
❒ Summative Feedback: ❒ Resubmission Feedback:
Class A addresses had the first bit set to 0 and provided the largest
block of addresses, with the first eight bits (the first octet) used to
identify the network and the remaining 24 bits used to identify the
devices on the network. This allowed for up to 126 Class A networks,
each of which could support up to 16 million devices.
Class B addresses had the first two bits set to 10 and provided a
smaller block of addresses, with the first 16 bits (the first two octets)
used to identify the network and the remaining 16 bits used to
identify the devices on the network. This allowed for up to 16,384
Class B networks, each of which could support up to 65,534 devices.
Class C addresses had the first three bits set to 110 and provided the
smallest block of addresses, with the first 24 bits (the first three
octets) used to identify the network and the remaining 8 bits used to
identify the devices on the network. This allowed for up to 2 million
Class C networks, each of which could support up to 254 devices.
The division of addresses into classes allowed for more efficient use
of the available address space by allocating different block sizes to
different types of networks based on their size and requirements.
However, the class-based system also had some limitations, such as
the inability to easily allocate smaller blocks of addresses to
networks that did not require a full Class C block.
working out?
a. 00110111
b. 10101111
c. 11010110
Making:
1. Write down the binary digits in a column, starting from the right-
hand side.
Starting from the right, the power of 2 doubles for each digit as we
move to the left. For example, the rightmost digit has a power of 2 0,
the second-rightmost digit has a power of 2 1, the third-rightmost digit
has a power of 22, and so on.
Let's apply:
a. 00110111
1. Write down the binary digits in a column, starting from the right-
hand side:
|0|0|1|1|0|1|1|1|
128 64 32 16 8 4 2 1
Starting from the right, the powers of 2 double for each digit as we
move to the left. For example, the rightmost digit has a power of 2 0
(which is 1), the second-rightmost digit has a power of 2 1 (which is 2),
the third-rightmost digit has a power of 22 (which is 4), and so on.
0 0 32 16 0 4 2 1
To get each digit in the denary equivalent, we multiply the binary digit
by its corresponding power of 2. For example, the leftmost digit (which
is 0) is multiplied by 128 (which is 2 7), the second-leftmost digit (which
is also 0) is multiplied by 64 (which is 2 6), the third-leftmost digit
(which is 1) is multiplied by 32 (which is 25), and so on.
0 + 0 + 32 + 16 + 0 + 4 + 2 + 1 = 55
Therefore, the 8-bit binary value 00110111 is equivalent to the denary
value 55.
b. 10101111
1. Write down the binary digits in a column, starting from the right-
hand side:
|1|0|1|0|1|1|1|1|
128 64 32 16 8 4 2 1
Starting from the right, the powers of 2 double for each digit as we
move to the left.
128 0 32 0 8 4 2 1
To get each digit in the denary equivalent, we multiply the binary digit
by its corresponding power of 2.
128 + 0 + 32 + 0 + 8 + 4 + 2 + 1 = 175
c. 11010110
1. Write down the binary digits in a column, starting from the right-
hand side:
|1|1|0|1|0|1|1|0|
128 64 32 16 8 4 2 1
Starting from the right, the powers of 2 double for each digit as we
move to the left.
128 64 0 16 0 4 2 0
To get each digit in the denary equivalent, we multiply the binary digit
by its corresponding power of 2.
128 + 64 + 0 + 16 + 0 + 4 + 2 + 0 = 214
Let’s apply:
a. 31
Remainders
2 31 1
2 15 1
27 1
23 1
21 1
0