CS1005 Become familiar with the software life cycle. Be able to design algorithms to solve problems, using the top-down design method. Demonstrate the.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

Central Processing Unit
2.3) Example of program execution 1. instruction  B25 8 Op-code B means to change the value of the program counter if the contents of the indicated register.
Computer Organization. This module surveys the physical resources of a computer system. –Basic components CPUMemoryBus I/O devices –CPU structure Registers.
Chapter 2 Machine Language. Machine language The only language a computer can understand directly. Each type of computer has its own unique machine language.
Computer Systems. Computer System Components Computer Networks.
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
Chapter 0 Introduction to Computing
Memory - Registers Instruction Sets
Stored Program Concept: The Hardware View
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 2.2 Machine Language.
Chapter 12 CPU Structure and Function. Example Register Organizations.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
Elements of the Computer (How a processor works)
1 CS150 Introduction to Computer Science 1 Professor: Chadd Williams
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
Dale & Lewis Chapter 5 Computing components. Let’s design a computer Generic CPU with registers −Program counter (PC) – 5 bits (size of addresses) −Instruction.
Overview von Neumann Model Components of a Computer Some Computer Organization Models The Computer Bus An Example Organization: The LC-3.
Processor Types And Instruction Sets Barak Perelman CS147 Prof. Lee.
CS 0008 Day 2 1. Today Hardware and Software How computers store data How a program works Operators, types, input Print function Running the debugger.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
CS 115 Chapter 1 Overview of Programming and Problem Solving.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510, Section 2.
Chapter 1 An Overview of Computers and Programming Languages.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
Computer Organization Computer Organization & Assembly Language: Module 2.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
CSCI 211 Intro Computer Organization –Consists of gates for logic And Or Not –Processor –Memory –I/O interface.
Lecture 14 Today’s topics MARIE Architecture Registers Buses
CS 111 – Sept. 15 Chapter 2 – Manipulating data by performing instructions “What is going on in the CPU?” Commitment: –Please read through section 2.3.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Science 101 Computer Systems Organization ALU, Control Unit, Instruction Set.
Computer Systems Organization
Computer Organization 1 Instruction Fetch and Execute.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
CS 1428 Foundations of Computer Science I. Two Main Components  Hardware  Physical media that uses electrical current to process instructions.  Software.
Dale & Lewis Chapter 5 Computing components
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
CMSC 104, Lecture 061 Stored Programs A look at how programs are executed.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
27 October 2015 Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
Chapter 1 An Overview of Computers and Programming Languages.
Lec 4-2 Five operations of the machine cycle Fetch- fetch the next program instruction from memory. (PC+1); instruction to IR Decode- decode the instruction.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Computer Organization
Computer System and Programming
Computer System Overview
Describe the central processing unit including its role
Describe the central processing unit including its role
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
Micro-programmed Control Unit
Computer Architecture
The Processor and Machine Language
Basic Processing Unit Unit- 7 Engineered for Tomorrow CSE, MVJCE.
Functional Units.
COMS 161 Introduction to Computing
Systems Architecture I (CS ) Lecture 2: A Simplified Computer
Central Processing Unit
Chapter 4: Representing instructions
Program Execution.
A Top-Level View Of Computer Function And Interconnection
Information Representation: Machine Instructions
CS 111 – Sept. 16 Machine language examples Instruction execution
Presentation transcript:

CS1005 Become familiar with the software life cycle. Be able to design algorithms to solve problems, using the top-down design method. Demonstrate the ability to implement algorithms in C++. Be able to write appropriate program documentation, and to adhere to a documentation standard. Gain experience with Unix

Homework Get the textbook Know how to log on/off WPI system Learn how to use an editor Read chapters 0 and 1 Look at website for this course Put all due dates in your planner

Main memory Volatile (lost when computer turned off) Limited in size (costly) Provides fast transfer (CPU – memory, memory – CPU) Only data in main memory can be processed by the CPU

Secondary memory Data permanent until you change it Unlimited size Portable Slow transfer rate compared to main memory

Central Processing Unit Brings info (data and instructions) from secondary memory to main memory Processes (transforms) data Stores results in secondary or main memory

Instruction Set Arithmetic operations Comparisons Transfer of control (jumps) Transfer of info from one place to another I/O operations

Register R1Register R2 Add the contents of R1 to R2 and Leave the result in R1 Opcode = Data = Each instruction is 2 bytes in length. The first byte is the opcode, the second byte contains data which varies according to the opcode

Assembly Language Is different for each type of computer Requires that the programmer think like a computer Is tedious and detailed Very cryptic

A = B + C LOAD R1, (B) LOAD R2, (C) ADD R1, R2 STORE (A), R1 A contains 0 B contains 2 C contains R1 R2 Program Counter (PC) Instruction Register (IR)

C++ How To Program H.M Deitel