Computers and Algorithms

Computers and Algorithms - Computers and Algorithms...

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

View Full Document Right Arrow Icon
Computers and Algorithms Announcements : o TA and proctor office hours have been posted on the online syllabus Today's Topics: hardware and software writing algorithms - a plan for how to solve a particular problem with the computer a simple example program What is a computer? A machine that processes information and performs calculations A computer executes a program , a detailed set of instructions that tell the computer what to do to solve a particular problem Hardware - the mechanical and electronic parts of the computer
Background image of page 1

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

View Full DocumentRight Arrow Icon
Software - the programs that tell the hardware what to do Components: o Central Processing Unit (CPU) - brain of the computer. The CPU repeatedly fetches the next instruction from the computer's memory and executes it. The CPU controls the other components, and performs all calculations, such as addition and subtraction and logical comparisons. o Primary or Main Memory - storage used to store data and programs. Main memory consists of electronic components called integrated circuit chips, and it is very fast. Information stored in main memory is lost when the computer's power is turned off. o Secondary Storage - devices used for long- term, permanent storage. E.g. magnetic disks, magnetic tapes, CDs. Relatively slow, but data
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

Computers and Algorithms - Computers and Algorithms...

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

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