मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता ११

Using this recursive definition anifnaanotherwisean={1if n=0a×an-1otherwise how many multiplications are needed to calculate a10? - Computer Science

Advertisements
Advertisements

प्रश्न

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

MCQ

उत्तर

10

shaalaa.com
Recursion
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 8: Iteration and recursion - Evaluation - Section - A [पृष्ठ ११३]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
पाठ 8 Iteration and recursion
Evaluation - Section - A | Q 6. | पृष्ठ ११३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×