aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Core Fundamentals - Practice Test 6
  • Which two statements are equivalent? 1. 16*4 2. 16>&gt...
Multiple choice

Which two statements are equivalent?

  1. 16*4
  2. 16>>2
  3. 16/2^2
  4. 16>>>2

  1. 1 and 2

  2. 2 and 4

  3. 3 and 5

  4. 1 and 3

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

(2) is correct. 16 >> 2 = 4 (4) is correct. 16 >>> 2 = 4 (1) is wrong. 16 * 4 = 64 (3) is wrong. 16/2 ^ 2 = 10

Keep practicing — related questions

  • Which two statements are equivalent? 1. 3/2 2. 3<2 3. 3*4 4. 3<<2
  • Which of the following values is equivalent to 4.3 E -24?
  • What two statements are true about the result obtained from calling Math.random()? 1. The result is less th...
  • Which of the following statements is/are correct about Mississippian period? 1. It was the Carboniferous pe...
  • switch(x) { default: System.out.println(Hello); } Which two are acceptable types for x? 1. byte 2. long 3. ...
  • Tony has a box of apples. How many apples are in the box, 1. if he gave the apples to 7 friends equally? Th...
  • Which of the following bacteria are examples of free-living nitrogen fixers? 1. Rhizobium 2. Beijerinckia 3...
  • Which of the following enzymes are examples of hydorlases? 1. Lactate dehydrogenase 2. Alanine deaminase 3....
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy