Top Banner
22
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CSCI N100 Principles of Computing Basic Problem-Solving.
Page 2: CSCI N100 Principles of Computing Basic Problem-Solving.

CSCI N100 CSCI N100

Principles of ComputingBasic Problem-Solving

Page 3: CSCI N100 Principles of Computing Basic Problem-Solving.

Course GoalsCourse Goals

• Overcome fear of computers• Wide range of applications• Strong programming skills

Page 4: CSCI N100 Principles of Computing Basic Problem-Solving.

What’s different about What’s different about computers?computers?

• You know lots of machines• Computers seem different• They seem to change• Each program makes the

computer act differently

Page 5: CSCI N100 Principles of Computing Basic Problem-Solving.

Traditional teaching schemeTraditional teaching scheme

• One machine, one task• New machine• New class• Machines don’t change that

frequently

Page 6: CSCI N100 Principles of Computing Basic Problem-Solving.

Learning about computingLearning about computing

• Computer does so many things• Same thing happens many

different ways• Programs change all the time

Page 7: CSCI N100 Principles of Computing Basic Problem-Solving.

How do you work a computer?How do you work a computer?

• The buttons and mouse are easy

• It’s actually the PROGRAMS you have to learn

• One machine has many tasks

Page 8: CSCI N100 Principles of Computing Basic Problem-Solving.

The training trapThe training trap

• New class for every task• New class for each software• New class for each version

Page 9: CSCI N100 Principles of Computing Basic Problem-Solving.

Education in computingEducation in computing

• Learn basic concepts• Get solid background• Practice solving problems

Page 10: CSCI N100 Principles of Computing Basic Problem-Solving.

Good computer usersGood computer users

• Little fear• Background knowledge• Problem-solving strategy

Page 11: CSCI N100 Principles of Computing Basic Problem-Solving.

Definition of computerDefinition of computer

• Universal• Information• Manipulator

Page 12: CSCI N100 Principles of Computing Basic Problem-Solving.

UniversalUniversal

• Works with all kinds of information

• Does all kinds of stuff to it• Very few limitations

Page 13: CSCI N100 Principles of Computing Basic Problem-Solving.

InformationInformation

• Seems to be able to work with anything

• Actually very limited• Tiny pieces of data combined

into complex information

Page 14: CSCI N100 Principles of Computing Basic Problem-Solving.

ManipulatorManipulator

• Seem able to do anything with data

• Actually very limited• Simple commands combined

into complex instructions

Page 15: CSCI N100 Principles of Computing Basic Problem-Solving.

CSCI N100 CSCI N100

Principles of ComputingBasic Problem-Solving

Page 16: CSCI N100 Principles of Computing Basic Problem-Solving.

Problem-SolvingProblem-Solving

• Use when you’re stuck• Plan for complicated problems• Backup when things go wrong

Page 17: CSCI N100 Principles of Computing Basic Problem-Solving.

STAIRSTAIR

• S - State the problem• T- Tools• A - Algorithm• I - Implementation• R - Refinement

Page 18: CSCI N100 Principles of Computing Basic Problem-Solving.

State the ProblemState the Problem

• Use English• No technical words!• Make it clean and precise• Be complete• Usually the hardest step

Page 19: CSCI N100 Principles of Computing Basic Problem-Solving.

ToolsTools

• Identify some tools• Could be programs commands

things, ideas• Be imaginative!• List all potential tools

Page 20: CSCI N100 Principles of Computing Basic Problem-Solving.

AlgorithmAlgorithm

• Computer word for plan/strategy

• Re-state problem in terms of tools

• List of steps• You should know how to do

each step

Page 21: CSCI N100 Principles of Computing Basic Problem-Solving.

ImplementationImplementation

• Just do it!• Translate algorithm into action • Should be easiest step

Page 22: CSCI N100 Principles of Computing Basic Problem-Solving.

RefinementRefinement

• It never goes right the first time

• Look back over previous steps• Fix problems and try again