Schedule

Schedule

Friday, March 6

1425686400 Tech News 2Night
1425690000 Padre's Corner

Saturday, March 7

1425754800 The Tech Guy

Sunday, March 8

1425837600 The Tech Guy
1425852000 This Week in Tech

Monday, March 9

1425920400 Tech News Today
1425924000 Triangulation
1425929400 iPad Today
1425936600 Coding 101
1425942000 Tech News 2Night

Tuesday, March 10

1426006800 Tech News Today
1426010400 MacBreak Weekly
1426019400 Security Now
1426028400 Tech News 2Night
1426032000 All About Android

Wednesday, March 11

1426087800 FLOSS Weekly
1426093200 Tech News Today
1426096800 Windows Weekly
1426104000 This Week in Google
1426114800 Tech News 2Night
1426116600 Android App Arena
1426122000 Ham Nation

Thursday, March 12

1426179600 Tech News Today
1426183200 Know How...
1426188600 Marketing Mavericks
1426194000 Home Theater Geeks
1426201200 Tech News 2Night
1426203000 The Giz Wiz

Friday, March 13

1426266000 Tech News Today
1426269600 This Week in Law
1426280400 Before You Buy
1426287600 Tech News 2Night
1426291200 Padre's Corner

Saturday, March 14

1426356000 The Tech Guy

Sunday, March 15

1426442400 The Tech Guy
1426456800 This Week in Tech

Monday, March 16

1426525200 Tech News Today
1426528800 Triangulation
1426534200 iPad Today
1426541400 Coding 101
1426546800 Tech News 2Night

Most Recent Episodes

Tech News Today

Smartphones, Cars, and Smartphones made to look like cars

This Week in Computer Hardware

NVIDIA Titan X, AMD Radeon R9 GPU, and HTC Vive VR Headset.

Home Theater Geeks

Paul Barton and PSB Imagine T3 Speakers.

Know How...

The Nissan GT-R LM Nismo is a Front Wheel Drive beast!

Tech News 2Night

How to fight back against online harrassment

The Giz Wiz

Mind control, Folkmanis Puppets, IO Hawk, and more!

Marketing Mavericks

Being the voice of a brand

Tech News Today

12.9 inch iPad delayed again

Ham Nation

George Thomas reports from the Orange Texas Hamfest.

This Week in Google

Hands On With The Samsung Galaxy S6 And S6 Edge

Coding 101 1

Coding 01100101

January 23 2014

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Welcome to Coding 101 - It's the TWiT show that gives YOU the knowledge to live in the wonderful world of the programmer. This week we are taking a look at binaries. You can also check out the transcript of the show here.

Ivory Tower: Binary

Binary is a base 2 system. With the total sum based on each binary value being either "on" or "off" (Which is why it's called "BINARY")

2-bit Binary Value

  • Each BIT can have 2 values - on or off - 1 or 0
  • Each Bit is worth the value of powers of 2, counting up from 0.
  • We count the values from right to left.
  • With two bits, that means the "first" bit can be worth either "1" (2(0)) or "0" while the second bit can be worth "2" (2(1)) or "0"
  • If we have a value of 00 = 0 :: 11 = 3 :: 10 = 2 :: 01 -1
  • If we have a n 8-bit value the maximum value will be (1+2+4+8+16+32+64+128) 255

Let's Break Down the process!

  • If I had a value like 10101010... what logic would I use to get to the DECIMAL value? (170)
  • I would create a "Total" Variable
  • I would look at each position, from left to right, giving each position a value of 0-7
  • If the value was "0" then I would skip to the next value.
  • If the value was "1", then I would raise 2 to the power of that position, then add that value to the "Total" Variable
  • Once I have no more values to calculate, I would report my total.

Code Warrior: Lou Maresca

Get the Code!

Get in Touch With Us!

Download or subscribe to this show at twit.tv/code.

Bandwidth for Coding 101 is provided by Cachefly.

Running time: 28:39

Sponsors: