Untitled document 6.pdf Programming Quiz

Summary

This document contains multiple-choice questions and answers about programming concepts, particularly focused on app development. The questions cover topics like events, variables, and operators in a programming context. PDF file.

Full Transcript

What does the 'On_Park' event correspond to? a) The screen starts b) A specific button click c) When the app is paused d) The car's color Answer: c) When the app is paused Which block would you use to perform an action after a button click? a) Open Another Screen b) TimerInterval c) Button Click d)...

What does the 'On_Park' event correspond to? a) The screen starts b) A specific button click c) When the app is paused d) The car's color Answer: c) When the app is paused Which block would you use to perform an action after a button click? a) Open Another Screen b) TimerInterval c) Button Click d) Sensor Event Answer: c) Button Click What happens when a timer reaches its set interval? a) A sensor event is triggered b) The app goes to a new screen c) A timer event is triggered d) The user is prompted for input Answer: c) A timer event is triggered Which of the following actions is an example of an automated event? a) Clicking a button b) Tilting the phone c) Timer "tick" d) Moving the phone Answer: c) Timer "tick" What would happen if a variable is named "Variable 1"? a) It would be accepted b) It would cause an error c) It would be named "Variable_1" d) It would be renamed automatically Answer: c) It would be named "Variable_1" Which is a property associated with the Web Viewer component? a) TimerInterval b) Model c) Color d) Button Click Answer: a) TimerInterval Which of these blocks is NOT used in a Web Viewer app? a) Call Web Viewer b) Open Another Screen c) Button Click d) DatePicker Answer: d) DatePicker Which event is triggered when a sprite collides with another sprite? a) Button Click b) TimerEvent c) Automatic Event d) Sensor Event Answer: c) Automatic Event Which of the following is used to define the layout for a Web Viewer component? a) TimerInterval b) On_Start c) Color d) Screen Name Answer: c) Color *What type of operators do you use to perform mathematical operations like +, -, , /? a) Relational operators b) Logical operators c) Arithmetic operators d) Comparison operators Answer: c) Arithmetic operators

Use Quizgecko on...
Browser
Browser