Review For Test Chapter 4 & 5 Test is Wednesday, January 27th.

Slides:



Advertisements
Similar presentations
Introduction to Macromedia Director 8.5 – Lingo
Advertisements

PIIT Computer Science Summer Camp - Alice July 10, 2012 Brenda Parker Computer Science Department MTSU.
PIIT Computer Science Summer Camp - Alice July 11, 2012 Brenda Parker Computer Science Department MTSU.
Alice Inheritance and Event Handling. Inheritance Concept Consider this hierarchy; parents describe properties of children Animals Vertebrates MammalsFish.
Events Chapter 7. Interactivity The real world is interactive User determines order of actions instead of programmer.
Events Chapter 7. Interactive Real world is interactive User determines order of actions instead of programmer.
Introduction to Alice Alice is named in honor of
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Fall 2007ACS-1805 Ron McFadyen1 Chapter 5 Interactive Programs.
CS320n –Visual Programming Interactive Programs Mike Scott (Slides 5-1)
Interaction: Events and Event Handling
SCRATCH This Design Notebook belongs to:. 3 What are the different ways you interact with computers? List your answers here: 5.
Sequencing Miss Regan. Blood Hound  Does anyone know what the Bloodhound project is?  Video 1 Video 1  Video 2 Video 2  Link to website Link to website.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley This week: Whew!!! The last homework was tough! The homework for this week.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming First Edition.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Execution Control with If/Else and Boolean Functions
By Mr. Lee. Backgrounds The image that appears in the background (duh!). This might be a horizon, or clouds, trees and rainbows in the distance If you’re.
Operating Systems. Operating System  A program running in a computer from the moment it is switched on.  Part of the Systems Software of the computer.
CompSci 4 Chap 5 Sec 1 Oct 13, 2005 Prof. Susan Rodger Note: thanks to Wanda Dann and Steve Cooper for slide ideas.
Study Guide For Test Chapter 5, 6,& 7 Test is Friday, May 15th.
Interaction: Events and Event Handling
Programming & Scratch. Programming Learning to program is ultimately about learning to think logically and to approach problems methodically. The building.
Event Driven Programming Chapter 5. Sequential Programming Computer-Centric Computer-Centric Program Runs as Programmer Intended Program Runs as Programmer.
Today’s Agenda 1.Collect Pre-Lab 5 2.Collect Alice project storyboards 3.Events 4.Dummy Objects 5.Assign pair programming teams and meet upstairs for Lab.
Parameters and Event-Handler Methods Alice. Mouse clicks Interactive programs often allow the user to mouse click an object in the display. buttons in.
Interactive Programming Sec 49 Web Design. Objectives The student will: Understand the difference between movie mode and an interactive program Understand.
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
Interactive Programming Alice. Control of flow Control of flow -- how the sequence of actions in a program is controlled. What action happens first, what.
Events (Alice In Action, Ch 6) Slides Credit: Joel Adams, Alice in Action CS 120 Lecture September 2012.
CompSci 4 Chap 5 Sec 2 Oct 18, 2005 Prof. Susan Rodger Note: thanks to Wanda Dann and Steve Cooper for slide ideas.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Introduction to visual programming C#. Learning Outcomes In this chapter, you will learn about :  Event-Based Programming  The Event Based Model  Application.
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
List Search Alice. Common Uses of Lists Iterating through a list of several like items to accomplish the same task with each item. As in the previous.
Learning to Program with Alice September 22, 2009.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4: Events Programming with Alice and Java First Edition by John Lewis.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
SCRIPT PROGRAMMING WITH FLASH Introductory Level 1.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
Today we are learning to: Understand how actions and events control our game. Completing the catch the clown game – making a room – adding music Gather.
Interactive Programming Alice. Control of flow Control of flow -- how the sequence of actions in a program is controlled. What action happens first, what.
Today we are learning to: Understand how flow charts are used to design games Add events to our objects to control stuff in our game – (Using the user.
CompSci 4 Chap 5 Sec 2 Oct 9, 2008 Prof. Susan Rodger.
5 Event Handling Interactive Programming Suggested Reading Interaction: Events and Event Handling, Supplemental Text for CPSC 203 Distributed this term.
Interactive Programming MMP 220 Multimedia Programming This adapted material was prepared for students in MMP220 as as part of a curriculum redesign project.
List Search Alice. Common Uses of Lists Iterating through a list of several like items to accomplish the same task with each item. As in the previous.
CompSci 4 Chap 5 Sec 1 and 2 Oct 14, 2010 Prof. Susan Rodger.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
Alice Final Project Web Design. Alice Final Project You have a choice of two scenarios: 1. A game of some sort. You must devise a score-keeping mechanism.
CS320n – Elements of Visual Programming List Search Mike Scott (Slides 9-2) Thanks to Wanda Dann, Steve Cooper, and Susan Rodger for slide ideas.
Collision Theory and Logic
Programming & Scratch.
Starting Out with Alice: A Visual Introduction to Programming
Collision Theory and Logic
Introduction to Event-Driven Programming
Lesson Objectives Aims Key Words Interrupt, Buffer, Priority, Stack
Event-driven programming
Lesson 1: Buttons and Events – 12/18
Introduction to Events
Building an App: Multi-Screen App
List Search Alice.
Interactive Programming
Exercise 1 Modify some parameters in the histogram.js and see what would happen (one by one) 20 in Line 2  in Line 3  in Line 15  .9.
ICT Programming Lesson 5:
ACM programming contest
List Search Alice.
Interactive Programming
Presentation transcript:

Review For Test Chapter 4 & 5 Test is Wednesday, January 27th

Today’s Agenda:  Review Vocabulary Words  Review main points from Chapter 5 Chapter 4  Questions & Answers  Homework: Study for Test! It’s tomorrow.

Vocabulary Words – Chapter 5  Event An event is something that happens. In response to an event:  an action or a sequence of many actions is carried out.

What is an Event?  Every time the user clicks the mouse or presses a key on the keyboard to send a signal to Alice about what to do next. The mouse click or key press is an event!  In this chapter we learn the mechanics of how the user create an event and how the program responds to the event.  Example: think of a video game – A Car Race. The scene is determined on how skillful the driver is steering the car.

Vocabulary Words – Chapter 5  Event handling method As a programmer you respone to an events. The event must be linked to the responding method. The method is now said to be an event handling method.

Events – How many are there?

Vocabulary Words – Chapter 5  Incremental development Use when testing a program! How?  Write a method and test it, write a method and test it, until the program is completed. This is incremental devleopment!

Testing!  How to test? Just save the world and press the PLAY button.  Tip: It is important to test event handling methods as they are developed. Write a method and test it, write a method and test it, until the program is completed.  Why? Incremental development! The advantage is in making it easier to debug your program. When something isn’t working, it can easily be fix before it causes bigger problems elsewhere in your program.

Vocabulary Words – Chapter 5  Interactive (of a computer program or system) interacting with a human user, often in a conversational way, to obtain data or commands and to give immediate results or updated information: For many years airline reservations have been handled by interactive computer systems.

Interactive Program –vs- Non-Interactive Program What is the main difference?  Interactive The sequence of actions is determined at runtime! Occurs when:  The user clicks the mouse  Presses a key on the keyboard  Objects in the scene move (randomly or guided by the user)  User can create some conditions like a collision.  Non-Interactive The sequence of actions is pre-determined by programmer Programmer designs a complete storyboard Programmer writes the program code for the animated actions. Every time the program runs the same sequence will occur.

Vocabulary Words – Chapter 4  Method Is a sequence of instructions that will be carried out when requested. (for more information look on page 91)

Vocabulary Words – Chapter 4  Calling a Method Is the process when the method is called into action! (see page )

Vocabulary Words – Chapter 4  Step-refinement Is the process of breaking a problem down into large tasks and then breaking each task down into simpler steps. (page 94)

Questions that you might see on the test - Take a look!  What is another term commonly used for ‘calling a method’? (look on page 96)  How do you run a method?  What is a parameter? (page 100)  How do you add sound to your program? What are the steps?

What will be on the test?  Chapter 5 – Interaction!  Chapter 4 – Methods!  Test is tomorrow – Wednesday, January 27th....and yes you can use notes.  For today: Continue working in