Understanding Computers

Slides:



Advertisements
Similar presentations
Computer Basics Binary Bits & Bytes
Advertisements

Vocabulary Electronic pulses Transistors Decimal numbers
Base 10 Denary Decimal
Representing Data, Pictures, Time, and Size in Computer
Processing Data.
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
Number Systems & Logic Gates Day 1
Data Storage. SIGN AND MAGNITUDE Storing and representing numbers.
Representing Information in Binary (Continued)
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
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.
Memory Terminology & Data Representation CSCI 1060 Fall 2006.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Chapter 2 Computer Hardware
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
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,
Binary Code.
Hardware Data Storage.
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
Fill in the blanks: (1) _________ has only two possible values 0 and 1. (2) There are __________bits in a byte. (3) 1 kilobyte of memory space can store.
What do computers know?  All they really know is on or off.  Kind of like a light switch  Computers aren’t nearly as smart as you are!
Numerical Representation Intro to Computer Science CS1510, Section 2 Dr. Sarah Diesburg 1.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
Do it now activity Can you work out what the missing symbols are and work out the order they should be in if the table shows smallest to largest KB kilobyte.
GCSE ICT Storing data - Internal memory, backing storage, and measuring memory.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
2.1.4 Data Representation Units.
Binary 101 Gads Hill School. Aim To strengthen understanding of how computers use the binary number system to store information.
ASCII AND EBCDIC CODES By : madam aisha.
Binary Decimal Hexadecimal
A+ Computer Repair Lesson 3: Number System. Objectives Define binary, decimal, octal, and hexadecimal numbering systems. Define binary, decimal, octal,
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.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Understanding binary Understanding Computers.
Binary 1 Basic conversions.
INFS 211: Introduction to Information Technology
3.1 Denary, Binary and Hexadecimal Number Systems
Storage Hardware This icon indicates the slide contains activities created in Flash. These activities are not editable. For more detailed instructions,
Numerical Representation
Information Support and Services
What is Binary? Binary is a two-digit (Base-2) numerical system, which computers use to process and store data. The reason computers use the binary system.
Representation of data in computer systems
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Denary to Binary Numbers & Binary to Denary
Data Encoding Characters.
Lecture 3 ISE101: Computing Fundamentals
Numerical Representation
Computers & Programming Languages
Bits, Bytes, and Storage.
Information Representation
Binary Data representation
Presenting information as bit patterns
Data Binary Conversion.
Numerical Representation
Chapter Four Data Representation in Computers By Bezawit E.
Learning Intention I will learn how computers store text.
Information Technology Department
Electronic Memory.
Technology 3 Bits & Bytes.
WJEC GCSE Computer Science
Numerical Representation
Presentation transcript:

Understanding Computers Understanding Binary Understanding Computers

Learning Objectives Understand why all data is represented in binary in a computer Define a Bit, Byte, Kb, Mb and Gb Convert integers to binary numbers Convert binary numbers to integers Show how characters can be represented using ASCII

Decimal Number System (Sometimes called the Denary system) Why 10 digits?

What about Computers? Computer use millions of electronic circuits and switches which can either be On or Off On is represented by 1 and Off is represented by 0

Binary – On & Off The standard On / Off symbol on a switch is a 1 and a 0:

Bits and Bytes 0 or a 1 = 1 Bit (Binary Digit) 8 Bits = 1 Byte 1024 Bytes = 1 Kilobyte (Kb) 1024 Kb = 1 Megabyte (Mb) 1024 Mb = 1 Gigabyte (Gb) 1 Byte = 1 Character of text How many Gb in a Terabyte? How many bytes in a Megabyte?

Binary representation One switch can only represent 2 possible states On or Off. Two switches can represent 4 states On & On On & Off Off & On Off & Off 1 2 1 2 3 4

Binary representation Number of Switches Possible combinations or states 1 2 4 3 5 6 7 8

Binary to Denary Conversion 128 64 32 16 8 4 2 1 1 1 1 = 64 + 16 + 1 = 81

How our Decimal Number System Works 10 1 8 3 100 5 The number 583 represents five 100s + eight 10s + three 1s. 500 + 80 + 3. As we move from right to left, each digit is worth ten times the previous one.

The Binary System 2 1 4 In Binary, there are only two digits, 0 and 1. As we move from right to left, each digit is worth twice as much as the previous one.

Binary to Decimal Conversion 1 2 3 4 5 6 7 8 9 10 Work out the Binary numbers from 0 to 10

Decimal to Binary Convert 28 to Binary Method Working right to left write out the numbers 1, 2, 4, 8 and so on doubling each time to 128. 28 has a 16 in it, leaving 12. 12 is 8 + 4. 128 64 32 16 8 4 2 1

Activity Use Worksheet 7-4 to convert binary numbers to and from decimal numbers

Representing Characters How are characters represented in Binary? How many characters are there on your keyboard? How many bits would be needed to represent up to 128 characters?

ASCII American Standard Code for Information Interchange Numerous different codes for representing data have been invented, but ASCII is used nowadays on nearly all computers. Originally only 7 bits were used but now the eighth bit is used to give extra characters such as ©, ® etc How many different characters can be encoded using seven bits? Eight bits?

ASCII Table

ASCII It is a character-encoding scheme originally based on the English alphabet. ASCII codes represent text in computers, communications equipment, and other devices that use text. For example: small letter ‘f’ is represented by the following combination of bits in the ASCII table. f = 1100110 or in 8 Bits, 01100110 8 bits is called a Byte.

Numbers in ASCII Numbers as well as letters and other symbols are represented in ASCII What is the bit pattern for the character 5 in ASCII? What is the bit pattern in binary for the number 5? When 5 is pressed on the keyboard, the ASCII bit pattern is sent to the computer. It can’t be used for arithmetic!

Challenges Challenge 1: Use the ASCII table on the ASCII Worksheet to write down the binary equivalent of your first name. Challenge 2: Write a brief coded message for someone in binary using the ASCII Code sheet.