Search Header Logo

Symbol Puzzle Recap

Authored by O Hawkridge

Computers

12th Grade

Symbol Puzzle Recap
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the data type of __Grid?

Array/List

Object

String

Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the data type of MyPuzzle?

Puzzle

Object

Class

Array/List

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the 'append' function do?

Add to the end of a list

Add to the beginning of a list

Add randomly to a list

Concatenate strings together

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the first line in a puzzle.txt file contain?

The number of symbols

The different patterns

The current score

A list of items

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which is the best explains this function's purpose?

It turns a row and column number into an index for a one-dimensional array

It checks the row and column numbers are within the grid

It gets a cell based on a 2D array reference

It raises an index error if necessary

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Why does the CheckSymbolAllowed function always return False?

Because nothing can ever be placed in a blocked cell

Because this will probably be changed in the exam

Because of inheritance, this function is implemented in the Cell class

Because 'super' takes care of all blocked cells

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the purpose of this code?

To prevent the same symbol being placed in the 3x3 grid where a pattern has been made

To build the different pattern strings in a spiral

The check all the different 3x3 regions around a symbol for a pattern

To check all the different orientations a pattern can be in

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?

Discover more resources for Computers