English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

We wish to cover a chessboard with dominoes, □□ the number of black squares, and the number of white squares covered by dominoes, respectively, placing a domino can be modeled by ______ - Computer Science

Advertisements
Advertisements

Question

We wish to cover a chessboard with dominoes, `square``square` the number of black squares, and the number of white squares covered by dominoes, respectively, placing a domino can be modeled by ______

Options

  • b := b + 2

  • w := w + 2

  • b, w := b + 1, w + 1

  • b := w

MCQ
Fill in the Blanks

Solution

We wish to cover a chessboard with dominoes, `square``square` the number of black squares, and the number of white squares covered by dominoes, respectively, placing a domino can be modeled by b, w := b + 1, w + 1.

shaalaa.com
Invariants
  Is there an error in this question or solution?
Chapter 8: Iteration and recursion - Evaluation - Section - A [Page 113]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 8 Iteration and recursion
Evaluation - Section - A | Q 2. | Page 113
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×