DIGITAL LANGUAGE 0110101001101010100100101010101010010010101.

Slides:



Advertisements
Similar presentations
Computer Basics Binary Bits & Bytes
Advertisements

Data Representation. Units & Prefixes Review kilo, mega, and giga are different in binary! bit (b) – binary digit Byte (B) – 8 binary digits KiloByte.
Vocabulary Electronic pulses Transistors Decimal numbers
Chapter 4: Representation of data in computer systems
MIDI. Musical Instrument Digital Interface Specification for physically connecting different devices, and for communicating between them. Designed for.
Micro optics: Fibers and Butterflies. Total internal reflection.
 The central processing unit (CPU) interprets and executes instructions.  The “brains” of the computer.  The speed of the processor is how fast it.
Binary and Hexadecimal Numbers
Unit 3—Part A Computer Memory
Binary and Decimal Numbers
Introduction to Information Technology
Binary Aim: Explain binary and binary units Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa Objective.
Computer Systems 1 Fundamentals of Computing
Number Systems & Logic Gates Day 1
Representing Information in Binary (Continued)
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
Communications technology Ali Kennedy.  Bit= from a shortening of the words “ bi nary digit”  The basic unit ofinformation for computers  1 or 0 are.
Memory Terminology & Data Representation CSCI 1060 Fall 2006.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Chapter 2 Computer Hardware
Data Representation A series of eight bits is called a byte. A byte can be used to represent a number or a character. As you’ll see in the following table,
Lecture Binary and Hexadecimal Numbers. How Machines Think Computers handle two types of information: –Instructions –Data The "words" of a machine language.
Lecture 2 Bits, Bytes & Number systems
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Unit 2—Part A Computer Memory Computer Technology (S1 Obj 2-3)
CS 104 Introduction to Computer Science and Graphics Problems Data Representation(1) Number Systems 09/12 ~ 09/16 /2008 Yang Song (Prepared by Yang Song.
WELCOME. LOGIC GATE WHAT WE ARE GOING TO LEARN? The Logic Gate. Analogue and Digital signal. Bit and Byte. Boolean Theorem. Description and Circuit analyses.
Units of Storage 1.5 Types of Memory and Storage.
Working with 8-bit bytes and hexadecimal
How We Measure Memory. Learning Goal Today we are going to learn how the computer stores information.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
How We Measure Memory. At the Bottom of things A piece of digital information is always stored as a sequence of binary states. What’s that mean you ask???
Computer Math CPS120: Binary Representations. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits.
ASCII AND EBCDIC CODES By : madam aisha.
Units Representation of Data in Computer Systems.
Binary Decimal Hexadecimal
MIDI. MIDI, which means: Musical Instrument Digital Interface, is a digital communications protocol. In August of 1983, music manufacturers agreed on.
Number Systems Part 2. Counting in Binary DecimalBinary
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Computer basics.
© 2003, Cisco Systems, Inc. All rights reserved.
Consider this number: , Ones (7 ones) Tens (no tens)
Computer Memory Digital Literacy.
Memory Parts of a computer
Information Support and Services
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Unit 2 Computer Memory Computer Technology (S1 Obj 2-3)
इंट्रस्टिंग बनने के लिए आपको इंट्रस्टेड होना पड़ेगा।
Unit 3—Part A Computer Memory
Representation of Data in Computer Systems
How do computers work? Storage.
Unit 3—Part A Computer Memory
Unit Units of Measurement
Binary and Hexadecimal Numbers
Bits, Bytes, and Storage.
Binary Lesson 3 Hexadecimal
(return of the…) Data blast
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Bits and Bytes Key Revision Points.
Storage.
Binary System.
Binary Lesson 4 Hexadecimal and Binary Practice
Comp Org & Assembly Lang
LO1 – Understand Computer Hardware
Technology 3 Bits & Bytes.
Presentation transcript:

DIGITAL LANGUAGE 0110101001101010100100101010101010010010101

DIGITAL WORDS bit: binary digit 1 or 0 binary language 2

1 bit = 2 values ON 1

1 bit = 2 values

4 bit word (nybble) = 16 possibilities 42 0000 0101 1010 0001 0110 1011 0010 0111 1100 0011 1000 1101 0100 1001 1110 1111 4 bit word (nybble) = 16 possibilities 42

8 4 2 1

BYTE (by eight)= 256 possibilities 28

BYTE 128 64 32 16 8 4 2 1 TOTAL 256 possibilities 255 + 1 (all 0s)

128 64 32 16 8 4 2 1 X O X X X X X O = ? 65 O = on X = off

128 64 32 16 8 4 2 1 O O X O O X X X = ? 180

128 64 32 16 8 4 2 1 X X X X X X X X = ? 0 = white

128 64 32 16 8 4 2 1 O O O O O O O O = ? 255 TOTAL POSSIBILITIES = 256

1 bit = a 1 or 0 (b) 4 bits = 1 nybble ( 1 bit = a 1 or 0 (b) 4 bits = 1 nybble (?) 8 bits = 1 byte (B) 1024 bytes = 1 Kilobyte (KB) 1024 Kilobytes = 1 Megabyte (MB) 1024 Megabytes = 1 Gigabyte (GB) 1024 Gigabytes = 1 Terabyte (TB)

- kilo, meaning 1,000. (one thousand) 10^3 (Kilometer, 1,000 meters) - mega, meaning 1,000,000. (one million) 10^6 (Megawatt, 1,000,000 watts) - giga, meaning 1,000,000,000 (one billion) 10^9 (Gigawatt, 1,000,000,000 watts) - tera, meaning 1,000,000,000,000 (one trillion) 10^12

wikipedia

* 2-bit color (2² = 4 colors) * 3-bit color (2³ = 8 colors)

* 8-bit color (28 = 256 colors) * 12-bit color (212 = 4,096 colors)

1 bit 2 colors 1 bit 2 colors

2 bits 4 colors

4 bits 16 colors

8 bits 256 colors

16 bits 32,768 colors

32 bits 16.7 million colors

X X = or or 1 2 = 1 or or X O 3 O X = 2 or or 4 = 3 or or O O

MIDI 16 MIDI channels MIDI events note on = 001 note off = 000 MIDI range notes = 128 pan = 128 volume = 128

Musical Instrument Digital Interface MIDI Musical Instrument Digital Interface

MIDI cables are serial, which only allows for bits to be transmitted one after another, in one direction.

closed loop in 0001010000110000010100000000000000111110101010 out 11010101001010000010100000000000000111110101010

STATUS BYTE MIDI CHANNEL O MIDI EVENT INDICATOR BIT

DATA BYTE X 7 bits = 128 possibilities INDICATOR BIT

X O X O O O O O O O O O O O O O X X X X X X X X O DATA BYTE STATUS BYTE DATA BYTE X O X O O O O O O O O O O O O O X X X X X X X X O VELOCITY VALUE 128 = fff NOTE VALUE 64 = middle E MIDI EVENT note on MIDI CHANNEL ?

Polyphonic key pressure 010 Control change 011 Program change 100 MIDI COMMANDS BIT REPRESENTATION Note off 000 Note on 001 Polyphonic key pressure 010 Control change 011 Program change 100 Channel pressure (aftertouch) 101 Pitch bend 110 O X X MIDI EVENT note on

42 O O O O channel 1 = piano channel 2 = horn channel 3 = bagpipe etc. through 16 MIDI CHANNEL # 42

128 notes 128 volume levels 128 patches/programs DATA BYTE 128 values 128 notes 128 volume levels 128 patches/programs 128 pan positions (l-r)

Hexadecimal Since binary numbers can get unwieldy when using large words, hexadecimal notation is often used to represent the values. Hexadecimal represents 16 states from 0 to 15 using sixteen symbols 0-9 and A-F. Each word is broken into 4-bit nibbles.

So a digital word such as 0001101111110100 0000 = 0 0101 = 5 1010 = A 0001 = 1 0110 = 6 1011 = B 0010 = 2 0111 = 7 1100 = C 0011 = 3 1000 = 8 1101 = D 0100 = 4 1001 = 9 1110 = E 1111 = F Hex shorthand for nibbles So a digital word such as 0001101111110100 Would be represented in hexadecimal notation as: 1 B F 4 0001101111110100