मराठी

What will be the output of the following query? SELECT POWER (2, MOD (17, 3)): - Informatics Practices

Advertisements
Advertisements

प्रश्न

What will be the output of the following query? 

SELECT POWER (2, MOD (17, 3)):

पर्याय

  • 8

  • 1

  • 0

  • 4

MCQ

उत्तर

4

Explanation:

According to BODMAS rule, the inner function has to be executed first MOD(17, 3): 

MOD(17, 3) = 17 % 3 = 2 

Next, we'll apply this result in the POWER function: 

POWER(2, 2) = 22 = 4 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2023-2024 (February) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×