Friday, 2025-07-04, 7:06 PM

Warezy | Wares Easy | Software Portals

Main | Registration | Login
Welcome Guest
RSS
Login form
News calendar
«  January 2009  »
Su Mo Tu We Th Fr Sa
    123
45678910
11121314151617
18192021222324
25262728293031
Search
Site friends
Statistics
Warezy Sponsors
Web Translate
 

Blog Advertising - Advertise on blogs with SponsoredReviews.com

Buy and sell Text Links
News topics
Programming [8]
Coding, Source-code, Tutorial, Problem Solving and more
Hardware [5]
Hardware Info, Troubleshooting, Price, Performance and more
History [4]
More Abou History... you must read here
Computer Tips [1]
Computer Tipz
Internet [1]
Internet news, tools, media, software and problem solving
Windows [8]
Windows Tutorials
Mobile [1]
Mobile trick, tips, tutorial, troubleshooting, hacking
News [1]
News every day
Bloging [0]
Newest [0]
for every thing new posting
Games [0]
Games sources
Business [1]
Business
Hobby [0]
Journey [0]
Making Money [0]
Making money online or offline
Troubleshooting [0]
Warezy Box!
Warezy stats




Computer Blogs - BlogCatalog Blog Directory
DigNow.org
Our poll
Rate my site
Total of answers: 4
Main » 2009 » January » 8 » BOOLEAN LOGIC GATES - Part 2
BOOLEAN LOGIC GATES - Part 2
10:03 AM
2.1 A LITTLE CONVERSION

=======================================



So how do we convert from decimal to binary numbers? Sure you could

write out a table like above and check it to get the binary value

you want but what if your looking for a value for a number like

1275, good look writing a table up to 10011111011 or we could just

use the good old repeated division of 2 method. This works by

repeatedly dividing the decimal number by 2 and if its an even number

record a 0, if its an odd record a 1. Say for example we wanted to

convert 57 to binary:



2/57 remainder = 1

= 28



2/28 remainder = 0

= 14



2/14 remainder = 0

= 7



2/7 remainder = 1

= 3



2/3 remainder = 1

= 1



2/1 remainder = 1

= 0



Now if we put those remainders alongside eachother starting from the

bottom up we get 111001, which is 57 in binary.
Category: Programming | Views: 642 | Added by: Maintate | Rating: 0.0/0 |
Total comments: 0
Name *:
Email *:
Code *:
Copyright MyCorp © 2025
Create a free website with uCoz