Coding Final Fall 2019 - Connect Four

Coding Final Fall 2019 - Connect Four

9th - 12th Grade

19 Qs

quiz-placeholder

Similar activities

Asas JavaScript

Asas JavaScript

1st Grade - University

18 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

Unit 8 Practice Test For CSP

Unit 8 Practice Test For CSP

9th Grade

16 Qs

TO PAS AIJ

TO PAS AIJ

11th Grade

20 Qs

Pointers

Pointers

12th Grade

20 Qs

Google Sheets

Google Sheets

12th Grade

21 Qs

Coding Final Fall 2019 - Connect Four

Coding Final Fall 2019 - Connect Four

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Moshe Erlbaum

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

On what line is the loop to draw the numbers under the board?

23
30
59
78

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How big is each box of the game board?

80 x 80

300 x 300

180 x 180

700 x 700

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the x, y coordinates of the first box of the game board?

x=180, y = -300
x = -300, y = 180
x = 180, y = -220
x = -220, y = 180

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the draw_o know if it should draw a red or yellow checker?

The variable color will be set.
There are two draw_o functions; one for each color.
The variable turn is checked by draw_o.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What line checks if the location is valid?

59
61
63
65

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What line checks to see if the game is over?

59
61
63
65

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the condition of board[0][loc-1] != ' ' on line 61 check for?

If the column is full.
If the column is out of range.
If the board is full.
If the row is already taken.

Create a free account and access millions of resources

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?