Infosys
Company
Category
Directions : Study the following information and answer the question given below:
In a certain code, the symbols for 0 (zero) is @ and for 1 is $. There are no other symbols for all other number greater than one. The numbers 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. Study the following examples:
‘0’ is written as @‘1’ is written as $
‘2’ is written as $ @‘3’ is written as $ $
‘4’ is written as $ @@ and so on
1. Which of the following represents 14?
(a) $@@@ (b) $$$@ (c) $$@@ (d) $$@$
Read Solution (Total 14)
-
- ans:b)$$$@
in binary 2=10;3=11
thus 14=1110
so 14=$$$@ - 10 years agoHelpfull: Yes(24) No(0)
- binary representation of 14 is 1110 so it will be $$$@
- 10 years agoHelpfull: Yes(4) No(0)
- In 14
1 shifts to left so the symbol gets doubles it becomes '$$'
for 4 it is $@@
so ans is:$$$@@ - 10 years agoHelpfull: Yes(2) No(0)
- c)$$@@
1=$
4=$@@
14=$$@@ - 10 years agoHelpfull: Yes(1) No(2)
- In binary notation we have only 0's and 1's
14 in binary notation will be 1110
given 1=$ and 0=@
so it is $$$@
- 10 years agoHelpfull: Yes(0) No(0)
- @ is 0 and $ is 1.
2 = $@ = 10 and 3 = $$ = 11.
So 14 in binary = 1110 = $$$@ - 10 years agoHelpfull: Yes(0) No(0)
- b is correct.. $$$@
in binary, 14 is written as 1110.. hence 1=$ and 0=0 - 10 years agoHelpfull: Yes(0) No(0)
- (b) $$$@
In binary notation we have only 0's and 1's
1 shifts to left so the symbol gets doubles it becomes '$$
in binary 2=10;3=11
thus 14=1110
so 14=$$$@ - 10 years agoHelpfull: Yes(0) No(0)
- it is simple binary coding
@ for 0
$ for 1
so 14=1100
ans is $$@@ - 10 years agoHelpfull: Yes(0) No(1)
- 0-->@
1--->$
in binary 14=1110
which is $$$@ - 10 years agoHelpfull: Yes(0) No(0)
- der r 2 ans
if binary then b
otherwise c - 10 years agoHelpfull: Yes(0) No(0)
- $=1
$@@=4
HENCE 14=$$@@ - 6 years agoHelpfull: Yes(0) No(0)
- c
1--$
4--$@@ - 6 years agoHelpfull: Yes(0) No(0)
- Answer is option b
- 4 years agoHelpfull: Yes(0) No(0)
Infosys Other Question