CS 1428 Foundations of Computer Science I. Two Main Components  Hardware  Physical media that uses electrical current to process instructions.  Software.

Slides:



Advertisements
Similar presentations
Basic Computer Vocabulary
Advertisements

INTRODUCTION OF COMPUTER
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Introduction to Computer Systems
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
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.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510, Section 2.
How Computers Work. A computer is a machine f or the storage and processing of information. Computers consist of hardware (what you can touch) and software.
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
Topics Introduction Hardware and Software How Computers Store Data
Learning Targets Identify the external parts of the computer Identify examples of input devices Identify examples of output devices Define basic computer.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510.
Computers Inside and Out
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Computers Parts/Types. Topics Definition Types of Computers Parts of Computer System Impact on Society.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
1 Introduction to Computers Lect 1 Won’t tell you much you don’t know. (Misleading– the course gets more conceptual as we create webpages.) Will go into.
Introduction to Computing Hardware & Software. INSIDE THE COMPUTER Hardware Physical components of the computer. Any part that you can see and touch Examples:
Computer Systems Organization CS 1428 Foundations of Computer Science.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computer Architecture
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
Parts of the Computer System
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Machine Architecture and Number Systems
Looking Inside the Computer System
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
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,
Computer Programming (1) Code & No.: CS 102 CREDIT HOURS: 5 UNIT Lecture 3.0 hours/week Lab: 2.0 hour/on every week a. This course introduces the students.
Introduction To Computers
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
CHAPTER 1 COMPUTER SCIENCE II. HISTORY OF COMPUTERS (1.1) Eniac- one of the worlds first computers Used more electricity than an entire city block of.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Hardware and Software By: Kyle Face. Hardware! Main computer hardware components Hardware refers to the physical components of a computer (What you can.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
INTRODUCTION TO COMPUTERS. A computer system is an electronic device used to input data, process data, store data for later use and produce output in.
Five Components of a Computer Input Device – keyboard, scanner, PDA/stylus, digital camera, mouse, MP3 player, fax machine, microphone Storage Device –
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 1 Introducing Hardware.
Sara Naheed Amjad Information Technology
GCSE Computer Science - Revision
Sara Naheed Amjad Information Technology
The Study of Computer Science Chapter 0
Java Programming: From the Ground Up
Computer Science II Chapter 1.
Chapter 1: An Overview of Computers and Programming Languages
Topics Introduction Hardware and Software How Computers Store Data
Chapter 1: An Overview of Computers and Programming Languages
A+ Guide to Managing and Maintaining Your PC, 7e
An Introduction to The computer.
Computer Hardware and Software
Principles of Information Technology
Technology Literacy Hardware.
The Study of Computer Science Chapter 0
Introduction to Computers
An Introduction to The computer.
The Study of Computer Science
Computer Science I CSC 135.
Introduction to Computers
Topics Introduction Hardware and Software How Computers Store Data
Machine Architecture and Number Systems
Machine Architecture and Number Systems
The Study of Computer Science Chapter 0
Machine Architecture and Number Systems
Presentation transcript:

CS 1428 Foundations of Computer Science I

Two Main Components  Hardware  Physical media that uses electrical current to process instructions.  Software  Instructions written by humans that tell the computer what to do.

The Modern Computer  The Stored-Program Model  Invented by John von Neumann  Digital Information  Memory  Processor  Input/Output  Secondary Storage  We will revisit this model in much more detail later in the semester.

Organization of a von Neumann Machine – (almost every modern computer) Data Bus Memory (RAM) Central Processing Unit (CPU) Secondary Storage Input/Output I/O

Information in the Real World  Information that we gather through our senses is primarily in waves and typically analog.  Light  Sound  Temperature  Etc.  Information can be quantified down to the atom  That’s a lot of information! CS 1308 – Computer Literacy and the Internet 5

Information in the Computer World Information in the computer world is digital. On/Off Fully Charged – Fully Discharged Magnetized – Demagnetized Computer information is binary. 0 – Off 1 – On Detecting Voltage Levels Why not 10 levels? Would be unreliable Not enough difference between states CS 1308 – Computer Literacy and the Internet 6

Bits, Bytes, and so on A bit is one 0 or 1 Short for “binary digit” A byte is a collection of 8 bits They named it “byte” instead of “bite” so you couldn’t easily mess up the spelling and confuse it with “bit”. Anybody know what half a byte is called? The number of bits we have will determine how much information we can store. (VERY IMPORTANT) 1 bit, on or off (two states) 2 bits, four different states (00, 01, 10, 11) 3 bits, eight states In general, 2 bits states CS 1308 – Computer Literacy and the Internet 7

What is Data? Any useful input or output from the computer Documents that you are working on.doc,.xls,.pdf Music.mp3 Pictures.jpg,.gif Text The quick Brown Fox… Numbers 42, 3.14 Readings from sensors Others…? All of these are encoded in a consistent binary format so they can be shared between computers and users.

What is an Instruction? Computers rely on very simple instructions given to them by programmers to accomplish tasks. Assembly Language (written by humans) LOAD R1, #42 JUMP R2 ADD R1, R2 These instructions are translated to Machine Language Computers only understand ones and zeros Programs consist of millions of these instructions Machine language is different for each processor That is why Mac programs won’t run on a PC

Random Access Memory (RAM) The programs (instructions) and data are stored in the Random Access Memory (RAM) for use by the Central Processing Unit (CPU). RAM loses it’s memory when the power goes off so we store information and programs more permanently on Secondary Storage Devices (hard drives, flash drives, etc.). Data and instructions are Fetched from the RAM and used by the CPU to perform tasks. RAM is finite. What implications does this have for real numbers?

Central Processing Unit (CPU)  The CPU uses instructions to move data around in the computer and to produce output.  The CPU has a simple task. Follow the Execution Cycle over and over again, very quickly.  Fetch an instruction  Decode the instruction  Execute the instruction

Input/Output (I/O) Every useful computer creates some kind of output. Most computers use input data of some kind to produce the output. Garbage in = Garbage out Bad data leads to useless results. Devices Input Keyboard Mouse Others…? Output Monitors Speakers Others…?

Secondary Storage The memory in RAM goes away when the power is shut off. Volatile Programs and data are stored more permanently on secondary storage devices. Contain much more space than RAM. Hard Drives USB Drives DVD CD Others…?

Organization of a von Neumann Machine – (almost every modern computer) Data Bus Memory (RAM) Central Processing Unit (CPU) Secondary Storage Input/Output I/O

Quiz  Which of the following are a computer?  How can we tell?  Does it have a processor?  Does it have memory to store data and/or a program?  Does it use input or create output?