aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Maths Online Test Class 8
  • If x =2, y =3, then xx + yx is equal to
Multiple choice

If x =2, y =3, then xx + yx is equal to

  1. 30

  2. 13

  3. 33

  4. 31

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Substitute x = 2 and y = 3 into x^x + y^x: 2^2 + 3^2 = 4 + 9 = 13.

Keep practicing — related questions

  • int x=10,y; y=x++ + x++ + ++x; value of x and y?
  • Which of the following are legal lines of code? 1. int w = (int)888.8; 2. byte x = (byte)1000L; 3. long y =...
  • What will be the output of the program? class Bitwise { public static void main(String [] args) { int x = 1...
  • Tony has a box of apples. How many apples are in the box, 1. if he gave the apples to 7 friends equally? Th...
  • What will be the output of the program? String x = "xyz"; x.toUpperCase(); /* Line 2 */ String y = x.replac...
  • switch(x) { default: System.out.println(Hello); } Which two are acceptable types for x? 1. byte 2. long 3. ...
  • public class Test2 { public static int x; public static int foo(int y) { return y * 2; } public static void...
  • What two statements are true about the result obtained from calling Math.random()? 1. The result is less th...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy