Schedule

Schedule

Friday, October 31

1414774800 Tech News Today
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

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.

Tech News 2Night

Moblie Payment Terminal Wars

Coding 101 2

while (c101 > awesome)

January 30 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 downloading Visual Studio Express, using github, and some simple Console Commands. You can also check out our transcript here.

Snubs, Compiled

How do I download and compile my first code?
Download the C# Compiler from the Visual Studio website.
* Go to this site then:
* Select "Express 2013 for Windows Desktop"
* Download and Install! Follow the on screen direction to install.

How do I start my first C# program?
* Open Visual Studio for Desktop ---> File ---> New Project ---> C#

How do I use GitHub?
* Copy / Paste the code into the IDE (Integrated Developer Environment) which is Visual Studio.
How do I use the Console Command?
Our example includes four lines of code, and you can include in the body of your IDE.
* Console.Write("Hello World!"); - This will print a line that says Hello World!
* Console.WriteLine("What's Up!"); -

This will print a line that says, What's Up! THEN it will move the cursor to the line below.
* String Horses = Console.ReadLine();
*
Console.Write(Horse); -

These two lines will wait for user input, and then an ENTER key. It will then take that input and put it into the "Horse" string variable. Then it will print on screen the value stored in that variable.
Find the Code for ALL of our episodes HERE!

Ivory Tower!

Variables
A Variable is a storage location that contains a known or unknown piece of data"
* A variable uses an identifier, a symbolic name, to reference this piece of data."
* Example: y + x = a
* In Programming, we have different types of vaiables that each can store different types of data.
** Integer, Floating Point, Character, Strings of Characters -- each of these is a variable that can allow the program to reference a specific type of data.
** The reason why variables are important is that they allow us to setup operations based on the value within these referenced storage locations. This means we can create programs that can run against ever-changing and user-inputed variables.

While Loop
Loops are programing statement that allows code to be executed indefinitely
* While Loops allow code to be executed indefinitely based on a boolean condition.
* In other words, I can set a condition that is checked on each loop, "each iteration" of the loop. -- If that condition is true, the loop runs. When the condition becomes false, the loop stops.
* A "While Loop" is a pre-test loop... meaning that the condition is checked before the code within the loop ever runs. That means it is possible for the code inside a while loop to NEVER run.

Converting Integers into Binary
* Start with a quotient, divide it by 2.
* Write the dividend BELOW the quotient, then to the side, write the remainer. (It'll either be "1" or "0")
* Repeat the process until your quotient is either "1" or "0" - at which point, write that value to the side.
* Now READ the sequence of remainders from bottom to top, writing them from right to left
* That is your Binary Value!

Get in Touch With Us!

* Subscribe and get Coding 101 automatically at TWiT.tv!
* Follow PadreSJ and Snubs on Twitter
* Watch the show live and join the chatroom every Thursday at 1:30pm PST.< br/>
* Email us at Padre@twit.tv and Shannon@twit.tv.

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

Bandwidth for Coding 101 is provided by Cachefly.

Running time: 39:16

Sponsors: