5_binary_numbers_student

# 5_binary_numbers_student - We use a base 10 number system...

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: We use a base 10 number system. Why? 0 1 2 3 4 5 6 7 8 9 The binary number system is a base 2 number system. 0 1 Why do we care about binary numbers? Computer systems work because of digital electronics. Computer memory and computer chips work by keeping track of large numbers of on / off “switches.” A switch that is off is associated with a binary number of 0; a switch that is on is associated with 1. Patterns of “on” and “off” stored inside a computer are used to encode ordinary numbers. Computer processors that use strings of 64 binary numbers to keep track of things are called 64‐bit systems. Variables: Variables are used to store information in the BASIC Stamp (the brain of your Boe‐Bot). We have four choices for variables: bit nib byte word CLASS PROBLEM: Write the decimal number 20 in binary. What is the smallest size variable (bit, nib, byte, word) required to store the data? ...
View Full Document

## This note was uploaded on 02/08/2011 for the course ENGR 120 taught by Professor Hall during the Winter '08 term at LA Tech.

Ask a homework question - tutors are online