No student devices needed. Know more
13 questions
What will happen when the user clicks the addButton?
The variable score will be set to -1
The variable score will go down by 1
The variable score will go up by 1
The text on the button will change to -1
What will happen when the user clicks the subButton?
The variable score will be set to 2
The variable score will go down by 2
The variable score will go up by 2
The variable score will be set to -2
What will happen when the user clicks the subButton?
The variable score will be set to 2
The variable score will go down by 2
The variable score will go up by 2
The variable score will be set to -2
What is ANOTHER code block that will do the same thing as this one?
If the score is 8, what will the animalPic get set to when the user clicks on the animalPic?
dog.png
cat.png
What do I click on to get the animalText to change to "I love cats!"?
animalPic
animalText
subButton
addButton
Before I click addButton, the score is 6 and the background is pink. What is the background color after I click addButton?
pink
green
red
Before I click addButton, the score is 7 and the background is pink. What is the background color after I click addButton?
pink
green
red
Before I click addButton, the score is 7 and the background is pink. What is the background color after I click addButton?
pink
green
red
I want to increase the amount of space between the label and the image. What is one way I can do this?
Increase the top margin of the label
Increase the padding of the buttons
Increase the top margin of the image
Increase the height of the image
Right now, animalText says "Yay!" and the score variable is 5. What will animalText say after I click the addButton?
Yay!
Bye!
Hi!
When will the background color of the screen get changed to a random color?
Only when the addButton is clicked
Only when the subButton is clicked
When either the addButton or the subButton is clicked
Never, according to this code
Take a look at this code block. What happens when you click the addButton?
The camera takes a photo, but it doesn't display the photo anywhere in the app.
The camera takes a photo, and changes animalPic to the resulting photo.
The camera takes a photo, and stores it in a database.
The camera takes a photo, and emails it to the user.
Explore all questions with a free account