Search Header Logo

Dastan - Part 3

Authored by Debbie Kennah

Computers

12th Grade

Used 3+ times

Dastan - Part 3
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

encapsulation is demonstrated through the use of an access modifer. What is an example of an access modifer

_Board

-board

__board

board-

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of a private method

self._Board

__displayboard

Row

class Dastan

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of the method getPiece

O(N)

O(2N)

O(1)

O(n log N)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of the method __CreateBoard

O(N^2)

O(2N)

O(1)

O(n log N)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of the method PlayGame

O(N^2)

O(2N)

O(1)

O(n log N)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of the method __SwitchPlayers

O(N^2)

O(2N)

O(1)

O(n log N)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The player class is inherited by which class

MoveOption

Square

Piece

Dastan

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?