हिंदी

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×