M
Q. Which of the following expressions can be used to multiply a given number ‘a’ by 4?
Explanation by: Mr. Dubey
let us consider an example wherein a=2. the binary form of 2 is 0010. when we left shift this value by 2, we get 1000, the value of which is 8. hence if we want to multiply a given number ‘a’ by 4, we can use the expression: a<<2.
You must be Logged in to update hint/solution
Be the first to start discuss.
Related MCQs
Q. Which of the following is false with respect to the datagram networks?
Q. What is the compilation error for this program?
Q. Outcome of requirements specification phase is
Q. For every natural number k, which of the following is true?
Q. What are the major activities of the spiral model of software engineering?
Question analytics

Discusssion
Login to discuss.