CSCB58H3 Lecture Notes - Lecture 2: Ascii, Binary Number, Truth Table

112 views5 pages
22 Mar 2015
School
Course

Document Summary

What is a computer anyway: machine we tell what to do. A computer is a programmable machine that receives input, stores and manipulates data/information, and provides output in a useful format. : input, output. Analog vs. digital vs. discrete: analog, representing information as a real value number, digital. Example: voltage plugs: representing information as 2 values 0 and 1. Example: 0 volts, + voltage: discrete, representing information as integer values. Example: 0, 1, 2, , n. Notes: we store information in digital computer through capacitor. Binary to decimal conversion: each binary digit corresponds to a power of 2, example: 6 bit binary number. 32 16 8 4 2 1 - value of each bit. 0 1 1 0 1 0 = 16 + 8 + 2 = 26 in decimal. Decimal to binary conversion: example: 6 binary digits. 0010: several standard encodings exist, ascii american standard code for information interchange, represents characters, numbers, symbols with numbers from 0 to 255.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents