Converting Octal 421 to Nibble, Byte, Word & Long Word

  • Context: MHB 
  • Thread starter Thread starter bergausstein
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around converting the octal number 421 (base 8) into various binary representations, specifically nibbles, bytes, words, and long words. Participants explore the necessary bit requirements for octal digits and how to represent the octal number in different data types.

Discussion Character

  • Technical explanation, Mathematical reasoning, Debate/contested

Main Points Raised

  • One participant seeks assistance in converting the octal number 421 to different binary formats, expressing uncertainty about the conversion process.
  • Another participant states that each digit of an octal number requires 3 bits.
  • It is noted that a 3-digit octal number will require 9 bits, leading to a question about how many nibbles are needed.
  • One participant proposes that it will take 2 nibbles and 1 additional bit to represent the octal number in binary, providing a binary breakdown of the digits.
  • Another participant agrees with the need for 3 nibbles, suggesting that partial nibbles are not permissible.
  • Participants provide binary representations for bytes, words, and long words based on the conversion of the octal number, asking for confirmation of their correctness.
  • A later reply confirms agreement with the provided answers regarding the binary representations.

Areas of Agreement / Disagreement

While there is some agreement on the bit requirements and the binary representations, the discussion includes multiple viewpoints on the conversion process and the representation of nibbles, indicating that not all aspects are settled.

Contextual Notes

Participants express assumptions about the representation of nibbles and the handling of bits, but these assumptions are not universally agreed upon, leaving some aspects of the discussion unresolved.

bergausstein
Messages
191
Reaction score
0
We are asked to convert the octal number 421(base 8) to nibble, byte, word and long word. Please help me how to go about it. I know that a nibble is half-byte wihich has 4 bits in it. But to cconvert an octal number to nibble is something I don't know how to do please help me. Thanks.
 
Technology news on Phys.org
How many bits does it take to store each digit of an octal number?
 
Hi markfl! digits in octal take 3 bits.
 
bergausstein said:
Hi markfl! digits in octal take 3 bits.

Correct, since each octal digit can take one of 8 values (0-7) and $8=2^3$. So, a 3 digit octal number will require 9 bits, which means how many nibbles will be required?
 
MarkFL said:
Correct, since each octal digit can take one of 8 values (0-7) and $8=2^3$. So, a 3 digit octal number will require 9 bits, which means how many nibbles will be required?

It will take 2 nibbles a 1 bit?

So, 4 = 100, 2 = 010 , 1 = 001. In binary, 100010001.

In nibbles, 1 0001 0001. Is this correct?
 
bergausstein said:
It will take 2 nibbles a 1 bit?

So, 4 = 100, 2 = 010 , 1 = 001. In binary, 100010001.

In nibbles, 1 0001 0001. Is this correct?

I am assuming we cannot have "partial nibbles" so we would need $$\left\lceil\frac{9}{4}\right\rceil=3$$ nibbles:

0001 0001 0001

How about the other data types?
 
MarkFL said:
I am assuming we cannot have "partial nibbles" so we would need $$\left\lceil\frac{9}{4}\right\rceil=3$$ nibbles:

0001 0001 0001

How about the other data types?

In bytes 00000001 00010001


In word 0000000100010001

In long word 00000000000000000000000100010001

Are my answers correct?
 
bergausstein said:
In bytes 00000001 00010001


In word 0000000100010001

In long word 00000000000000000000000100010001

Are my answers correct?

Yes, I agree with your answers. (Yes)
 

Similar threads

Replies
2
Views
2K
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 5 ·
Replies
5
Views
6K