Chapter 3 - Binary Numbering System

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

Chapter 4 Gates and Circuits Nell Dale • John Lewis.
Chapter 4 Gates and Circuits.
Logic Gates.
Gates and Circuits Nell Dale & John Lewis (adaptation by Erin Chambers and Michael Goldwasser)
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Chapter 4 Gates and Circuits.
Representing Data, Pictures, Time, and Size in Computer
Processing Data.
Chapter 4 Gates and Circuits.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Fourth Edition.
University College Cork IRELAND Number Systems, Data Types, Codes Logic Gates: An Introduction.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 4 Gates and Circuits.
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
Summer 2014 Chapter 1: Basic Concepts. Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Chapter Overview Welcome to Assembly Language.
Chapter 4 Gates and Circuits.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Fundamentals of IT UNIT-I OnlyforIPMCA. DIGITAL SIGNALS & LOGIC GATES Signals and data are classified as analog or digital. Analog refers to something.
Binary Arithmetic & Data representation
CPS120: Introduction to Computer Science
1 Pertemuan 2 Network Math. Discussion Topics Binary presentation of data Bits and bytes Base 10 number system Base 2 number system Converting decimal.
Digital Logic Design Week 3
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
CSC 3210 Computer Organization and Programming
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
Computer Hardware & Operation Northern College Diploma Philip Bird.
CHAPTER 3 BINARY NUMBER SYSTEM. Computers are electronic machines which operate using binary logic. These devices use two different values to represent.
L OGIC G ATES Computer Organization – week 3. W HAT ’ S ALU? 1. ALU stands for: Arithmetic Logic Unit 2. ALU is a digital circuit that performs Arithmetic.
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Basics of Logic gates - Part 1
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Number Systems and Codes
INTRO Module 1 Boolean Math
Computer Code.
CSIS-110 Introduction to Computer Science
CSCI-100 Introduction to Computing
Computer Fundamentals
Chapter 2 – Computer hardware
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Data Encoding Characters.
Fundamentals & Ethics of Information Systems IS 201
University of Gujrat Department of Computer Science
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Computer Science 210 Computer Organization
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Ch2: Data Representation
Logic Gates.
KS4 Electricity – Electronic systems
13 Digital Logic Circuits.
Binary Numbers.
Chapter 4 Gates and Circuits.
WJEC GCSE Computer Science
UNIT – 3 & 4. Data Representation and Internal
What are Logic Gates?.
Chapter 3 - Binary Numbering System
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Chapter 3 - Binary Numbering System CMIT100 Chapter 3 - Binary Numbering System

Learning Objectives Describe Numbering Systems: decimal, binary, octal, and hexadecimal. Describe how characters are stored in computer memory. Demonstrate the application of binary (Boolean) operations of AND, OR, NOT, and XOR on binary numbers. Illustrate the use of binary in a computer with a focus on IP addresses.

Numbering Systems Decimal – Base 10 Binary – Base 2 Octal – Base 8 Hexadecimal – Base 16

Base 10 System - Decimal Primary human numbering system Digits 0 – 9 Example: 1, 2, 10, 4,321

Base 2 System - Binary Native numbering system for digital computers Two digits: 0, 1 Each digit is a bit that represents on or off Eight bits is a byte; also known as an octet Example: 0, 1, 10, 101, 1100

Base 8 - Octal Digits 0 – 7 Examples: 1, 5, 112

Base 16 - Hexadecimal Digits 0 – F Examples: 0, 1, 3FA7

Converting between Decimal and Binary

Character Representation American Standard Code for Information Interchange (ASCII) Unicode – An extension of ASCII EBCDIC - Discontinued

ASCII 7-bit 128 combinations

Extended ASCII 8-bit 256 combinations

Unicode Extended ASCII is not enough for international use One Unicode mapping uses 16 bits per character 65363 Combinations Unicode is a superset of ASCII The first 256 characters correspond exactly to the extended ASCII character set

Unicode Table (Example)

Binary Operations NOT AND OR NAND NOR XOR Gate - A device that performs a basic operation on electrical signals Circuit - Gates combined to perform more complicated tasks

Binary Operations – NOT A NOT gate accepts one input signal (0 or 1) and returns the opposite signal as output

Binary Operations – AND An AND gate accepts two input signals If both are 1, the output is 1; otherwise, the output is 0

Binary Operations – OR An OR gate accepts two input signals If both are 0, the output is 0; otherwise, the output is 1

Binary Operations – NAND The NAND gate accepts two input signals If both are 1, the output is 0; otherwise, the output is 1

Binary Operations – NOR The NOR gate accepts two input signals If both are 0, the output is 1; otherwise, the output is 0

Binary Operations – XOR An XOR gate accepts two input signals If both are the same, the output is 0; otherwise, the output is 1

Review of Gate Processing A NOT gate inverts its single input An AND gate produces 1 if both input values are 1 An OR gate produces 0 if both input values are 0 An XOR gate produces 0 if input values are the same A NAND gate produces 0 if both inputs are 1 A NOR gate produces a 1 if both inputs are 0

Constructing Gates A transistor has three terminals A source A base An emitter, typically connected to a ground wire

Constructing Gates The easiest gates to create are the NOT, NAND, and NOR gates

Combinational Circuits Gates are combined into circuits by using the output of one gate as the input for another

Integrated Circuits

Creative Commons Statement