Schedule

Schedule

Friday, August 1

1406912400 Tech News Today
1406916000 This Week in Law
1406923200 Android App Arena
1406934000 Tech News 2Night

Saturday, August 2

1407002400 The Tech Guy

Sunday, August 3

1407088800 The Tech Guy
1407103200 This Week in Tech

Monday, August 4

1407171600 Tech News Today
1407175200 Triangulation
1407180600 iPad Today
1407193200 Tech News 2Night
1407195000 Marketing Mavericks

Tuesday, August 5

1407258000 Tech News Today
1407261600 MacBreak Weekly
1407268800 Security Now
1407276000 Before You Buy
1407279600 Tech News 2Night
1407283200 All About Android

Wednesday, August 6

1407339000 FLOSS Weekly
1407344400 Tech News Today
1407348000 Windows Weekly
1407355200 This Week in Google
1407366000 Tech News 2Night
1407367800 redditUP
1407373200 Ham Nation

Thursday, August 7

1407430800 Tech News Today
1407434400 Know How...
1407438000 The Social Hour
1407443400 Coding 101
1407447000 Home Theater Geeks
1407452400 Tech News 2Night
1407454200 The Giz Wiz
1407463200 OMGcraft

Friday, August 8

1407517200 Tech News Today
1407520800 This Week in Law
1407528000 Android App Arena
1407538800 Tech News 2Night

Saturday, August 9

1407607200 The Tech Guy

Sunday, August 10

1407693600 The Tech Guy
1407708000 This Week in Tech

Most Recent Episodes

The Giz Wiz

Put a stop to crying from onions.

Home Theater Geeks

Scott and Joe discuss color and Ultra High Definition TV

Know How...

Man Made Leaf, Remote Desktop, and Linux Mint.

Tech News 2Night

USB's massive security problem.

Ham Nation

Bob reports back from Canada Hamfest, Gordo shows antennas for your mobile rig and more!

Coding 101

The Comprehensive Perl Archive Network

The Social Hour

The future of Twitter, Instagram's Bolt, Detour for audio tours.

OMGcraft

Parkour with no jumping.

Tech News Today

China hacking Canada

redditUP

What dinosaur would make the best pet?

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: