COMS 161 Introduction to Computing

Slides:



Advertisements
Similar presentations
Colors and Numbers.
Advertisements

© red ©
CS 151 Digital Systems Design Lecture 3 More Number Systems.
Agenda Shortcuts converting among numbering systems –Binary to Hex / Hex to Binary –Binary to Octal / Octal to Binary Signed and unsigned binary numbers.
Lesson 2 – LAYING THE FOUNDATION. Numbering systems (decimal, binary, hexadecimal, octal) Bandwidth terminology Basic Networking terms OVERVIEW.
ENGIN112 L3: More Number Systems September 8, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 3 More Number Systems.
2.1 2 Number Systems Foundations of Computer Science  Cengage Learning.
Binary Numbers.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
© Janice Regan, CMPT 128, Jan CMPT 128: Introduction to Computing Science for Engineering Students Integer Data representation Addition and Multiplication.
1 COMS 161 Introduction to Computing Title: The Digital Domain Date: September 1, 2004 Lecture Number: 4.
1 COMS 161 Introduction to Computing Title: Numeric Processing Date: October 29, 2004 Lecture Number: 26.
1 COMS 161 Introduction to Computing Title: Numeric Processing Date: October 20, 2004 Lecture Number: 23.
Data Representation in Computer Systems. 2 Objectives Understand the fundamentals of numerical data representation and manipulation in digital computers.
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
Department of Mathematics Computer and Information Science1 CS112: Survey of Computer Science Chapter One Review: Introduction, Chapter Two: Number Systems.
CPIT 201 Introduction to Computing
1 COMS 161 Introduction to Computing Title: The Digital Domain Date: September 6, 2004 Lecture Number: 6.
1 COMS 161 Introduction to Computing Title: The Digital Domain Date: September 3, 2004 Lecture Number: 5.
Binary A double zero educational presentation. Binary Basics Binary is the language computers use Only 1’s and 0’s can be found in Binary Very large numbers.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
CEC 220 Digital Circuit Design Binary Codes
Computer Science and Software Engineering© 2014 Project Lead The Way, Inc. Bits and Bytes.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 8, 2004 Lecture Number: 7.
Data Representation. How is data stored on a computer? Registers, main memory, etc. consists of grids of transistors Transistors are in one of two states,
CEC 220 Digital Circuit Design Binary Codes Mon, Aug 31 CEC 220 Digital Circuit Design Slide 1 of 14.
Sight Words and are a I can for go have he.
BINARY Toby Wilson. LEARNING OBJECTIVES  Be able to convert binary to denary  Be able to convert denary into binary  Be able to explain how computers.
Popcorn Words blue orange eight red purple nine.
Lecture 2: 8/29/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
 2012 Pearson Education, Inc. Slide Chapter 4 NumerationSystems.
ECE DIGITAL LOGIC LECTURE 2: DIGITAL COMPUTER AND NUMBER SYSTEMS Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/14/2016.
Dr. Clincy Slide 1 CS Chapter 2 (Part 1 of 3) Dr. Clincy Professor of CS Ch 2 Appendix pages will not be on the exam – already covered this.
Binary & Decimal numbers
Introduction To Number Systems
Consider this number: , Ones (7 ones) Tens (no tens)
BINARY CODE.
Dr. Clincy Professor of CS
Sight Word Lists (141 words)
Data Representation in Computer Systems
EPSII 59:006 Spring 2004.
COMPUTING FUNDAMENTALS
Number Systems Lab session 1 Xuan Guo.
Dolch Words Step 3 Step 1 Step 2 Step 4 into blue by did came go
IT 0213: INTRODUCTION TO COMPUTER ARCHITECTURE
COMS 161 Introduction to Computing
Data Storage Introduction to computer, 2nd semester, 2010/2011
MMNSS COLLEGE,KOTTIYAM DEPARTMENT OF PHYSICS
What do these words mean to you?
Dr. Clincy Professor of CS
Like.
Topic 3: Data Hexadecimal.
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Last Class We Covered ASCII values Short circuit evaluation Project 3
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
What Color is it?.
I have one bug..
COMS 161 Introduction to Computing
First Grade Sight Words
COMS 161 Introduction to Computing
Electronic Memory.
Sight Words
High Frequency Words - Kindergarten
Dr. Clincy Professor of CS
Course Code 114 Introduction to Computer Science
Presentation transcript:

COMS 161 Introduction to Computing Title: Digital Numbers Date: January 28, 2005 Lecture Number: 8

Announcements Why do sea-gulls fly over the sea? Because if they flew over the bay they would be bagels! A man left home running. He ran a ways and then turned left, ran the same distance and turned left again, ran the same distance and turned left again. When he got home there were two masked men. Who were they? A catcher and an umpire

Review Numbers Non-positional Positional Decimal Octal Binary Definition Decimal Octal Binary

Outline Numbers Unsigned and signed

Binary number system Digital and binary relationship The language of computers use binary digits Only 2 possible values 0 and 1 Much simpler to make electronics that distinguish between one of two values Distinguishing between more than two values is very difficult

Binary number system Since binary digits have two possible values Binary digits are called bits They only contain a little “bit” of information Numbers represented in binary form will (most likely) require more digits (bits) than the decimal form

Binary Number System How many values can 2 bits represent? Bit Pattern Numeric Value Item Represented 00 Black 01 1 White 10 2 Red 11 3 Green

Binary Number System How many values can 3 bits represent? Bit Pattern Numeric Value Item Represented 000 Black 001 1 White 010 2 Red 011 3 Green 100 4 Blue 101 5 Purple 110 6 Magenta 111 7 Sky blue

Binary Number System How many values can 4 bits represent? Bit Pattern 0000 1000 8 0001 1 1001 9 0010 2 1010 10 0011 3 1011 11 0100 4 1100 12 0101 5 1101 13 0110 6 1110 14 0111 7 1111 15

Binary Number System Bit patterns and numeric values are consistent with other slides Acceptable to add leading 0’s if desired

Binary number system Possible to represent more information than that of a single bit Lump together multiple bits called strings One bit: 2 values Two bits: 4 values (00, 01, 10, 11) Three bits: 8 values (000, 001, …, 111) Four bits: 16 values (0000, …, 1111) Five bits: 32 values Six bits: 64 values Seven bits: 128 values Eight bits: 256 values

Binary number system number of values = 2number of bits In general 1 = 20 2 = 21 4 = 22 8 = 23 16 = 24 32 = 25 64 = 26 128 = 27 256 = 28

Binary number system Common bit grouping’s 4 bits: nibble 8 bits: byte One byte represents 256 different values or items