C Programming and Game Control Flashcard

Flashcard
•
Computers
•
6th - 8th Grade
•
Hard
Quizizz 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
`;`
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Comparing Dot Plots

Flashcard
•
7th Grade
9 questions
Scatter Plots and Predictions

Flashcard
•
8th Grade
8 questions
Flashcard - Dot Plots

Flashcard
•
7th Grade
10 questions
Box Plots

Flashcard
•
6th Grade
11 questions
Comparing Dot Plots

Flashcard
•
7th Grade
9 questions
Dot Plots

Flashcard
•
7th Grade
10 questions
Capitalization

Flashcard
•
6th - 7th Grade
13 questions
🎯 2nd MP Mid Term Flashcard

Flashcard
•
6th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade
15 questions
Decimal Operations

Quiz
•
6th Grade
10 questions
Plotting Points on the Coordinate Plane

Quiz
•
7th - 8th Grade