PyAI Day 9

Enter your name
1.Which of the following function will place the letter at a specified position?
insertalphabet()
insertLetter()
insertCharacter()
none
2. The isBoardFull() function checks for _____________ positions in the current board.
occupied
unoccupied
both
none
3. For a particular letter,the total number of winning conditions in the tic-tac-toe game are?
6
8
3
10
4. In the computer move function for which of the following is selection the priority highest?
corners
edges
center
all
5. If multiple edges/corners are available in the possible moves,then which which decides the move to be played?
selectRandom(li)
selectEdges(li)
selectCorners(li)
none
6. Which of the following function should evaluate to false before making a move?
isBoardFull(board)
isSpaceFree(pos)
isEmpty()
all of the above
7. Which of the following function should evaluate to true before making a move?
isBoardFull(board)
isSpaceFree(pos)
isEmpty()
all of the above
8. The board=[] is a list containing_____________ elements.
9
10
8
12
9. __________ are extensively used for simlpifying repetitive tasks.
lists
dictionaries
exception handling
functions
10. A function should always return a value..........say true or false.
False
True
0
{"name":"PyAI Day 9", "url":"https://www.quiz-maker.com/Q231AZKE","txt":"Enter your name, 1.Which of the following function will place the letter at a specified position?, 2. The isBoardFull() function checks for _____________ positions in the current board.","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}