In an 8 X 8 chessboard a queen placed anywhere can attack another piece if the piece is present in the same row, or in the same column or in any diagonal position in any possible 4 directions, provided there is no other piece in between in the path from the queen to that piece. The columns are labelled a to h (left to right) and the rows are numbered 1 to 8 (bottom to top). The position of a piece is given by the combination of column and row labels. For example, position c5 means that the piece is in cth column and 5th row.
General Solution The columns are labelled a to h (left to right) and the rows are numbered 1 to 8 (bottom to top). The position of a piece is given by the combination of column and row labels.
4. Suppose the queen is the only piece on the board and it is at position d5. In how many positions can another piece be placed on the board such that it is safe from attack from the queen? A) 32 B) 35 C) 36 D) 37 Ans. A row, a column and two diagonals are out. Each of these has 8 squares.But there will be overlaps here. Squares under attack = 8 + 7 + 7 + 6 = 28 (including the One the queen is on) Squares not under attack = 36 Choice C
All features of the online course, including the classes, discussion board, quizes and more, on a mobile platform.
Download videos onto your mobile so you can learn on the fly, even when the network gets choppy!