COMS 161 Introduction to Computing

Slides:



Advertisements
Similar presentations
EET260 Introduction to digital communication
Advertisements

Chapter Two Fundamentals of Data and Signals
Analog/Digital Coding Bobby Geevarughese ECE-E4434/12/05.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Sixth Edition.
“Computers and Creativity”
Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Fifth Edition.
Connecting with Computer Science, 2e
Chapter 2 Fundamentals of Data and Signals
CSC 110 – Intro to Computing Lecture 3: Converting between bases & Arithmetic in other bases.
1 Chapter 1 Introduction. 2 Outline 1.1 A Very Abstract Summary 1.2 History 1.3 Model of the Signaling System 1.4 Information Source 1.5 Encoding a Source.
CSC 110 – Intro to Computing Lecture 4: Arithmetic in other bases & Encoding Data.
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
Chapter 2 : Business Information Business Data Communications, 4e.
Chapter 1: Introduction Business Data Communications, 4e.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
SIMS-201 Representing Information in Binary. 2  Overview Chapter 3: The search for an appropriate code Bits as building blocks of information Binary.
Digital Data Patrice Koehl Computer Science UC Davis.
Introduction to Sound Sounds are vibrations that travel though the air or some other medium A sound wave is an audible vibration that travels through.
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Lecture 1 Signals in the Time and Frequency Domains
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
1 COMS 161 Introduction to Computing Title: The Digital Domain Date: September 1, 2004 Lecture Number: 4.
Chapter 2, Exploring the Digital Domain
Computers and Scientific Thinking David Reed, Creighton University Data Representation 1.
IT-101 Section 001 Lecture #3 Introduction to Information Technology.
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Analogue vs Digital. Analogue  Lots of different frequencies, lots of different amplitudes  Wave recorded as it is.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
1 COMS 161 Introduction to Computing Title: Numeric Processing Date: October 20, 2004 Lecture Number: 23.
1.1 Introduction to Basic Digital Logic ©Paul Godin Updated August 2014 gmail.com Presentation 1.
CIS-325: Data Communications1 CIS-325 Data Communications Dr. L. G. Williams, Instructor.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 13, 2004 Lecture Number: 9.
: Digital Logic Design Apisake Hongwitayakorn e: w:
Lecture No. 1 Computer Logic Design. About the Course Title: –Computer Logic Design Pre-requisites: –None Required for future courses: –Computer Organization.
Number Representation. Representing numbers n Numbers are represented as successive powers of a base, or radix.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
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.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
Chapter 1 Background 1. In this lecture, you will find answers to these questions Computers store and transmit information using digital data. What exactly.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Encoding How is information represented?. Way of looking at techniques Data Medium Digital Analog Digital Analog NRZ Manchester Differential Manchester.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights Reserved Floyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Data Communications and Computer Networks Chapter 1 Network Architecture Models Logical and physical connections.
Digital Logic & Design Instructor: Aneel Ahmed Lecture #1.
MATH Lesson 2 Binary arithmetic.
Data Representation.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Data analysis and modeling: the tools of the trade
Working with DIGITAL Information
Introduction to Digital Audio
Digital Systems.
Fundamentals of Networking and
Multimedia Fundamentals(continued)
Introduction to Digital Audio
COMS 161 Introduction to Computing
Introduction to Basic Digital Logic
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Chapter Four Data Representation in Computers By Bezawit E.
COMS 161 Introduction to Computing
Presentation transcript:

COMS 161 Introduction to Computing Title: The Digital Domain Date: January 19, 2005 Lecture Number: 4

Announcements

Review Discrete Symbol System Digital Symbol System

Outline Analog (continuous) information Digital information Advantages Disadvantages

Analog Information Natural form of representing information Sound is analog information Continuous over some dimension(s) Time is a natural dimension for sound Sound is composed of variations in air pressure A pressure measurement can be made at any and all times during the sound Temperature is another example

Analog information Signal or waveform Amplitude: how far up and down intensity, or volume Time Signal or waveform Amplitude: how far up and down Frequency: how many times per sec

Analog information Continuous At every instant in time there is an amplitude There is a value The number line is continuous Always another number between two given numbers There is an infinite amount of information in an analog signal or waveform

Digital information Discrete and finite Amplitude is measured at distinct time intervals Time Amplitude, intensity, or volume

