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

If x is the highest 4 digit number with base 4 and y is the least 5 digit number with base 5. What is y-x in decimal system?

  1. 34

  2. 45

  3. 100

  4. 99

  5. 370

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

Highest 4-digit base-4 number = 3334₄ = 3·64 + 3·16 + 3·4 + 3 = 255₁₀. Least 5-digit base-5 number = 10000₅ = 625₁₀. Difference: 625 - 255 = 370 in decimal.

Keep practicing — related questions

  • 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. ...
  • public class Test2 { public static int x; public static int foo(int y) { return y * 2; } public static void...
  • Which three are valid method signatures in an interface? 1. private int getArea(); 2. public float getVol(f...
  • 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 Test { public static void main(String [] args) { int x= 0; in...
  • Directions: Based on the information from the paragraph, choose the appropriate number 1 - 4 to complete th...
  • Directions: Based on the information from the paragraph, choose the appropriate number 1 – 4 to complete th...
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy