How Computers Work Part 1 18 September 2006. Sometimes They Don’t Having a Bad Day Mouse Won’t Work.

Slides:



Advertisements
Similar presentations
Designing a Program & the Java Programming Language
Advertisements

Computer Science Department Introduction To Computers and Programming Knowledge: Understand the concepts of computer, hardware, software and programming.
An Introduction to Programming General Concepts. What is a program? A program is an algorithm expressed in a programming language. programming language.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
Chapter 1—Introduction Introduction C H A P T E R 1 [The Analytical Engine offers] a new, a vast, and a powerful language... for the purposes of mankind.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Chapter 2 - Problem Solving
LECTURE 1 CMSC 201. Overview Goal: Problem solving and algorithm development. Learn to program in Python. Algorithm - a set of unambiguous and ordered.
INTRODUCTION TO PROGRAMMING
Using Computers CS French Chapter 1.
CPSC 2031 What is a computer? A machine that processes information.
8 February How Computers Work: Algorithms The Internet.
Program Design and Development
1 February How Computers Work. Buying Bugs A 21st Century Entrepreneurship How do you find bugs in your software? Offer a bounty! How do malicious hackers.
30 January How Computers Work. News: One Laptop Per Child World Economic Forum New York Times Article Both believe in low-cost machines, but… How to introduce.
CS 1400 Chapter 1 Introduction and Background
Chapter 1 Program Design
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Chapter 2: Algorithm Discovery and Design
Chapter 3 Planning Your Solution
Review Algorithm Analysis Problem Solving Space Complexity
Introduction to Programming (in C++) Introduction Jordi Cortadella, Ricard Gavaldà, Fernando Orejas Dept. of Computer Science, UPC.
CS1044 – Intro. To Programming in C++ Dr. Craig A. Struble.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
ITEC113 Algorithms and Programming Techniques
Useful Techniques in Teaching Reading
If you are using an Apple device, such as an iPad or iPhone, and you want to follow the instructions you will need a ‘Flash’ compatible browser. If you.
UNIT - 1Topic - 1. An electronic device, operating under the control of instructions stored in its own memory unit, that can accept data (input), manipulate.
PhD, Senior Lecturer, Baimuratov Olimzhon A LGORITHMS & P ROGRAMMING (P YTHON ) Lecture 1 From SDU:
Computer Concepts 2014 Chapter 12 Computer Programming.
Introduction to Computers (L02) * Hardware * Software * Programming Languages * Three Phase of Program Development * Development and Design Steps * Algorithms.
S2008Final_part1.ppt CS11 Introduction to Programming Final Exam Part 1 S A computer is a mechanical or electrical device which stores, retrieves,
Chapter 12 Computer Programming. Chapter Contents Chapter 12: Computer Programming 2  Section A: Programming Basics  Section B: Procedural Programming.
How computers work The CPU & Memory. The parts of a computer.
Pseudocode. Simple Program Design, Fourth Edition Chapter 2 2 Objectives In this chapter you will be able to: Introduce common words, keywords, and meaningful.
Pseudocode Simple Program Design Third Edition A Step-by-Step Approach 2.
Introduction to Computer Application (IC) MH Room 517 Time : 7:00-9:30pm.
How a Computer Processes Data With today’s technology a little knowledge about what’s inside a computer can make you a more effective user and help you.
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
Operating System Provides a set of services to system users Manages memory (primary and secondary) and I/O devices Exploits the hardware resources of one.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
ECEG-3202 Computer Architecture and Organization Chapter 7 Reduced Instruction Set Computers.
6 September How Computers Work. Follow Ups VeriSign: : A Space.
Programming in C++ Dale/Weems/Headington Chapter 1 Overview of Programming and Problem Solving.
Concurrency, Processes, and System calls Benefits and issues of concurrency The basic concept of process System calls.
Problem Solving Techniques Using Pascal Allen C.-H. Wu Department of Computer Science Tsing Hua University Hsinchu, Taiwan 30043, ROC
Chapter 7 What Can Computers Do For Me?. How important is the material in this chapter to understanding how a computer works? 4.
HOW A COMPUTER PROCESSES DATA. What is hardware? Hardware is the electric, electronic and mechanical equipment that makes up a computer What is software?
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
The single most important skill for a computer programmer is problem solving Problem solving means the ability to formulate problems, think creatively.
Flowcharts C++ Lab. Algorithm An informal definition of an algorithm is: a step-by-step method for solving a problem or doing a task. Input data A step-by-step.
Programming. In your own words, explain what an algorithm is, and give an example of how people use algorithms every day.
ICS124 Session 9 Flowcharting 1. By the end of this section the student will be able to:  Name the three structures of the Structure Theorem  Identify.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming C++
Introduction to Computer Programming using Fortran 77.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Some of the utilities associated with the development of programs. These program development tools allow users to write and construct programs that the.
Program Design & Development EE 201 C7-1 Spring
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
1 OPERATING SYSTEMS. 2 CONTENTS 1.What is an Operating System? 2.OS Functions 3.OS Services 4.Structure of OS 5.Evolution of OS.
Computer Systems Nat 4/5 Computing Science Computer Structure:
Programming Languages
Computer Programming.
Unit I Flash Cards Start.
How Computers Work Part 1 6 February 2008.
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Overview of Computer system
Computer System.
Presentation transcript:

How Computers Work Part 1 18 September 2006

Sometimes They Don’t Having a Bad Day Mouse Won’t Work

What does a Computer Do Well?  Intelligence amplifier amplifies our ability to perform mental activities “power tools” for the mind Can process much more information  Does repetitive tasks quickly and correctly Check things more quickly Removes people from boring tasks  Manipulates forms and data

What Wasn’t Possible Before?  We can do things in virtual environmentsvirtual environments  Chemists can see things at microscopic levelsmicroscopic levels Micron: millionth of a meter  Model weatherweather  Hurricane predictions  Model historic eventshistoric events

Marvelous Manipulator  Manipulates form, not content Everything is a symbol Computers do not understand meaning  When it appears to understand or apply judgment… Reflecting human knowledge that is encapsulated Programming: capturing our knowledge “expert systems”  Examples from movies or books?

What a Computer Does  One input, one output Displaying a movie  One input, multiple outputs Different reports from the same data  Multiple inputs, one output Computing a statistic  Other examples? IN PROCESS OUT

Thinking about Tools  Write down a favorite tool or device  Write down what it is intended to do  Write down an alternative use  Switch with a neighbor  Write down another alternative  Switch back

Computers: The Most Adaptable of Tools  Why? We can PROGRAM the computer Instructions are called software  Embedded computers Programmed by the manufacturer  General purpose computers Programmed by the consumer

How Does a Computer Work?  It is actually a very simple machine  It executes exactly what it is told to do  Forrest Gump “Run, Forrest, run” Forrest  Computers execute algorithms

What is an algorithm?  A detailed sequence of actions to perform to accomplish some task  Named after an Iranian mathematician, Al- Khawarizmi 813 – 833 C.E. Mathematician: algebra, trigonometry, geometry Astronomy and geography as well

Examples of Algorithms  Mapquest directions  Assembly instructions  User’s manual  Software program  Other examples?

A simple algorithm  Using a calculator, how do you find the average of three numbers? Assume no average function Assume that the calculator is already on  Solution Enter the first number; enter + Enter the second number; enter + Enter the third number; enter / 3 =

A bigger example  Using a calculator, how do you find the average of 100 numbers? No longer want to list one by one  Introduces loops  Solution For each number, Enter the number; enter + Enter / 100 =

A more complex algorithm  Take the absolute value of a number  Introduces decision making  Solution If the number is less than 0 The answer is –number Else The answer is number

Simplified Model of a Computer processor instructionsdata the information that it works on defines an algorithm retrieves the instruction directs data movement Control Unit Arithmetic Logic Unit MEMORY Performs the operations