Schedule

Schedule

Friday, October 31

1414778400 This Week in Law
1414785600 Android App Arena
1414796400 Tech News 2Night

Saturday, November 1

1414864800 The Tech Guy

Sunday, November 2

1414954800 The Tech Guy
1414969200 This Week in Tech

Monday, November 3

1415037600 Tech News Today
1415041200 Triangulation
1415046600 iPad Today
1415059200 Tech News 2Night

Tuesday, November 4

1415124000 Tech News Today
1415127600 MacBreak Weekly
1415134800 Security Now
1415142000 Before You Buy
1415145600 Tech News 2Night
1415149200 All About Android
1415158200 Padre's Corner

Wednesday, November 5

1415205000 FLOSS Weekly
1415210400 Tech News Today
1415214000 Windows Weekly
1415221200 This Week in Google
1415232000 Tech News 2Night
1415239200 Ham Nation

Thursday, November 6

1415296800 Tech News Today
1415300400 Know How...
1415304000 Marketing Mavericks
1415309400 Coding 101
1415313000 Home Theater Geeks
1415318400 Tech News 2Night
1415320200 The Giz Wiz

Friday, November 7

1415383200 Tech News Today
1415386800 This Week in Law
1415394000 Android App Arena
1415404800 Tech News 2Night

Saturday, November 8

1415473200 The Tech Guy

Sunday, November 9

1415559600 The Tech Guy
1415574000 This Week in Tech

Most Recent Episodes

This Week in Computer Hardware

DCS LIVA Mini PC, Intel Broadwell-E, and the MSI GT80 Titan.

The Giz Wiz

Spark Watch, blacklight flashlight, and more.

Home Theater Geeks

Brian Vessa and SMPTE report on cinema sound.

Tech News 2Night

Microsoft Health Announced

Know How...

Project Loon 2.0, Quad Motors & Props

Coding 101
Episode #41: Mark Smith October 30th, 2014

Speaking with "Smitty", master of the microcontroller.

Marketing Mavericks
Episode #29: Trey Ratcliff October 30th, 2014

HDR Photography, blogging and creative commons pays off

Tech News Today
Episode #1125: Cook Out October 30th, 2014

Samsung reports miserable quarter, Microsoft announces fitness band, Tim Cook comes out, and more.

Ham Nation

Bob Heil shows how to DX on a vintage station.

This Week in Google

Larry Page hands leadership of many Google products to Sundar Pichai.

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: