How many bit combinations are there in a byte?

Answers were Sorted based on User's Feedback



How many bit combinations are there in a byte?..

Answer / abdullah javid

There'll actually be 256 combinations. The maximum value
that can be represented with a byte (8 - bits) is 255 but as
far as combinations are concerned 0 should also be
considered as well as 1, 2, 3, ..., 255. So there are total
256 combinations.

Is This Answer Correct ?    94 Yes 8 No

How many bit combinations are there in a byte?..

Answer / vaibhav meena

it is 2^8
means 2 ^ no of bits
means 256....
:)

Is This Answer Correct ?    28 Yes 3 No

How many bit combinations are there in a byte?..

Answer / azza

There are 256 combinations as 00000000 is classed a one
combination. plus the other 255 combinations. Answer 8 is
wrong.Answer 2 is correct.

Is This Answer Correct ?    19 Yes 3 No

How many bit combinations are there in a byte?..

Answer / santosh shah

256 combinations.Byte contains the 8 Bits and bit contains
either the value 0 or 1.i.e.(2 raise to power 8 minus
1).The maximum number of value represented with a byte is 8
bits is 255 but 0 should also be considered as well as 1,
2, 3, ..., 255. So there are total
256 combinations.

Is This Answer Correct ?    15 Yes 6 No

How many bit combinations are there in a byte?..

Answer / arjun

This has to be the easiest technical question for any
programmer...

A Byte is made of 8 Bits, so the number of combination for
Byte would be 2^8.

However, if asked the maximum number represented then it
would be (2^8)-1.

Surely, if you can't answer this you should seriously think
about changing your profession.

Is This Answer Correct ?    7 Yes 4 No

How many bit combinations are there in a byte?..

Answer / manoj

2 pow 8 combinations =256

Arjun is right

Is This Answer Correct ?    5 Yes 2 No

How many bit combinations are there in a byte?..

Answer / krishna

ya they r right.

Is This Answer Correct ?    6 Yes 15 No

How many bit combinations are there in a byte?..

Answer / saranya

the first two answers are right

Is This Answer Correct ?    4 Yes 14 No

How many bit combinations are there in a byte?..

Answer / panaitsdv

if number of bite values is n, and length of the byte is k.
that means n = 2, k = 8.
for n even => n^k
(2^8 = 256)
for n odd => n^k - 1
(2^7 - 1 = 128-1 = 127)

Is This Answer Correct ?    5 Yes 15 No

How many bit combinations are there in a byte?..

Answer / k.kishorebabu

=2^8-1
=256-1
=255
bco'z only 8 bit data can be loaded that depends on the
address lines we take

Is This Answer Correct ?    1 Yes 12 No

Post New Answer

More C++ General Interview Questions

What is the v-ptr?

0 Answers  


How can you link a c program with a c function?

0 Answers  


write program for palindrome

81 Answers   Amazon, Aricent, CSC, GE, HCL, Infosys, Syntel, Temenos, Wipro,


Is it possible to provide default values while overloading a binary operator?

0 Answers  


Write about an iterator class?

0 Answers  






what is an array

17 Answers  


Can a Structure contain a Pointer to itself?

0 Answers  


What is a c++ vector?

0 Answers  


How do you find out if a linked-list has an end?

0 Answers  


Describe friend function & its advantages.

0 Answers   TCS,


What is an associative container in c++?

0 Answers  


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

0 Answers  


Categories