C Programming and Game Control Flashcard
Flashcard
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does the `init()` function do in your C code?
Back
Sets up things at the beginning of the program
2.
FLASHCARD QUESTION
Front
Which function is called repeatedly during the game to control the robot? Options: `init()`, `repeat()`, `loop()`, `setup()`
Back
`loop()`
3.
FLASHCARD QUESTION
Front
What does the following line do? `game.movePlot(1);`
Back
Moves robot to Plot 1
4.
FLASHCARD QUESTION
Front
How do you water a crop at Plot 1 in C?
Back
`game.WaterCrop(1);`
5.
FLASHCARD QUESTION
Front
How do you tell the game to wait for 10 seconds? Options: `game.wait(10);`, `game.SetWait(10);`, `wait(10);`, `game.sleep(10);`
Back
`game.SetWait(10);`
6.
FLASHCARD QUESTION
Front
Which of the following is a correct way to plant a melon at Plot 1? Options: `plantCrop(1,4);`, `game.plantCrop(1,4);`, `game.Plant(1,4);`, `game.PlantCrop(4,1);`
Back
`game.plantCrop(1,4);`
7.
FLASHCARD QUESTION
Front
What symbol is required at the end of each line in C code?
Back
`;`
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Literature: The Good Deed
Flashcard
•
6th Grade
11 questions
Theme Review
Flashcard
•
6th Grade
9 questions
Photosynthesis and Plant Growth
Flashcard
•
KG
14 questions
6th 6-5 Find Percent of a Number
Flashcard
•
6th Grade
14 questions
Percy Jackson 15 and 16
Flashcard
•
6th Grade
15 questions
Theme
Flashcard
•
6th Grade
15 questions
Understanding Graphic Novels
Flashcard
•
6th Grade
15 questions
Exploring Life: Inspire Science Module 1 Lesson 1 Practice Flashcard
Flashcard
•
6th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade