Dastan - Part 3

Dastan - Part 3

12th Grade

10 Qs

quiz-placeholder

Similar activities

[Python OOP] Inheritance, special function

[Python OOP] Inheritance, special function

12th Grade

7 Qs

Warships (Lower 6th)

Warships (Lower 6th)

11th Grade - University

12 Qs

T_(b)(C)_4.1 Introduction to Java Program

T_(b)(C)_4.1 Introduction to Java Program

12th Grade

10 Qs

Creating Java Programs

Creating Java Programs

10th - 12th Grade

14 Qs

Advanced Java Study Guide

Advanced Java Study Guide

11th - 12th Grade

10 Qs

CodeHS 3.1 - 3.3

CodeHS 3.1 - 3.3

9th - 12th Grade

12 Qs

APCSA Recursion

APCSA Recursion

9th - 12th Grade

11 Qs

Pemrograman Berorientasi Objek

Pemrograman Berorientasi Objek

10th Grade - University

10 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?