ShmoopTube
Where Monty Python meets your 10th grade teacher.
Search Thousands of Shmoop Videos
Computer Science Videos 112 videos
AP Computer Science 1.2 GridWorld Case Study and APIs. What is the direction of the actor?
AP Computer Science 1.4 Standard Algorithms. How many times will mystery be called for mystery(n) for n > 1?
AP Computer Science 2.3 Classes and Objects. Which of the following is correct implementation of the Country class?
AP Computer Science 1.4 Review of the Basics 183 Views
Share It!
Description:
AP Computer Science: Review of the Basics Drill 1, Problem 4. What is 11001 (base 2) in base 10?
Transcript
- 00:00
Thank you We sneak and here's your smoke du jour
- 00:05
You know there's an old saying there ten types of
- 00:08
people in the world those who understand binary and those
- 00:11
who don't and a about eight others Okay what is
- 00:17
one one oo one bass two in based hand And
Full Transcript
- 00:21
here your potential answers All right Okay So here we
- 00:26
go At first thought it can seem pretty out there
- 00:30
Well it turns out your computer does it all the
- 00:32
time Every piece of information and computer deals with whether
- 00:35
it's numbers text or a photo of grandma is stored
- 00:38
in memory as a huge pile of ones and zeros
- 00:41
Well wonders of technology aside let's read a small base
- 00:44
to number and converted to base ten ourselves As we
- 00:47
know each one or zero is a bit And each
- 00:50
group of eight bit is a fight in a bite
- 00:54
Not everyone in zero is created equal Each bit in
- 00:57
a bite carries a different value Well the first bit
- 01:00
to go from right toe laugh when counting these things
- 01:02
represents the value of one Next is two and four
- 01:06
eight sixteen thirty two six four seven one twenty eight
- 01:10
We just add up the values that ones and you
- 01:12
can get any numeric value anywhere from zero to two
- 01:15
hundred fifty five into gold base ten the bite shown
- 01:18
here one one one zero one zero zero one equals
- 01:23
two hundred thirty three So here's the one one zero
- 01:26
zero one we were given for this question We've only
- 01:28
been given five bits out of this bike so the
- 01:31
trailing space gives filled in with zeros Well that first
- 01:35
bit represents one in the two and four positions We've
- 01:38
got zeros which don't count The fourth and fifth bits
- 01:41
with values of eight and sixteen are ones and one
- 01:45
plus a plus sixteen Well in california that twenty five
- 01:48
which is answered the knot too complicated Right so give 00:01:52.39 --> [endTime] yourself one of thumbs up Whoa
Related Videos
AP Computer Science 1.2 GridWorld Case Study and APIs. What is the direction of the actor?
AP Computer Science 1.4 Standard Algorithms. How many times will mystery be called for mystery(n) for n > 1?
AP Computer Science 2.3 Classes and Objects. Which of the following is correct implementation of the Country class?
AP Computer Science 3.4 Inheritance, Abstraction, and Polymorphism. Which of the following will satisfy the conditional if statement for boo, str,...
AP Computer Science 4.2 Standard Algorithms. What kind of algorithm is the following?