BME303_lecture3 - BME303 Intro to Computing Chapter 2 Bits...

Info iconThis preview shows pages 1–15. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: BME303 Intro. to Computing Chapter 2 Bits, Data Types, and Operations BME303 Intro. to Computing Outline • Analog vs. Digital • Bit • Numbering systems 3 • Data types BME303 Intro. to Computing Analog vs. Digital Modern computers are digital devices Analog Digital 4 V(t) time V(t) time v H (t) v L (t) BME303 Intro. to Computing Bit (b inary digit ) V(t) me v H (t)=2.9 v L (t)=0 1 – presence of a voltage 0 – no voltage present 5 • A single “wire” can only represent 2 states (0&1) • A collection of “wires” can represent a series of those two states. – e.g. 8 wires can represent the following: • 01001101 • 11100101 • This allows computer to use the binary numbering system time BME303 Intro. to Computing Numbering systems • Binary (0 and 1, also known as “base two”, uses two digits) • Decimal (arabic, 0,1,2,3,4,5,6,7,8,9, uses ten digits) • Hexadecimal (0,1,…,8,9,A,B,C,D,E,F, uses sixteen digits) 6 • The highest digit in base N is N-1 the highest single digit in base ten is 9 the highest single digit in base two is 1 the highest single “digit” in hexadecimal system is “F” • In all number systems zero is first digit BME303 Intro. to Computing Numbering Systems Decimal Hex (Hexadecimal) Binary 1 2 3 4 5 • Decimal – base 10 • Hex – base 16 • Binary – base 2 7 6 7 8 9 BME303 Intro. to Computing Numbering Systems Decimal Hex (Hexadecimal) Binary 1 2 3 4 5 • Decimal – base 10 • Hex – base 16 • Binary – base 2 8 6 7 8 9 10 11 12 13 14 15 16 BME303 Intro. to Computing Numbering Systems Decimal Hex (Hexadecimal) Binary 1 1 2 2 3 3 4 4 5 5 • Decimal – base 10 • Hex – base 16 • Binary – base 2 9 6 6 7 7 8 8 9 9 10 11 12 13 14 15 16 BME303 Intro. to Computing Numbering Systems Decimal Hex (Hexadecimal) Binary 1 1 2 2 3 3 4 4 5 5 • Decimal – base 10 • Hex – base 16 • Binary – base 2 10 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F 16 BME303 Intro. to Computing Numbering Systems Decimal Hex (Hexadecimal) Binary 1 1 2 2 3 3 4 4 5 5 • Decimal – base 10 • Hex – base 16 • Binary – base 2 11 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F 16 10 BME303 Intro. to Computing Numbering Systems Decimal Hex (Hexadecimal) Binary 1 1 1 2 2 3 3 4 4 5 5 • Decimal – base 10 • Hex – base 16 • Binary – base 2 12 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F 16 10 BME303 Intro. to Computing Numbering Systems Decimal Hex (Hexadecimal) Binary 1 1 1 2 2 10 3 3 4 4 5 5 • Decimal – base 10 • Hex – base 16 • Binary – base 2 13 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F 16 10 BME303 Intro. to Computing Numbering Systems Decimal Hex (Hexadecimal) Binary 1 1 1 2 2 10 3 3 11 4 4 5 5 • Decimal – base 10 • Hex – base 16 • Binary – base 2 14 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F 16 10 BME303 Intro. to Computing Numbering Systems Decimal Hex (Hexadecimal) Binary 1 1 1 2 2 10 3 3 11 4 4 100 5 5 101 • Decimal – base 10 • Hex – base 16...
View Full Document

{[ snackBarMessage ]}

Page1 / 47

BME303_lecture3 - BME303 Intro to Computing Chapter 2 Bits...

This preview shows document pages 1 - 15. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online