| |
GeekInterview.com > Placement Papers > Cognizant
| Print | |
Question: Binary Numbers (5 Questions) In a certain code, the symbol for 0 (zero) is. * and that for 1 is $. The numb.:rs greater than 1 are to be written only by using the two symbols given above. The value of the symbol for 1 doubles itself every time it shifts one place to the left. (For example, 4 is written as $**; and; 3 is written as $$)
(6) 260 can be represented as: A) $****$** B) $$*$$$$$ C) $$*$$$$** D) $*****$**
(7) 60 / 17 can also be represented as: A) $$$*$*** / $$**$$ B) $$$***** / $$**$$ C) $*$$*$** / $$**$$ D) $$*$*$** / $$**$$
(8) $***$ can be represented as: A) $$$ / $* B) $*$**- $$ C) $*$*$- $$ D) $$$***$ - $$
(9) 30^2 can be represented as: A) ($$*$$ ) $*+ $*$*$$*$ B) ($$*$$ ) $* + $$****$ C) ( $$*$$ ) $$ + $*$**** D) ( $$*$$ ) $$ + $*$**$
(10) 11x 17 / 10 + 2 x 5 + 3 / 10 can also be represented as: A) $*$$* B) $*$$$ C) $$$*$ D) $**$$ how to solve these type of problems?
|
| May 05, 2007 05:21:52 |
#1 |
| Sourish |
Member Since: Visitor Total Comments: N/A |
RE: Binary Numbers (5 Questions)In a certain cod... |
| Mostly convert the binaries into decimals, thats formats you are familiar with. It will take time... So attempt last. |
| |
Back To Question | |