PW7_Week7_Alvaro_Grijalva

docx

School

Miami Dade College, Miami *

*We aren’t endorsed by this school

Course

3110

Subject

History

Date

Dec 6, 2023

Type

docx

Pages

3

Uploaded by Nickova96

Report
Name: Alvaro Grijalva Date: 10/17/2023 Time: 8:40PM EEL 3370 PW7 Week 7
Name: Alvaro Grijalva Date: 10/17/2023 Time: 8:40PM EEL 3370 PW7 Week 7 Study Questions: study the source code and answer the following questions: Question 1. Which of the 3 different ways is the timer used in this program Answer 1: The timer used in this program is used to: trigger, render and update the draw pane on the screen. Question 2. What is the period for the timer used? Answer 2: In line 58 in the code is where the timer for the period is used. wxTimer::Start(10); which is around 10 miliseconds. Question 3. Which object and function is called with timer repeated periodic notification? Answer 3: The Notify function is called for repeated periodic notifications. Notify()
Name: Alvaro Grijalva Date: 10/17/2023 Time: 8:40PM EEL 3370 PW7 Week 7 Question 4. What event causes the text to be moved? Answer 4: The event that causes the text to be moved is y_speed and depending of the values given, the text can be moved up and down. static int y = 0; static int y_speed = 2; y += y_speed; if(y<0) y_speed = 2; if(y>200) y_speed = -2;
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help