Programming - Operators

You Are Here :: Home > JAVA > Operators - General Questions

 
31.

_________ operators are used to perform bitwise operations on the binary representation of an integer instead of its numerical value.                        


A. bit shifts B. Relational operator
C. assignment operator "=" D. assignment operator "="




32.

A sign bit is found in the left most position of the number and is know as _________which indicates the status of a number                        


A. significant bit (MSB) B. most significant bit (MSB)
C. both a and b D. none




33.

The signed ________ operator shifts a bit (or bits) to the left by the distance specified in the right operand.                        


A. left shift ("<<") B. Right shift(">>")
C. both a and b D. all the above




34.

The signed __________ operator shifts a bit (or bits) to the right by the distance specified in the right operand and fills the left most bit by the sign bit.                        


A. left shift ("<<") B. right shift (">>")
C. both a and b D. none




35.

The unsigned __________ operator behave like the signed right shift operator. i.e. it shifts a bit (or bits) to the right.                        


A. right shift (">>>") B. left shift ("<<<")
C. right shift (">>") D. none




36.

An unsigned shift operation of a negative number generally returns the result in a ____________.                        


A. Negative number B. positive number
C. both a and b D. all the above




« prev

1

2

3

4

5

6

7

8

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on