English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

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 ______ - Computer Science

Advertisements
Advertisements

Question

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 ______

Options

  • m = 8, n = 7

  • m = 7, n = -8

  • m = 7, n = 8

  • m = 8, n = -7

MCQ
Fill in the Blanks

Solution

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 = 7, n = -8.

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

Englishहिंदीमराठी


      Forgot password?
Use app×