Dr. Clincy Professor of CS

Slides:



Advertisements
Similar presentations
Number Systems and Codes
Advertisements

4/23/2015Engineering Problem Solving with C++ second edition, J. ingber 1 Engineering Problem Solving with C++, Etter/Ingber Chapter 1.
Introduction to Computers and Programming. Some definitions Algorithm: –A procedure for solving a problem –A sequence of discrete steps that defines such.
Chapter 7 Low-Level Programming Languages Nell Dale John Lewis.
Computer Organization and Assembly language
Topic 1: Introduction to Computers and Programming
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#1) By Dr. Syed Noman.
COMP201 Computer Systems Number Representation. Number Representation Introduction Number Systems Integer Representations Examples  Englander Chapter.
Programmable Logic Controllers
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
CPS120: Introduction to Computer Science
CCSE251 Introduction to Computer Organization
ACOE2511 ACOE251/AEEC335 -Assembly Language for the 80X86/Pentium Intel Microprocessors Lecturer: Dr. Konstantinos Tatas.
Comp Sci 251 Intro 1 Computer organization and assembly language Wing Huen.
Computer Programming I. Today’s Lecture  Components of a computer  Program  Programming language  Binary representation.
ECEN2102 Digital Logic Design Lecture 1 Numbers Systems Abdullah Said Alkalbani University of Buraimi.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Data Representation in Computer Systems. 2 Objectives Understand the fundamentals of numerical data representation and manipulation in digital computers.
Chapter 1 Introduction to Computers Maran Illustrated Computers CIS
CMSC104 Lecture 2 Remember to report to the lab on Wednesday.
The Beauty and Joy of Computing Lecture #3 : Creativity & Abstraction UC Berkeley EECS Lecturer Gerald Friedland.
Chapter 1 Introduction. Objectives To explain the definition of computer architecture To discuss the history of computers To describe the von-neumann.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Cosc 2150: Computer Organization Chapter 2 Part 1 Integers addition and subtraction.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Digital Logic Lecture 2 Number Systems
CS161 Computer Programming Instructor: Maria Sabir Fall 2009 Lecture #1.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Engineering Rabie A. Ramadan Lecture 1. 2 Welcome Back.
CSNB374: Microprocessor Systems Chapter 1: Introduction to Microprocessor.
Data Representation, Number Systems and Base Conversions
Indira Gandhi National Open University presents. A Video Lecture Course: Computer Platforms.
Introduction to Microprocessors
 Lecture 2 Processor Organization  Control needs to have the  Ability to fetch instructions from memory  Logic and means to control instruction sequencing.
