C Programming and Game Control Flashcard

Flashcard
•
Computers
•
6th - 8th Grade
•
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
`;`
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
The Outsiders Ch. 4-6

Flashcard
•
7th Grade
10 questions
Lesson 2 JH !st grade

Flashcard
•
7th Grade
10 questions
All About Images for Google Classroom

Flashcard
•
5th - 8th Grade
7 questions
Digital Citizenship- Finding Balance

Flashcard
•
6th - 8th Grade
10 questions
Unit 7 Vocab Flashcard - Mesoamerica & South America

Flashcard
•
8th Grade
8 questions
Unit 4 - Ojibwe

Flashcard
•
6th Grade
10 questions
functions of root system in plants

Flashcard
•
6th Grade
7 questions
Economic Terms Flashcards

Flashcard
•
7th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade