Dastan - Part 3

Dastan - Part 3

12th Grade

10 Qs

quiz-placeholder

Similar activities

PBO KELAS 12

PBO KELAS 12

12th Grade

14 Qs

Object Oriented Programming

Object Oriented Programming

12th Grade

11 Qs

Objects & Classes

Objects & Classes

11th - 12th Grade

10 Qs

Python Classes Quiz

Python Classes Quiz

9th - 12th Grade

15 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

Computer Science - Python

Computer Science - Python

9th - 12th Grade

15 Qs

Alice 2 - Chapter 4

Alice 2 - Chapter 4

7th - 12th Grade

10 Qs

L2W3

L2W3

12th Grade

11 Qs

Dastan - Part 3

Dastan - Part 3

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Debbie Kennah

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?