Number Systems by Dr. Amin Danial Asham. References  Programmable Controllers- Theory and Implementation, 2nd Edition, L.A. Bryan and E.A. Bryan.
MECH1500 Chapter 3.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO CS 219 Computer Organization.
Computer Organization IS F242. Course Objective It aims at understanding and appreciating the computing system’s functional components, their characteristics,
Dr. ClincyLecture 3 Slide 1 CS Chapter 1 (1 of 2) Dr. Clincy Professor of CS.
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
Dr. ClincyLecture 2 Slide 1 CS Chapter 2 (1 of 5) Dr. Clincy Professor of CS Note: Do not study chapter 2’s appendix (the topics will be covered.
Dr. Clincy Slide 1 CS Chapter 2 (Part 1 of 3) Dr. Clincy Professor of CS Ch 2 Appendix pages will not be on the exam – already covered this.
1 Chapter 1: Basic Concepts Assembly Language for Intel-Based Computers, 4th edition Kip R. Irvine 9/6/2003.
Programmable Logic Controller
Cosc 2150: Computer Organization
Computer Architecture and Number Systems
Computer Organization and Architecture Lecture 1 : Introduction
Number Systems and Codes
Chapter 1: An Overview of Computers and Programming Languages
Assembly Language (CSW 353)
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Microprocessor Systems Design I
Dr. Clincy Professor of CS
Data Representation in Computer Systems
Microprocessor Systems Design I
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Computer Organization & Assembly language
BEE1244 Digital System and Electronics BEE1244 Digital System and Electronic Chapter 2 Number Systems.
Number Systems and Codes
EEL 4713/EEL 5764 Computer Architecture
Chapter One: Introduction
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Chapter Four Data Representation in Computers By Bezawit E.
Chapter 6 Programming the basic computer
Course Code 114 Introduction to Computer Science
Chapter 4 The Von Neumann Model
Presentation transcript:

Dr. Clincy Professor of CS CS 3510 - Chapter 1 (1 of 2) Dr. Clincy Professor of CS Dr. Clincy Lecture 3

Chapter 1 Objectives Know the difference between computer organization and computer architecture. Understand units of measure common to computer systems. Appreciate the evolution of computers. Understand the computer as a layered system. Be able to explain the von Neumann architecture and the function of basic computer components. Dr. Clincy

Ch 1- Introduction Why study computer organization and architecture? Design better programs, including system software such as compilers, operating systems, and device drivers. Optimize program behavior. Evaluate (benchmark) computer system performance. Understand time, space, and price tradeoffs in comparing systems. Dr. Clincy

Ch 1 - Introduction What is Computer Organization ? Encompasses all physical aspects of computer systems. E.g., circuit design, control signals (how the computer is controlled), signaling methods, memory types. Computer Organization helps us answer the question: “How does a computer operate ?” What is Computer Architecture ? Focuses on the structure and behavior of the computer system Refers to the logical aspects of system implementation as seen by the programmer. E.g., instruction sets, instruction formats, data types, number and types of registers, memory access methods, addressing modes, and I/O mechanisms. The instruction set architecture (ISA) is the interface between the machine and all the software that runs on the machine The “architecture” directly effects the logical execution of the programs Computer Architecture helps us answer the question: “How do I design a computer?” Not really clear-cut - Different perspectives of Org and Arch between Computer Scientists and Computer Engineers Dr. Clincy

Ch 1 - Org Versus Arch There is no clear distinction between matters related to computer organization and matters relevant to computer architecture. Highlevel language algorithms are implemented by lower level languages which are implemented by machine-level algorithms implemented electronically Principle of Equivalence of Hardware and Software: Any task done by software can also be done using hardware, and any operation performed directly by hardware can be done using software.* * Assuming speed is not a concern. Dr. Clincy

Ch 1 - Computer Components At the most basic level, a computer is a device consisting of three pieces: A processor to interpret and execute programs A memory to store both data and programs A mechanism for transferring data to and from the outside world. This course will explore these three major pieces/parts in some details Before doing so, you will explore some terminology and history from the remainder of Ch 1 (online) Dr. Clincy

Of the topics covered in Ch 1, will be examined over just (red): Know the difference between computer organization and computer architecture. Understanding units of measure common to computer systems. Appreciate the evolution of computers. Understand the computer as a layered system. Be able to explain the von Neumann architecture and the function of basic computer components. Dr. Clincy

Dr. Clincy Professor of CS CS 3501 - Chapter 2 Dr. Clincy Professor of CS Dr. Clincy

Chapter 2 Objectives Understand the fundamental concepts of number systems. Understand how computers add, subtract, divide and multiply Understand the fundamental concepts of floating-point representation. Gain familiarity with the most popular character coding systems. Understand how data is encoded for transmission Understand the concepts of error detecting and correcting. Dr. Clincy

Introduction A bit is the most basic unit of information in a computer. Sometimes these states are “high” or “low” voltage or “on” or “off..” A byte is a group of eight bits. A byte is the smallest possible addressable unit of computer storage. 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. Dr. Clincy

Positional Numbering Systems Review – Base 10 Numbers (Decimal)   Base-10 The decimal number system is based on power of the base 10. For example, for the number 1259, the 9 is in the 10^0 column - 1s column the 5 is in the 10^1 column - 10s column the 2 is in the 10^2 column - 100s column the 1 is in the 10^3 column - 1000s column 1259 is 9 X 1 = 9 + 5 X 10 = 50 + 2 X 100 = 200 + 1 X 1000 = 1000 ----- 1259 Dr. Clincy

Positional Numbering Systems Introducing Base 2 (Binary) and Base 16 (Hex) Number Systems The Binary number system uses the same mechanism and concept however, the base is 2 versus 10 The place values for binary are based on powers of the base 2:   … 2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0 128 64 32 16 8 4 2 1 Base-16 (Hex) The hexadecimal number system is based 16, and uses the same mechanisms and conversion routines we have already examined. The place values for hexadecimal are based on powers of the base 16   The digits for 10-15 are the letters A - F (A is 10, …….., F is 15) …….. 16^3 16^2 16^1 16^0 4096 256 16 1 Dr. Clincy

5-bit Binary Number System 24, 23, 22, 21, 20 16, 8, 4, 2, 1 Dr. Clincy

Different Number Systems Base-10 (Decimal) – what are the characters ? Example = 659 Base-2 (Binary) – what are the characters ? Example = 1101 Base-16 (Hex) – what are the characters ? Example = AE Base-8 (Octal) – what are the characters ? Example = 73 Dr. Clincy

Converting Between Bases Why Decimal, Binary and Hex ? Give subscripts for Decimal, Binary, Hex, Octal Dr. Clincy