1 COMP201 Computer Systems Dr Richard Nelson Room G.1.29.

Slides:



Advertisements
Similar presentations
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Advertisements

Lecture 1: Overview of Computers & Programming
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
SECTION 4a Transforming Data into Information.
COSC 120 Computer Programming
Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
1 Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
CS102 Introduction to Computer Programming
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
CS 161 INTRO TO PROGRAMMING I Dr. Blaise W. Liffick Fall
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
BACS 287 Basics of Programming BACS 287.
Lesson 3 — How a Computer Processes Data
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
1 CSC 1401 S1 Computer Programming I Hamid Harroud School of Science and Engineering, Akhawayn University
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Computer Processing of Data
E0001 Computers in Engineering1 The System Unit & Memory.
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
Overview Introduction The Level of Abstraction Organization & Architecture Structure & Function Why study computer organization?
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
1 nd Semester Module1 Introduction to Computer and Programming Thanawin Rakthanmanon Create by: Aphirak Jansang Computer.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
EKT 422 Computer Architecture
Chapter 1 Introduction. Objectives To explain the definition of computer architecture To discuss the history of computers To describe the von-neumann.
Computer Organization and Design Computer Abstractions and Technology
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computer Architecture
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Organization Instructors Course By: Lecturer: Shimaa Ibrahim Hassan TA: Eng: Moufeda Hussien Lecture: 9:45 Address:
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
General Computer Knowledge COE 201- Computer Proficiency.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 2 Computer Organization.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Chapter 1 An Overview of Computers and Programming Languages.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
Introduction to Computers - Hardware
Chapter 2 content Basic organization of computer What is motherboard
Computer Architecture and Number Systems
Unit 2 Technology Systems
Java Programming: From the Ground Up
CHAPTER 1: Computers and Systems
Chapter 1: An Overview of Computers and Programming Languages
Engineering Problem Solving With C An Object Based Approach
Chapter 1: An Overview of Computers and Programming Languages
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Microprocessor Systems Design I
Microprocessor Systems Design I
Introduction of microprocessor
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
UNIV 103 CS Majors Seminar Dr. Blaise W. Liffick Fall 2017.
Computers: Hardware and Software
Introduction to Computer Systems
Presentation transcript:

1 COMP201 Computer Systems Dr Richard Nelson Room G.1.29

2 Computer Systems Course Outline Course Web Page:  Class Representatives Introducing Computer Systems  Hardware  Software WRAMP and REX Board

3 Topics Introduction to course Data representation Assembly language programming Processor structures (end of first term…) I/O Memory management Operating systems Data communications

4 Course Structure

5 Administration Website Class Reps Linux

6 Introduction Chapter One – Englander Computer Systems:  Course is about the function and design of the various units of that make up digital computers  Also about the interaction between software and hardware Question: What do the insides of a Computer look like and why do we care?

7 Introduction A single question, but many answers. You should care, for many reasons… As a User  You will be aware of strengths and limitations of your computer system As a Programmer  You will be able to write better programs As a Systems Analyst  You will need to specify computer systems for purchase As a Systems Administrator or Manager  You will be able to more effectively manage computer systems

8 Computer Ad Suppose you need a new computer, can you understand these specifications enough to make an intelligent choice?

9 Computer Ad (2)

10 Components of a Computer System The Computer Hardware Processor, Memory, Input/output devices, interconnects The Software Programs, structures The Data to be Manipulated Data format, max and min values, precision The Communications Component Networking, human interface

11 Computer Systems Introduction Components of a Computer System  The Computer Hardware  The Software  The Data to be Manipulated  The Communications Component

12 The Hardware Component

13 The Hardware Component CPU (central processing unit)  Where operations and calculations carried out  Composed of three main units Arithmetic Logic Unit – where arithmetic and logic operations are performed The control unit – controls processing of instructions and movement of internal data The interface unit – moves data and instruction between the CPU an other components

14 Memory Often known as primary storage or RAM (random access memory) Made up of a large number of cells  Each location can hold a binary number (8/16/32/64 bits on most computers, 32 bits on REX board)  Each has a unique address Amount of primary storage has raised dramatically over time:  64K bytes was considered a large amount of memory in 1980  Current PC’s come with 128Mbytes or 256Mbytes as standard  That’s about 2000 times as much!!  More memory allows more sophisticated programs to be run E.g. Windows

15 Sound Card

16 Network Card

17 Processor

18 Memory

19 Mother Board

20 Expansion Slots

21 Software, a key component Without the software, the hardware is useless. The software, often termed the Program, exists at different levels of abstraction.  Processor itself operates on binary (bits)  Humans understand and like higher-level programs

22 Below your Program  Instructions (which tell the computer what to do) are collections of symbols (bits)  For example, the bits may tell one computer to add two numbers together  This is in fact the way that the first programmers communicated to computers very tedious and error-prone

23 Front panel… early computer

24 Below your Program Assembly languages and assemblers were developed to help programmers  eg. ADD C, A, B Programmer’s productivity later further improved by the introduction of high-level languages and compilers FORTRAN, COBOL, BASIC were early languages C, C++, Java are more recent

25 At the different levels, a program may take on different structures: int greater(int a, int b) { int c; if (a > b) c = a; else c = b; return c; } greater:... lw$2,16($fp) lw$3,20($fp) slt$2,$3,$2 beq$2,$0,$L2 lw$2,16($fp)... compile 8FC FC A FC asm C code Machine code Assembler code

26 Below your Program Other improvements that have helped programmers develop software include:  Use of subroutine libraries which include widely used routines  Use of operating systems to better manage a computer’s resources  Newer languages are less rigid in structure, allowing programs to be created which are readable.

27 Technology => dramatic change Processor  logic capacity: about 30% per year  clock rate: about 50% per year Memory  DRAM capacity: about 60% per year (4x every 3 years)  Memory speed: about 10% per year  Cost per bit: improves about 25% per year Disk (Hard drive)  capacity: about 60% per year

28 Moore’s Law

29 Characteristics over Time YearNameSize (cu. Ft.) Power (watts) Performance (adds/sec) Memory (KB) Adjusted price (1996$) Adjusted price / perfomance 1951UNIVAC ,5001,900484,996, IBM S/360 model ,000500,000644,140, PDP ,00466,07113, Cray-15860,000166,000,00032,7688,459,71251, IBM PC , ,081154, HP9000 /model ,000,00016,3848,15616,122, Intel Pro PC ,000,00016,3844,400239,078908