aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
Multiple choice

If $D_{30}$ is the set of all divisors of $30, x, y\epsilon D_{30}$, we define $x+y=LCM(x, y), x\cdot y=GCD(x, y), x'=\displaystyle\frac{30}{x}$ and $f(x, y, z)=(x+y)\cdot (y'+z)$, then $f(2, 5, 15)$ is equal to

  1. $2$
  2. $5$
  3. $10$
  4. $15$
Reveal answer Fill a bubble to check yourself
C Correct answer

Keep practicing — related questions

  • public class Test2 { public static int x; public static int foo(int y) { return y * 2; } public static void...
  • What will be the output of the program? class Test { public static void main(String [] args) { int x= 0; in...
  • What will be the output of the program? public class Switch2 { final static short x = 2; public static int ...
  • 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? String x = "xyz"; x.toUpperCase(); /* Line 2 */ String y = x.replac...
  • What will be the output of the program? try { int x = 0; int y = 5 / x; } catch (Exception e) { System.out....
  • switch(x) { default: System.out.println(Hello); } Which two are acceptable types for x? 1. byte 2. long 3. ...
  • Which three are valid method signatures in an interface? 1. private int getArea(); 2. public float getVol(f...

Practice this chapter

  • Number System (616 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy