ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  C++ General
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
How many bit combinations are there in a byte?
 Question Submitted By :: Alok Hisaria
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How many bit combinations are there in a byte?
Answer
# 1
Byte contains the 8 Bits and bit contains either the value 
0 or 1. there are only two states there will be 255 
combinations i.e.(2 raise to power 8 minus 1) 
combinations  .
 
Is This Answer Correct ?    2 Yes 2 No
Anita Sachdeva
 
  Re: How many bit combinations are there in a byte?
Answer
# 2
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 ?    3 Yes 1 No
Abdullah Javid
 
 
 
  Re: How many bit combinations are there in a byte?
Answer
# 3
ya they r right.
 
Is This Answer Correct ?    0 Yes 1 No
Krishna
 
  Re: How many bit combinations are there in a byte?
Answer
# 4
2 raise to no. of byte ie. for three byte ,8 bit combination
 
Is This Answer Correct ?    0 Yes 1 No
Bari
 
  Re: How many bit combinations are there in a byte?
Answer
# 5
the first two answers are right
 
Is This Answer Correct ?    0 Yes 1 No
Saranya
 
  Re: How many bit combinations are there in a byte?
Answer
# 6
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 ?    0 Yes 1 No
Santosh Shah
 
  Re: How many bit combinations are there in a byte?
Answer
# 7
it is 2^8
means 2 ^ no of bits
means 256....
:)
 
Is This Answer Correct ?    1 Yes 0 No
Vaibhav Meena
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
what is the order of initialization for data? TCS4
Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??  2
How to write a program such that it will delete itself after exectution?  1
what is importance of data sturture in a programming language? L&T10
Write a function which takes a character array as input and reverses it in place. Lehman-Brothers2
What is the output of printf("%d")? HCL25
What is the difference between method and message? HP2
Explain "passing by value", "passing by pointer" and "passing by reference" ?  5
Implement strcmp Citadel2
What is Pure Virtual Function? Why and when it is used ? Lucent4
What is the Difference between "C structure" and "C++ structure"?  4
what is static function Patni2
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4 Quark1
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.  14
Is there any difference between dlearations int* x and int *x? If so tell me the difference? Lason13
What is the difference between Class and Structure? HP2
What issue do auto_ptr objects address?  1
What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same CTS3
what is difference between static and non-static variables  4
What are Binay tress and B trees? Diff between them? CTS3
 
For more C++ General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com