Storing and processing of Data - samuel-richardson/Sam-Tech-Journal GitHub Wiki

-* Basic component of computer circuitry is a switch

  • -any data is processed down to 1s and 0s
  • -integers
  • -Whole Numbers
    
  • -Floating point numbers
  • -Numbers with a decimal point
    
  • -ints and floats are represented differently within a computer
  • -integers are represented in binary
    
  • -floats are represented in floating point notation
    
  •     -Like scientific notation but uses base 2
    
    • American Standard Code for Information Interchange (ASCII)
  • -7-bit format 
    
  • -Represents letters, digits, some punctuation and control characters
    
  • -support for 95 chars and 1 language
    
  • -Unicode
  • -Currently covers 100K characters and uses a 32-bit code
    
  • -Strings
  • -Sequence of characters
  • -Arrays
  • -sequence of data items
    
  • -Boolean(True/False)
  • -How might you represent this?
  • -Binary containing all zeroes is false
    
  • -anything else is false