How many bit combinations are there in a byte?
Answer Posted / 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 |
Post New Answer View All Answers
Define the process of error-handling in case of constructor failure?
What is setiosflags c++?
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
Explain the concept of copy constructor?
What is c++ 11 and c++ 14?
What is a local reference?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
Which software is best for coding?
what is a reference variable in C++?
What is the best way to declare and define global variables?
Is c++ double?
Distinguish between new and malloc and delete and free().
Is c++ built on c?
What is the role of C++ shorthand's?
Can a program run without main?