Back to marketplace

section c dastan predictions

No description yet. This curated deck is ready for daily study.

Total cards: 11•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (11)

#1
Front (Question)

State the name of an identifier for a public method in the Dastan class

Back (Answer)

PlayGame

#2
Front (Question)

Explain why this method is public and not private

Back (Answer)

It allows it to be accessed from outside the class by the main functions, otherwise if it was a private method this would not be possible

#3
Front (Question)

How many points do you lose when you choose a move from position 1, 2 and 3 in the queue?

Back (Answer)

1,4,7

#4
Front (Question)

Suppose you wanted to display the grid with 8 by 8 cells. What would you modify in the program?

Back (Answer)

Change this line: ThisGame = Dastan(6, 6, 4) to ThisGame = Dastan(8, 8, 4)

#5
Front (Question)

State the name of an identifier for a class that inherits from another class

Back (Answer)

Kotla

#6
Front (Question)

State the name of an identifier for a private method that has three parameters (including the object parameter).

Back (Answer)

CreateMoveOption

#7
Front (Question)

State the name of an identifier that is a Boolean variable

Back (Answer)

GameOver

#8
Front (Question)

What is the random module used for in the pre-release?

Back (Answer)

Randomly selects the move offer option

#9
Front (Question)

State the name of a built-in function

Back (Answer)

print, int, float, input, str

#10
Front (Question)

What effect does the super routine in class Kotla have?

Back (Answer)

Can use method class in the parent class, even if overridden

#11
Front (Question)

Give an example from the code of object instantiation?

Back (Answer)

Thisgame= Dastan(6,6,4)