1. Which two statements are equivalent? 3/2 3<2 34 3<<2





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 02 Jun 2017 01.26 am
    (1) is wrong. 3/2 = 1 (integer arithmetic). (2) is wrong. 3 < 2 = false. (3) is correct. 3 * 4 = 12. (4) is correct. 3 <<2= 12. In binary 3 is 11, now shift the bits two places to the left and we get 1100 which is 12 in binary (3*2*2).
Show Similar Question And Answers
QA->Two statements are given followed by two conclusions I and II. You have to consider the two statements to be true even if they seem to be at variance from commonly known facts. You have to decide which one of the given conclusions is definitely drawn from the given statements. Statement : All virtuous persons are happy. No unhappy person is virtuous. Conclusions : I. Happiness is related to virtue II. Unhappy person is not virtuous.....
QA->.....is a device by virtue of which two persons at two different places can communicate. It consists of two main parts (i) a microphone and (ii) a receiver.?....
QA->The sum of squares of two numbers is 80 and the square of difference between the two numbers is Find the product of two numbers.....
QA->The statements “Protoplasm is the physical basis of life” is given by which person?....
QA->Which of the statements is a perfect definition of Recto ?....
MCQ->Which of the following statements are correct about an if-else statements in a C-program? 1: Every if-else statement can be replaced by an equivalent statements using   ?: operators 2: Nested if-else statements are allowed. 3: Multiple statements in an if block are allowed. 4: Multiple statements in an else block are allowed.....
MCQ->Consider the following statements a half adder. As a half subtractor alsohas two outputs CH = x x y and Sn = x ⊕ y for two inputs x and yhas two outputs CH = x + y and SH = x ⊕ y for two inputs x and yis a combinational circuit Which of the statements given above is/are correct?....
MCQ->Norton's theorem provides a method for the reduction of any ac circuit to an equivalent form consisting of an equivalent voltage source in series with an equivalent impedance.....
MCQ->A Thevenin ac equivalent circuit always consists of an equivalent ac voltage source and an equivalent capacitance.....
MCQ->Thevenin's theorem provides a method for the reduction of any ac circuit to an equivalent form consisting of an equivalent current source in parallel with an equivalent impedance.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution