Introduction

Introduction - CS115Chapter1 OverviewofProgrammingand...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 115 Chapter 1  Overview of Programming and  Problem Solving
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Chapter 1 Every programmer needs a mental  model of a computer Every program does: input / process /  output von Neumann model - the "stored  program" concept
Background image of page 2
Computer Hardware CPU - central processing unit Where decisions are made, computations  are performed, and input/output requests  are delegated Main Memory Stores information being processed by the  CPU short-term (volatile) Secondary Memory (Mass Storage) Stores data and programs long-term
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Computer Hardware Components Arithmetic Logic Unit Control Unit Auxiliary Storage Device                  Central Processing Unit(CPU)   Input Device Output Device Peripherals
Background image of page 4
Memory (RAM) a memory cell (also called a word)  has an address, has contents  Contents expressed in bits / bytes -  binary code  Holds a value which may be data, may  be an instruction data retrieval = a "copy" not a "cut" 
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Memory Cells   Address Contents -27.2 354 0.005 -26 H X 75.62 RTV 001 . . . 0 1 2 3 4 5 6 . . . 999
Background image of page 6
Secondary Storage files - source files, data file, output file  hard disk, floppy, CD, flash memory  stick  slower than RAM, and cheaper per byte usually much larger capacity than RAM Units of capacity - Kilobyte, Megabyte,  Gigabyte, Terabyte
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Machine languages take a step, lift arm, grasp knob, turn  knob. .. Assembly languages
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/13/2011 for the course CS 115 taught by Professor Staff during the Fall '08 term at Kentucky.

Page1 / 31

Introduction - CS115Chapter1 OverviewofProgrammingand...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online