English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Which of the following is not an invariant of the assignment? m, n := m + 2, n + 3 - Computer Science

Advertisements
Advertisements

Question

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

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

Options

  • m mod 2

  • n mod 3

  • 3 × m - 2 × n

  • 2 × m - 3 × n

MCQ

Solution

3 × m - 2 × n

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 4. | Page 113
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×