Don Slater Wanda Dann

Slides:



Advertisements
Similar presentations
VARIABLES AND DEBUGGING Beginning Programming. Assignment Statements  Used to hold values in a variable  Calculates a result and stores it in a variable.
Advertisements

Don Slater Wanda Dann
Don Slater Wanda Dann
Introduction to Alice Alice is named in honor of
Alice Programming Step 1:Design Copyright 2011 Wanda Dann, Don Slater, Steve Cooper.
This set of slides is provided by the author of the textbook1 Introductory Topics l Computer Programming l Programming Life-Cycle Phases l Creating an.
Lecture Notes 1/21/04 Program Design & Intro to Algorithms.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Copyright 2011 Wanda Dann, Steve Cooper, Don Slater Alice Workshop Problem Solving with Alice 2 & Friends.
Copyright 2011 Wanda Dann, Steve Cooper, Don Slater Alice Workshop Implementation Algorithm  Code World.my first method Control blocks Statements (methods,
Lecture Notes 8/30/05 Program Design & Intro to Algorithms.
Introduction to Alice CS Honors Slides courtesy of Wanda Dann, Ithaca College.
Chapter 3 Planning Your Solution
Functions and Conditionals in Alice 1 Stephen Cooper Wanda Dann Barb Ericson September 2009.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
index.php Palmyra Area High School 1.
Peter Andreae Computer Science Victoria University of Wellington Copyright: Peter Andreae, Victoria University of Wellington Java Programs COMP 102 #3.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
COMPSCI 101 S Principles of Programming Lecture 1 – Introduction.
 3D graphics environment  Focuses on Object Oriented Programming  Provides immediate feedback through program visualizations  Contains a drag-and-drop.
Visual Basic Chapter 1 Mr. Wangler.
Don Slater Wanda Dann Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.
CSC1401: Introductory Programming Steve Cooper
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Chapter 1: A First Program Using C#. Programming Computer program – A set of instructions that tells a computer what to do – Also called software Software.
Introduction to Programming Lecture 1 – Overview
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Introduction to Programming with Alice and Java Copyright 2014 Wanda Dann, Don Slater All rights reserved.
An Introduction to Programming with C++ Sixth Edition
Alice Programming Step 1:Design Copyright 2011 Wanda Dann, Don Slater, Steve Cooper.
Creating An Animation Program Part 2 Alice. Method A segment of program code (instructions) that defines how to perform a specific task.
Don Slater Wanda Dann Joint Operations Copyright 2012 Wanda Dann, Don Slater All rights reserved.
Learning to Program with Alice – Chapter 1 September 16, 2009.
Describe the Program Development Cycle. Program Development Cycle The program development cycle is a series of steps programmers use to build computer.
Storyboarding1 Steve Cooper Barb Ericson August 2009 Storyboarding.
Alice and Algorithms Chapter 1 Part Reasons to Program The joy of programming To create a tool To use your creativity abilities For non programmers.
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
Don Slater Wanda Dann Copyright 2012 Wanda Dann, Don Slater All rights reserved.
1 12/4/1435 h Lecture 2 Programs and Programming Languages.
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
How to Program? -- Part 1 Part 1: Problem Solving –Analyze a problem –Decide what steps need to be taken to solve it. –Take into consideration any special.
Copyright 2008 Wanda Dann, Steve Cooper, Don Slater Alice Workshop Functions, Loops, and Parameters.
Copyright 2008 Wanda Dann, Steve Cooper, Don Slater Alice Workshop Variables & Conditions.
Questions Alice. Functionality A question receives value(s), performs some computation on the value(s), and returns (sends back) a value.
Interactive Programming Alice. Control of flow Control of flow -- how the sequence of actions in a program is controlled. What action happens first, what.
Peter Andreae Computer Science Victoria University of Wellington Copyright: Peter Andreae, Victoria University of Wellington Java Programs COMP 102 #3.
Wanda Dann Don Slater Classes and Objects Copyright 2012 Wanda Dann, Don Slater All rights reserved.
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.
© Peter Andreae Java Programs COMP 102 # T1 Peter Andreae Computer Science Victoria University of Wellington.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
INTRODUCTION TO COMPUTER PROGRAMMING(IT-303) Basics.
Getting Started With Scratch Brendan Routledge
Unit 2 Programming in Alice & Java 1. Day 1: Learning to Program  Objective: Understand the need for step-by-step logic; Basic working of a computer.
IMPACT SAMR Cover Sheet Task OverviewLearning Objective(s)Suggested Technology Create an animation representing a word problem with the Tellagami app,
Integrating Algorithms and Coding into the Mathematics Classroom
Computer Applications in Business
CSCI-235 Micro-Computer Applications
Introduction to Alice Alice is named in honor of
Understanding your Lesson Plan Template
Design and Implementation
Algorithm and Ambiguity
Functions Alice.
Intro to digital technology
Hour of Code Code.org/lightbot
Functions Alice.
Functions Alice.
Functions Alice.
Presentation transcript:

Don Slater Wanda Dann

 Is like learning to fly an airplane… ◦ Taking off the runway ◦ Navigating ◦ Communicating with ground control ◦ Landing ….Well, maybe more like learning spaceship controls…

 How do we learn to write a program? – Typically, a student is instructed by a teacher Lifted: A Programming Parable Teacher Student

Tools we use The Computer The Programming Language

Task: A problem to be solved The problem Executing the solution The problem

Often learn from our mistakes Debugging frustration

Getting help... Checking the Notes Office Hours

What is a computer program? A program is a sequence of instructions that tell the computer what to do tell another human being what you want the computer to do Programs are written for various kinds of tasks (not mutually exclusive) solve a problem simulation game animation

A statement is a written instruction Three basic kinds of statements – Action to be performed (executed when the program is run) – Control (determines the sequence in which actions are performed) – Comment (documents who wrote the program and what the program is intended to do)

12/17/09 cardExercise.a3p

 All objects in Alice have built-in procedures ◦ move ◦ turn ◦ roll ◦ turnToFace ◦ etc…..

You can define your own actions for objects. For example, jumpingJack touchToes

Perform actions in sequence

 Perform exercises at the same time

 Analogy -- Sports track  Run – one runner on a track  Thread – adds another runner on a separate track

Comments are used to document your program – Identify the author – Describe the problem/task Methods (procedures and functions) that you write – Simple description of what the procedure/function does (10-15 words) – Special considerations for use of the method

Required comments for ALL lab assignments for the remainder of the semester: – Name, section – Description of problem/task (10-15 words)