English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board chapter 8 - Iteration and recursion [Latest edition]

Advertisements

Chapters

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board chapter 8 - Iteration and recursion - Shaalaa.com
Advertisements

Solutions for Chapter 8: Iteration and recursion

Below listed, you can find solutions for Chapter 8 of Tamil Nadu Board of Secondary Education Samacheer Kalvi for Computer Science [English] Class 11 TN Board.


Evaluation - Section - AEvaluation - Section - BEvaluation - Section - CEvaluation - Section - D
Evaluation - Section - A [Page 113]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 8 Iteration and recursion Evaluation - Section - A [Page 113]

Choose the correct answer

Evaluation - Section - A | Q 1. | Page 113

A loop invariant need not be true ______

  • at the start of the loop.

  • at the start of each iteration

  • at the end of each iteration

  • at the start of the algorithm

Evaluation - Section - A | Q 2. | Page 113

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 := b + 2

  • w := w + 2

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

  • b := w

Evaluation - Section - A | Q 3. | Page 113

If m x a + n x b is an invariant for the assignment a, b : = a + 8, b + 7, the values of m and n are ______

  • m = 8, n = 7

  • m = 7, n = -8

  • m = 7, n = 8

  • m = 8, n = -7

Evaluation - Section - A | Q 4. | Page 113

Which of the following is not an invariant of the assignment?

m, n := m + 2, n + 3

  • m mod 2

  • n mod 3

  • 3 × m - 2 × n

  • 2 × m - 3 × n

Evaluation - Section - A | Q 5. | Page 113

If the Fibonacci number is defined recursively as F(n) = `{(0, "n" = 0), (1, "n" = 1), ("F"("n" - 1),+  "F"("n" - 2) "otherwise"):}` 
to evaluate F(4), how many times F() is applied?

  • 3

  • 4

  • 8

  • 9

Evaluation - Section - A | Q 6. | Page 113

Using this recursive definition

`"a"^"n" = {(1, "if"  "n" = 0), ("a" × "a"^("n" - 1), "otherwise"):}`

how many multiplications are needed to calculate a10?

  • 11

  • 10

  • 9

  • 8

Evaluation - Section - B [Pages 113 - 114]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 8 Iteration and recursion Evaluation - Section - B [Pages 113 - 114]

Very Short Answers

Evaluation - Section - B | Q 1. | Page 113

What is an invariant?

Evaluation - Section - B | Q 2. | Page 113

Define a loop invariant.

Evaluation - Section - B | Q 3. | Page 113

Does testing the loop condition affect the loop invariant? Why?

Evaluation - Section - B | Q 4. | Page 113

What is the relationship between loop invariant, loop condition, and the input-output recursively?

Evaluation - Section - B | Q 5. | Page 114

What is recursive problem-solving?

Evaluation - Section - B | Q 6. | Page 114

Define factorial of a natural number recursively.

Evaluation - Section - C [Page 114]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 8 Iteration and recursion Evaluation - Section - C [Page 114]

Short Answers

Evaluation - Section - C | Q 1. | Page 114

There are 7 tumblers on a table, all standing upside down. You are allowed to turn any 2 tumblers simultaneously in one move. Is it possible to reach a situation when all the tumblers are right-side-up?

Evaluation - Section - C | Q 2. | Page 114

A knockout tournament is a series of games. Two players compete in each game; the loser is knocked out (i.e. does not play anymore), the winner carries on. The winner of the tournament is the player that is left after all other players have been knocked out. Suppose there are 1234 players in a tournament. How many games are played before the tournament winner is decided?

Evaluation - Section - C | Q 3. | Page 114

King Vikramaditya has two magic swords. With one, he can cut off 19 heads of a dragon, but after that, the dragon grows 13 heads. With the other sword, he can cut off 7 heads, but 22 new heads grow. If all heads are cut off, the dragon dies. If the dragon has originally 1000 heads, can it ever die?

Evaluation - Section - D [Page 114]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 8 Iteration and recursion Evaluation - Section - D [Page 114]

Explain in detail

Evaluation - Section - D | Q 1. | Page 114

Assume an 8 × 8 chessboard with the usual coloring. "Recoloring" operation changes the color of all squares of a row or a column. You can recolor repeatedly. The goal is to attain just one black square. Show that you cannot achieve the goal.

Evaluation - Section - D | Q 2. | Page 114

Power can also be defined recursively as

`"a"^"n" = {(1, "if"  "n" = 0), ("a" × "a"^("n" - 1), "if n is odd"), ("a"^("n""/"2) × "a"^("n""/"2), "if n is even"):}`

Construct a recursive algorithm using this definition. How many multiplications are needed to calculate a10?

Evaluation - Section - D | Q 3. | Page 114

A single-square-covered board is a board of 2n x 2n squares in which one square is covered with a single square tile. Show that it is possible to cover this board with triominoes without overlap.

Solutions for 8: Iteration and recursion

Evaluation - Section - AEvaluation - Section - BEvaluation - Section - CEvaluation - Section - D
Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board chapter 8 - Iteration and recursion - Shaalaa.com

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board chapter 8 - Iteration and recursion

Shaalaa.com has the Tamil Nadu Board of Secondary Education Mathematics Computer Science [English] Class 11 TN Board Tamil Nadu Board of Secondary Education solutions in a manner that help students grasp basic concepts better and faster. The detailed, step-by-step solutions will help you understand the concepts better and clarify any confusion. Samacheer Kalvi solutions for Mathematics Computer Science [English] Class 11 TN Board Tamil Nadu Board of Secondary Education 8 (Iteration and recursion) include all questions with answers and detailed explanations. This will clear students' doubts about questions and improve their application skills while preparing for board exams.

Further, we at Shaalaa.com provide such solutions so students can prepare for written exams. Samacheer Kalvi textbook solutions can be a core help for self-study and provide excellent self-help guidance for students.

Concepts covered in Computer Science [English] Class 11 TN Board chapter 8 Iteration and recursion are Invariants, Loop Invariant, Recursion.

Using Samacheer Kalvi Computer Science [English] Class 11 TN Board solutions Iteration and recursion exercise by students is an easy way to prepare for the exams, as they involve solutions arranged chapter-wise and also page-wise. The questions involved in Samacheer Kalvi Solutions are essential questions that can be asked in the final exam. Maximum Tamil Nadu Board of Secondary Education Computer Science [English] Class 11 TN Board students prefer Samacheer Kalvi Textbook Solutions to score more in exams.

Get the free view of Chapter 8, Iteration and recursion Computer Science [English] Class 11 TN Board additional questions for Mathematics Computer Science [English] Class 11 TN Board Tamil Nadu Board of Secondary Education, and you can use Shaalaa.com to keep it handy for your exam preparation.

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×