Coding 101 1: Coding 01100101 - YouTube

In the first episode of Coding 101, we learn how to convert binary into decimal, then break it down into machine code.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) 255Let'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.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.* Email us at Padre@twit.tv and Shannon@twit.tv.Download or subscribe to this show at twit.tv/code.


this little indie game Something more productive than this

Matthew kimani

Who thinks NF should make his own shoe brand?!? 🔥

si henry

1:20 new song of elsa😀😀😂😂😂

Logan Lafoe

Did anybody else get a dark souls 2 feeling from the foot step sounds in the beginning?

Land of Flavors

Beginning to get annoyed by “Yes” comments.

jaskarn chopra


Sandesh Thane

Are all these stunts ??Maybe not !!


I like how all of the religious people in the comments are angry af about this guys name lmao

Marissa Mondragon

I peeped that doctor rolling his eyes you need a new one mine was super nice


the masks over your name at the end are my favorite thing of 2016

Mr.little Gaming

I’m drunk


Who are you?

Nimrod Slor Futterman

That, my dear friend, is the power of mods.


I love easter eegs, the spooky ones are the best thou

Luke Stevens

I like DP does no like no trick shots

Kate Glode

Teared up at the end wow super inspirational

Distant Overdose

rip big black

John David Kirk


Jung Kookie

My friends relationships except for me 😂 don’t have one 🤙🤙😏😏😏

Kiing_ Manuel

im a rams fan

FourStar Pictures

x999 Extraction.... You modded?

O'Malley Jefferson

Came back too early

Robin jpz## im rodon


5,000 subscribers with no videos?

This literally tells us NoThInG ....10/10 IGN

Piano Lover

Please... Please.... Stop dog abuse!

Aaron Otron



Copyright 2006-2007 © Welding Co. All rights reserved.   |