Search Header Logo
Video Game Design: 2nd 9 Weeks Test Review

Video Game Design: 2nd 9 Weeks Test Review

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does it mean to DEFINE a function?

Back

It means you are naming the function and specifying what it does.

2.

FLASHCARD QUESTION

Front

Billy wants to DEFINE a function called buildTower. Which of the following is a correctly formatted 1st line for defining a function? Options: function buildTower; {, function buildTower() {, buildTower();, buildTower() {

Media Image

Back

function buildTower() {

3.

FLASHCARD QUESTION

Front

What does it mean to CALL a function?

Back

It means your program is running (or executing) the function.

4.

FLASHCARD QUESTION

Front

Billy's program didn't run because he forgot to call the main function. Which of the following is the correct way to CALL the main function?

Media Image

Back

main();

5.

FLASHCARD QUESTION

Front

Billy wants Karel to place 10 balls. Which control structure should he use?

Media Image

Back

For loop

6.

FLASHCARD QUESTION

Front

Billy wants Karel to keep moving forward as long as she is on top of a ball. Which control structure should he use?

Media Image

Back

While loop

7.

FLASHCARD QUESTION

Front

Billy wants Karel to call the jumpHurdle function if she runs into a hurdle. Which control structure should he use?

Media Image

Back

if statement

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?