Programming, Music, Games. Creation.

Posts tagged “binary

Binary Numbers – The Easy way to Calculate!

Learning C with Bermuda

The table below explains everything!


0 1 0 0 1 0 0 1
27 26 25 24 23 22 21 20


Simply add the 2x when that specific place has ‘1’ instead of ‘0’

Therefore, the example above will be 01001001 = 26+23+20= 64+8+1 = 73


Simple and easy way to calculate binary numbers :)


OR you can simply use my Binary Swift v2 :P

[C#] Binary Swift v2

Download url on the bottom

This is kinda my 1st C# program xD

Simply input any integer into one of the boxes, the value for others will chage too :D

Code for ‘Form 1.cs’

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1

[C++] Binary Swift v1

NOTE (Added 13/2/14) : Back then, I thought binary = 2bin, decimal = 10bin, hexadecimal = 16 etc. Therefore, there are mistakes in this post!!

simple version! :D

only input 10and  8bin,

Error occurs if u input 16 ir ASCII

Created by Max
Bermuda’s Unscapable Triangle

version 1
*/ (more…)

2bit, 8bit, 10bit, 16bit

What is 2bit, 8bit, 10bit, 16bit?

2 bit (binary) means that only 2 digits are used to express numbers.
it goes same for 8,10,16.
8 bit (octect) uses 8 digits to express numbers,
10 bit (decimal) uses 10 digits to express numbers and same goes for 16(hexadecimal).