Schedule

Schedule

Wednesday, August 20

1408548600 FLOSS Weekly
1408554000 Tech News Today
1408557600 Windows Weekly
1408564800 This Week in Google
1408575600 Tech News 2Night
1408577400 redditUP
1408582800 Ham Nation

Thursday, August 21

1408640400 Tech News Today
1408644000 Know How...
1408647600 The Social Hour
1408653000 Coding 101
1408656600 Home Theater Geeks
1408662000 Tech News 2Night
1408663800 The Giz Wiz
1408672800 OMGcraft

Friday, August 22

1408726800 Tech News Today
1408730400 This Week in Law
1408737600 Android App Arena
1408748400 Tech News 2Night

Saturday, August 23

1408816800 The Tech Guy

Sunday, August 24

1408903200 The Tech Guy
1408917600 This Week in Tech

Monday, August 25

1408986000 Tech News Today
1408989600 Triangulation
1408995000 iPad Today
1409007600 Tech News 2Night
1409009400 Marketing Mavericks

Tuesday, August 26

1409072400 Tech News Today
1409076000 MacBreak Weekly
1409083200 Security Now
1409090400 Before You Buy
1409094000 Tech News 2Night
1409097600 All About Android
1409106600 Padre's Corner

Wednesday, August 27

1409153400 FLOSS Weekly
1409158800 Tech News Today
1409162400 Windows Weekly
1409169600 This Week in Google
1409180400 Tech News 2Night
1409182200 redditUP
1409187600 Ham Nation

Thursday, August 28

1409245200 Tech News Today
1409248800 Know How...
1409252400 The Social Hour
1409257800 Coding 101
1409261400 Home Theater Geeks
1409266800 Tech News 2Night
1409268600 The Giz Wiz
1409277600 OMGcraft

Friday, August 29

1409331600 Tech News Today
1409335200 This Week in Law
1409342400 Android App Arena
1409353200 Tech News 2Night

Most Recent Episodes

All About Android

How do parents have complete control over their kid's Android phones?

Before You Buy

Lenovo Chromebook review.

Security Now

Delaware legislation gives heirs access to a deceased member's digital assets.

MacBreak Weekly

Apple granted curved touch display patent.

Tech News 2Night

Apple stock at an an all-time high.

OMGcraft

Set traps in Minecraft.

Tech News Today

HTC releases a Windows Phone version of the HTC One smartphone.

Marketing Mavericks

OnePlus' marketing fail, going viral with the #icebucketchallenge, and is the internet getting stup

This Week in Enterprise Tech

FCC to enhance 911 location services

Tech News 2Night

Twitter gets more likes than Facebook

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: