Schedule

Schedule

Saturday, November 22

1416682800 The Tech Guy

Sunday, November 23

1416769200 The Tech Guy
1416783600 This Week in Tech

Monday, November 24

1416852000 Tech News Today
1416855600 Triangulation
1416861000 iPad Today
1416873600 Tech News 2Night

Tuesday, November 25

1416938400 Tech News Today
1416942000 MacBreak Weekly
1416949200 Security Now
1416956400 Before You Buy
1416960000 Tech News 2Night
1416963600 All About Android
1416972600 Padre's Corner

Wednesday, November 26

1417019400 FLOSS Weekly
1417024800 Tech News Today
1417028400 Windows Weekly
1417035600 This Week in Google
1417046400 Tech News 2Night
1417048200 Android App Arena
1417053600 Ham Nation

Thursday, November 27

1417111200 Tech News Today
1417114800 Know How...
1417118400 Marketing Mavericks
1417123800 Coding 101
1417127400 Home Theater Geeks
1417132800 Tech News 2Night
1417134600 The Giz Wiz

Friday, November 28

1417197600 Tech News Today
1417201200 This Week in Law
1417219200 Tech News 2Night

Saturday, November 29

1417287600 The Tech Guy

Sunday, November 30

1417374000 The Tech Guy
1417388400 This Week in Tech

Monday, December 1

1417456800 Tech News Today
1417460400 Triangulation
1417465800 iPad Today
1417478400 Tech News 2Night

Most Recent Episodes

This Week in Law

Does a broad privacy policy grant a company access to customer data?

Tech News 2Night

Uber's bad PR Prompts Changes at Lyft

Tech News Today

Google and Rockstar settle their patent case

The Giz Wiz

3D fruit printer, Mous Musicase, Nomiku sous vide, and more!

This Week in Computer Hardware

Dell's 60Hz IPS Monitors, Gorilla Glass 4, and Windows 10.

Coding 101

The holiday pricer.

Tech News 2Night

Google's Tool to Remove Ads

Home Theater Geeks

3D Audio, Acoustic Room Design, and Anythony Grimani.

Marketing Mavericks

LinkedIn, HR resumes, Social Footprint

Know How...

Network of pollution, viewer questions, and Quadcopters

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: