Computer ScienceNEB 2076 (old course)
Convert (513) 10 Decimal number to (..) 2 Binary number.
5Answer
To convert the decimal number to its binary equivalent, we use the division-by-2 method. This involves repeatedly dividing the number by 2 and recording the remainders. The binary number is obtained by reading the remainders in reverse order.
Step-by-Step Conversion:
Divide 513 by 2:
Divide 256 by 2:
Divide 128 by 2:
Divide 64 by 2:
Divide 32 by 2:
Divide 16 by 2:
Divide 8 by 2:
Divide 4 by 2:
Divide 2 by 2:
Divide 1 by 2:
Now, we write the remainders in reverse order (from the last division to the first):
Verification:
To ensure correctness, we can convert back to decimal:
Thus, the binary equivalent of is .
Discussion
Loading…
More Computer Science questions
What is Boolean algebra ? Describe AND and NAND gates with logic symbol, truth table and Venn diagram. [4+6]NEB 2076 (old course)10Draw the block diagram of computer system. Explain the input and processing units. [4+6]NEB 2076 (old course)10What is Operating System (OS) ? Describe its functions in brief. [2+8]NEB 2076 (old course)10What is programming language ? Describe the various types of programming language with their merits and demerits. [2+8] GROUP: B Short answer questions 9 × 5…NEB 2076 (old course)10Differentiate between analog and digital computer.NEB 2076 (old course)5What is ROM ? List out the different types of ROM. [2+3]NEB 2076 (old course)5