Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Review For Test Chapter 4 & 5 Test is Wednesday, January 27th."— Presentation transcript:

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

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

3 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.

4 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.

5 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.

6 Events – How many are there?

7 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!

8 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.

9 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.

10 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.

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

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

13 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)

14 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?

15 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 www.whatsnextillinois.org www.whatsnextillinois.org


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

Similar presentations


Ads by Google