×

### Let's log you in.

or

Don't have a StudySoup account? Create one here!

×

or

17

0

17

# Class Note for ENGIN 112 at UMass(34)

Marketplace > University of Massachusetts > Class Note for ENGIN 112 at UMass 34

No professor available

These notes were just uploaded, and will be ready to view shortly.

Either way, we'll remind you when they're ready :)

Get a free preview of these Notes, just enter your email below.

×
Unlock Preview

COURSE
PROF.
No professor available
TYPE
Class Notes
PAGES
17
WORDS
KARMA
25 ?

## Popular in Department

This 17 page Class Notes was uploaded by an elite notetaker on Friday February 6, 2015. The Class Notes belongs to a course at University of Massachusetts taught by a professor in Fall. Since its upload, it has received 17 views.

×

## Reviews for Class Note for ENGIN 112 at UMass(34)

×

×

### What is Karma?

#### You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 02/06/15
ENGIN 112 Intro to Electrical and Computer Engineering Lecture 2 Number Systems Russell Tessier KEB 309 G tessierecsumassedu ENGN112 L2 Number Systems September 5 2003 Overview The design of computers It all starts with numbers Building circuits Building computing machines Digital systems Understanding decimal numbers Binary and octal numbers The basis of computers Conversion between different number systems ENGN112 L2 Number Systems September 5 2003 Digital Computer Systems Digital systems consider discrete amounts of data Examples 26 letters in the alphabet 10 decimal digits Larger quantities can be built from discrete values Words made of letters Numbers made of decimal digits eg 23987532 Computers operate on binary values 0 and 1 Easy to represent binary values electrically Voltages and currents Can be implemented using circuits Create the building blocks of modern computers ENGN112 L2 Number Systems September 5 2003 Understanding Decimal Numbers Decimal numbers are made of decimal digits 0 1 2 3 4 5 6 7 8 9 But how many items does a decimal number represent 8653 8x103 6x102 5x101 3x10o What about fractions 9765435 9x104 7x103 6x102 5x1o1 4x100 3x10391 5x102 In formal notation gt 976543510 Why do we use 10 digits anyway ENGN112 L2 Number Systems September 5 2003 Understanding Octal Numbers Octal numbers are made of octal digits 01234567 How many items does an octal number represent 45358 4x83 5x82 3x816x8 136210 What about fractions 465278 4x82 6x81 5x80 2x8391 7x82 Octal numbers don t use digits 8 or 9 Who would use octal number anyway ENGN112 L2 Number Systems 7 September 5 2003 Understanding Binary Numbers Binary numbers are made of binary digits bits 0 and 1 How many items does an binary number represent 10112 1x23 0x221x211x2 1110 What about fractions 110102 1x22 1x210x20 1x21 0x22 Groups of eight bits are called a byte 11oo1oo12 Groups of four bits are called a nibble 1101 2 ENGN112 L2 Number Systems September 5 2003 Why Use Binary Numbers Volts 0 Easy to represent 0 and 1 using electrical values Possible to tolerate noise Range Easy to transmit data for logic1 0 Easy to build binary circuits Transition occurs between these limits AND Gate Range 0 for logic0 Fig 13 Example of binary signals ENGN112 L2 Number Systems September 5 2003 Conversion Between Number Bases Octalbase 8 Decimalbase 10 Binarybase 2 Hexadecimal base16 Learn to convert between bases Already demonstrated how to convert from binary to decimal Hexadecimal described in next lecture ENGN112 L2 Number Systems September 5 2003 Convert an Integer from Decimal to Another Base For each digit position 1 Divide decimal number by the base eg 2 2 The remainder is the lowestorder digit 3 Repeat first two steps until no divisor remains Example for 13 Integer Remainder Coefficient Quotient 132 6 12 a0 1 62 3 0 a1 O 32 1 12 a2 1 12 O 12 a3 1 Answer 131o a3 a2 a1a02 11012 ENGN112 L2 Number Systems September 5 2003 Convert an Fraction from Decimal to Another Base For each digit position 1 Multiply decimal number by the base eg 2 2 The integer is the highestorder digit 3 Repeat first two steps until fraction becomes zero Example for 0625 Integer Fraction Coefficient 0625 X 2 1 025 a1 1 0250 X 2 O 050 a2 O 0500X2 1 O a3 1 Answer 062510 0a1 a2 a3 2 01012 ENGN112 L2 Number Systems September 5 2003 The Growth of Binagy Numbers n 2quot n 2quot 0 201 8 28256 1 212 T 9 29512 2 224 10 21 1024 3 238 11 2112048 4 2416 12 2124096 5 2532 20 22 1 M Mega 6 2364 30 23 1G Giga 7 27128 1 40 24 1 T Tera ENGN112 L2 Number Systems September 5 2003 Binary Addition Binary addition is very simple This is best shown in an example of adding two binary numbers 1 1 1 1 1 1 carries 1 1 1 1 O 1 1 O 1 1 1 ENGN112 L2 Number Systems September 5 2003 Binary Subtraction We pan also perform subtraction with borrows in place of carrIes Let s subtract 101112 from 10011012 10 borrows ENGN112 L2 Number Systems September 5 2003 Binary Multiplication Binary multiplication is much the same as decimal multiplication except that the multIpIIcatIon operations are muc simpler X 1010 00000 10111 00000 10111 ENGN112 L2 Number Systems September 5 2003 Convert an Integer from Decimal to Octal For each digit position 1 Divide decimal number by the base 8 2 The remainder is the lowestorder digit 3 Repeat first two steps until no divisor remains Example for 17510 Integer Remainder Coefficient Quotient 1758 21 78 218 2 58 28 O 28 990 II II II Ixth Answer 1751o a2 a1 a02 2578 ENGN112 L2 Number Systems September 5 2003 Convert an Fraction from Decimal to Octal For each digit position 1 Multiply decimal number by the base eg 8 2 The integer is the highestorder digit 3 Repeat first two steps until fraction becomes zero Example for 03125 Integer Fraction Coefficient 03125X8 2 5 a12 05000 X 8 4 0 a2 4 Answer 0312510 024s ENGN112 L2 Number Systems September 5 2003 Summary Binary numbers are made of binary digits bits Binary and octal number systems Conversion between number systems Addition subtraction and multiplication in binary ENGN112 L2 Number Systems September 5 2003

×

×

### BOOM! Enjoy Your Free Notes!

×

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

## Why people love StudySoup

Bentley McCaw University of Florida

#### "I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Anthony Lee UC Santa Barbara

#### "I bought an awesome study guide, which helped me get an A in my Math 34B class this quarter!"

Jim McGreen Ohio University

#### "Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Parker Thompson 500 Startups

#### "It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!
×

### Refund Policy

#### STUDYSOUP CANCELLATION POLICY

All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email support@studysoup.com

#### STUDYSOUP REFUND POLICY

StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here: support@studysoup.com

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to support@studysoup.com