Download presentation
Presentation is loading. Please wait.
Published byMilton Jordan Modified over 9 years ago
1
Computer Programming
2
Previous Experience 1.I have never seen a computer program 2.I have seen some code, but never written any 3.I have written some basic code in one language 4.I have written several programs in more than one language Which number describes you best?
3
What is computer programming? Can you give a definition of a computer program?Can you give a definition of a computer program? Do you need to have done it before?Do you need to have done it before? Do you have to be “good at computers”?Do you have to be “good at computers”? “If computing is the study of computers, then astronomy is the study of telescopes and chemistry is the study of test tubes.”“If computing is the study of computers, then astronomy is the study of telescopes and chemistry is the study of test tubes.”
4
My definition A computer program is a sequence of instructions in a limited language that when executed in the correct order accomplishes a specific task on a computer.A computer program is a sequence of instructions in a limited language that when executed in the correct order accomplishes a specific task on a computer. Can you give some examples of computer programs?Can you give some examples of computer programs?
5
Computer Programs
6
In this course…
7
First steps… What is Logo?What is Logo? Open up FMS LogoOpen up FMS Logo We will start with three commands onlyWe will start with three commands only –fd n Move forward n pixelsMove forward n pixels –rt n Right turn n degreesRight turn n degrees –cs Clear the screenClear the screen Practice using these commands to draw a square, rectangle, and trianglePractice using these commands to draw a square, rectangle, and triangle
8
Math in Logo * is times* is times / is divide/ is divide + is plus+ is plus - is minus- is minus 3 ** 4 is three to the power four3 ** 4 is three to the power four sqrt(25) is square rootsqrt(25) is square root
9
Shapes to create ? Pentagon HexagonN-agon House Castle
10
Difficulties What if you want to execute the same instructions over and over?What if you want to execute the same instructions over and over? What if you want to save your shapes so you can use them next time?What if you want to save your shapes so you can use them next time? We will find solutions to these problems in the coming weeksWe will find solutions to these problems in the coming weeks
11
Recap A computer program is a sequence of instructions in a limited language that when executed in the correct order accomplish a specific on a computerA computer program is a sequence of instructions in a limited language that when executed in the correct order accomplish a specific on a computer Concepts:Concepts: –Looping –Code reuse –Syntax This course is more about problem-solving, than computersThis course is more about problem-solving, than computers You need to find your own level, and try to learn something new or practice something you’ve learned, every lessonYou need to find your own level, and try to learn something new or practice something you’ve learned, every lesson Don't compare yourself with other students in the class!Don't compare yourself with other students in the class!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.