Digital information Finite sequence of instantaneous pulses, which we call samples Finite sequence We can count and label the samples Instantaneous pulses The amplitude, intensity, or volume at one specific instant in time Time Amplitude

Digital information No measurements are made between the instantaneous pulses (samples) Digital representations contain a finite amount of information Digital information Not exact as analog More precise (repeatable) More compact

Digital information The number of samples is fundamentally important when accurately representing an analog signal Appropriate sampling allows digital information to replace analog information For example CD’s, MP3’s, DVD’s Digital telephones …

Digital advantages Electronic Fast Precise Ordinal Operating speeds measured in billionths of a second Precise Numbers are distinct and unambiguous Precise manipulation (cloning) Ordinal Ordered numbers Simple alphabetical sorting

Digital advantages Efficient storage Fast Transfer Practical to store large amounts of data in a small amount of area iPod: 10,000 songs! How many CD’s would you need? Fast Transfer Compare downloading a paper from the internet to: Going to the library Determining what you need is not there

Digital advantages Absolute replication Cloning No loss or degradation of information when making a copy Copies of downloaded papers are just as clear as the original Photocopying adds noise and loses information in the process Copies of copies become unintelligible Music for prosperity Compare to my old LP’s

Digital advantages Resolution independence Resolution: amount of detail Higher resolution means more detail and therefore higher fidelity Downloaded information can be scaled to match you system Either higher or lower resolution Music is resampled to match the resolution of your system Resolution is machine independent

Digital advantages Random Access Direct access to digital data, provided we know where to look for it Random access All accesses take the same amount of time (latency) regardless of where the data resides

Digital advantages Random Access (Cont.) Selective Access Sequential access Analog information Must pass information that comes before what you wish to find Selective Access Searched by content (selective) Find occurrences of a given word in a document

Digital advantages Compression Useful information is not totally redundant or totally random Redundant Repeating phrase Random Nothing in common TV snow This lecture?

Redundant How many times does this message have to be transmitted, heard, or seen before it is not necessary to continue COMS 161 is the best of the best classes at the H-S-C

Redundant Redundancy allows for data compression Remove some of the redundancy Keep enough Reconstruct the original Reasonable approximation of the original

Random Can you guess what this picture is?

Digital advantages Content Analysis and Synthesis Broad usefulness Digital data can be processed, combined, and analyzed Ordered based on content Cookies Allow web sites to taylor to you Broad usefulness Many different forms of information can be represented this way

Bits and Bytes Digital representation of information Numerical encoding Let’s talk about numbers

Numbers Non-positional notation No special significance is given to order Counting numbers on your fingers Tick mark counting method The number of items is important, not the order My honey do list Not important which task I do first, just so I get them all done NOW!!!

Numbers Positional notation Significance is given to order the digits in the number appears The decimal numbering system uses positional notation This is the system we use 365 is not the same a 653 These are completely different numbers but they use the same digits

Positional notation Three hundred, sixty five means Three hundreds Six tens Five ones 365 365 = 3 hundreds + 6 tens + 5 ones

Positional notation In positional notation Each successive digit to the left is multiplied by an increased power of 10 365 100 = 1 104 = 10,000 101 = 10 105 = 100,000 102 = 10*10 =100 106 = 1,000,000 103 = 10*10*10 = 1,000 107 = 10,000,000

Decimal number system Synonyms Decimal notation Base-10 system Both digits and their location in the number are important Ten unique symbols 0, 1, 2, …, 9

Octal number system Decimal is not the only positional number system available Octal Base-8 system Each digit is multiplied by a power of 8 Eight unique symbols 0, 1, 2, …, 7

Octal number system = 3 * 8 * 8 + 6 * 8 + 5 * 1 To convert an octal number into a decimal number Just do the math!! = 3 * 8 * 8 + 6 * 8 + 5 * 1 = 3 * 64 + 6 * 8 + 5 * 1 = 192 + 48 + 5 = 24510

Octal number system Counting in octal 0, 1, 2, 3, 4, 5, 6, 7, 10, 11, 0, 1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17 20, 21, 22, 23, 24, 25, 26, 27 … 70, 71, 72, 73, 74, 75, 76, 77 800, 801, 802, 803, 804, 805, 806, 807