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
14 questions
2B Adventure Island Vocabulary Flashcards
Flashcard
•
7th Grade
6 questions
Fetch-Execute Cycle and CPU Registers
Flashcard
•
KG
11 questions
6th Grade Statistics Vocabulary
Flashcard
•
6th Grade
11 questions
Monomios e Polinomios
Flashcard
•
8th Grade
13 questions
ضرب وقسمة كسور عشرية
Flashcard
•
6th - 7th Grade
10 questions
Châu Âu
Flashcard
•
KG
10 questions
Fun with Adding Numbers
Flashcard
•
KG
7 questions
Density (Flashcards) (Part 2)
Flashcard
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade