Lecture 2 - 9/1/2011 CNIT 17600 IT Architectures Lecture 2...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
9/1/2011 1 CNIT 17600 IT Architectures Lecture 2 Data Representation and Digital Logic Objectives 2 Describe numbering systems and their use in data representation Understand the fundamentals of numerical data representation and manipulation in digital computers Master the skill of converting between various number systems Gain experience in the foundations of binary mathematical operations Understand how errors can occur in computations Gain familiarity with the most popular character codes
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
9/1/2011 2 Readings Chapter 2 for Data Representation Skip 2.4.4, 2.7 2.1 Introduction 4 A bit is the most basic unit of information in a computer. It is a state of “on” or “off” in a digital circuit. Sometimes these states are “high” or “low” voltage instead of “on” or “off. .” A byte is a group of eight bits. A byte is the smallest possible addressable unit of computer storage. The term, “addressable,” means that a particular byte can be retrieved according to its location in memory.
Background image of page 2
9/1/2011 3 2.1 Introduction 5 A word is a contiguous group of bytes. Words can be any number of bits or bytes. Word sizes of 16, 32, or 64 bits are most common. In a word-addressable system, a word is the smallest addressable unit of storage. A group of four bits is called a nibble . Bytes, therefore, consist of two nibbles: a “high -order nibble,” and a “low - order” nibble. 2.2 Positional Numbering Systems 6 Bytes store numbers using the position of each bit to represent a power of 2. The binary system is also called the base-2 system. Our decimal system is the base-10 system. It uses powers of 10 for each position in a number. Any integer quantity can be represented exactly using any base (or radix ).
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
9/1/2011 4 2.2 Positional Numbering Systems 7 The decimal number 947 in powers of 10 is: The decimal number 5836.47 in powers of 10 is: 5 10 3 + 8 10 2 + 3 10 1 + 6 10 0 + 4 10 -1 + 7 10 -2 9 10 2 + 4 10 1 + 7 10 0 2.2 Positional Numbering Systems 8 The binary number 11001 in powers of 2 is: When the radix of a number is something other than 10, the base is denoted by a subscript. Sometimes, the subscript 10 is added for emphasis: 11001 2 = 25 10 1 2 4 + 1 2 3 + 0 2 2 + 0 2 1 + 1 2 0 = 16 + 8 + 0 + 0 + 1 = 25
Background image of page 4
9/1/2011 5 2.3 Converting Between Bases 9 Because binary numbers are the basis for all data representation in digital computer systems, it is important that you become proficient with this radix system. Your knowledge of the binary numbering system will enable you to understand the operation of all computer components as well as the design of instruction set architectures. 2.3 Converting Between Bases
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/30/2012 for the course CNIT 176 taught by Professor Hansen during the Fall '09 term at Purdue University.

Page1 / 38

Lecture 2 - 9/1/2011 CNIT 17600 IT Architectures Lecture 2...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online