Alice and Algorithms Chapter 1 Part 1 1-1. Reasons to Program The joy of programming To create a tool To use your creativity abilities For non programmers.

Slides:



Advertisements
Similar presentations
PIIT Computer Science Summer Camp - Alice July 10, 2012 Brenda Parker Computer Science Department MTSU.
Advertisements

Programming with Alice. Getting Started with Alice Alice is a free programming language – Named in honor of Lewis Carroll – See web page for download.
Introduction to Alice Alice is named in honor of
Chapter 1 - An Introduction to Computers and Problem Solving
SDP Languages and Environments. Types of Languages and Environments There are 4 main types of language that you must be able to describe at Higher level.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CS320n – Elements of Visual Programming Introduction to Alice Mike Scott (Slides 1-1)
Fall 2008ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice 2.0 Ron McFadyen Course OutlineMcFadyenOutline.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Fall 2009ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice.
Programming Fundamentals (750113) Ch1. Problem Solving
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Course: Introduction to Computers
Computer Programming-1 CSC 111 Chapter 1 : Introduction.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
CSC1401: Introductory Programming Steve Cooper
Alice Programming. alice.com Carnegie Mellon University with support from Electronic Arts, Sun Microsystems, DARPA, Intel, Microsoft, NSF and ONR. Alice.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Getting Started With Alice. Why Learn about Programming computers. Learning to program a computer does not turn you into a nerd We will use Alice which.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Chapter 1 Introduction. Goal to learn about computers and programming to compile and run your first Java program to recognize compile-time and run-time.
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Learning to Program with Alice – Chapter 1 September 16, 2009.
Chapter 1 Introduction Chapter 1 Introduction 1 st Semester 2015 CSC 1101 Computer Programming-1.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Obj: Introduction to Alice HW: Read handout and answer questions. Alice is named in honor of Lewis Carroll’s Alice in Wonderland Day 5.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Introduction to C# Programming Version 1.1. Objectives  Help you learn to read and follow instructions  Look at how and why we write programs  Describe.
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
What is Alice? Alice is an innovative 3D programming environment that makes it easy to create an animation for telling story, playing an interactive game,
Learning to Program with Alice 1st Semester September 11, 2008.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Chapter 1: Introduction to Alice and Objects
The single most important skill for a computer programmer is problem solving Problem solving means the ability to formulate problems, think creatively.
Programming in Alice IT-IDT-9 Design, develop, test and implement programs using visual programming. 9.1 Utilize drag and drop software to develop programs.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Introduction to Scratch
Collision Theory and Logic
JavaScript/ App Lab Programming:
Programming Languages
Introduction to Visual Basic 2008 Programming
Event-driven programming
Obj: Introduction to Alice
DDC 1023 – Programming Technique
Introduction to Algorithm – part 1
Introduction to Alice Alice is named in honor of
An Introduction to Visual Basic .NET and Program Design
TRANSLATORS AND IDEs Key Revision Points.
Introduction to Alice Alice is named in honor of
Introduction to Programming
What is a computer program?
Introduction to Alice Alice is named in honor of
Programming Fundamentals (750113) Ch1. Problem Solving
Introduction to Alice Alice is named in honor of
Intro to digital technology
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Presentation transcript:

Alice and Algorithms Chapter 1 Part 1 1-1

Reasons to Program The joy of programming To create a tool To use your creativity abilities For non programmers o Learn a new way to think  Drawing course does same thing o Helps problem solving skills  Finding answer to question  Determine how to perform a task

Alice A modern programming tool o 3-D graphics o 3-D models of objects  People, animals, fantasy creatures, vehicles and backgrounds Animation o Objects can be moved around a 3D virtual world o Similar to a video game or simulation CD in book has Alice worlds from chapters Can download Alice 2.4 from the web

Alice Examples Example Alice worlds Demonstration video 1-4

Origination of Alice Named in honor of mathematician Charles Lutwige Dodson o Was able to do complex math and logic o Knew he needed to make things simple and fascinating for learner Pen name was Lewis Carroll who wrote o Alice in Wonderland o Through the Looking Glass

Alice Programming in Alice is like being a movie director, puppeteer, or choreographer in a 3D world You create programs by dragging words and objects to editor with mouse

Kinds of Animations Two kinds of animations o Movie  Can tell a story  Passively watch animation o Interactive  Active user clicks on mouse or types on keyboard  User actions are called events

Programming Terminology Algorithm – step by step structure to solve a problem Program – implementation of algorithm using a programming language Instruction – an action to be performed Pseudo code – loose set of instructions not tied to any program environment

Computer A device that follows instructions for manipulating and storing data Computer program – set of instructions that computer follows to perform a task o Instructions must be carefully written to follow a logical sequence  That is key – you need to think of the logical sequence you want the computer to follow Running or executing program – when computer is performing instructions 1-9

Algorithms Algorithm o Set of well-defined logical steps o Must be performed in order to perform a task 1-10 Example: Making a cup of instant coffee –Remove lid from coffee jar –Put lid down on counter –Remove 1 tsp of coffee from jar –Place that coffee in a cup –Add 8 oz of boiling water to cup –Use teaspoon to stir water and coffee mixture –Stir 10 revolutions –Remove teaspoon from cup and place on counter Is this adequate? Is it detailed enough? Is anything ambiguous?

Algorithms Algorithms are understandable by humans (natural language) Computers understand machine language not natural language 1-11 Blah

Programming Languages Programming languages are converted to machine language by o Compiler – Instructions converted before executing program o Interpreter – Each instruction is individually converted during execution, Ex: Alice 1-12 Starting … out … With … Alice …

Programming Languages Operators o + - * / o Perform arithmetic and other functions on data Syntax o Set of rules that must be followed o Similar to the set of rules that are followed when people speak a natural language Program or code o Consists of keywords, operators, punctuation arranged in proper logical sequence o Save, compile, link, executable program is produced 1-13

Checkpoint What is a computer? What is an algorithm? What is a program? What language is an algorithm written in? What is the only language computers understand? Why were programming languages invented? 1-14

Class Exercise Write an algorithm that explains how to make a Peanut Butter and Jelly sandwich Assume the person does not know anything about how to make sandwiches 1-15

Class Exercise Describe the scene of two volleyball players on opposite sides of a volleyball net Write algorithm to have one player serve the ball to another Have the other player jump up with arms raised to block the ball Have the ball fall to the ground across from the net Make sure you reset the players to the resting position Reset the server at same time as ball moves 1-16