In a certain code language, the symbol for ’0’ is ‘@’ and ‘1’ is ‘#’. There are no other symbols for numbers greater than one. The numbers greater than one are to be written only by using the two symbols given above.
Direction: Read the information carefully and answer the questions that follow:
In a certain code language, the symbol for ’0’ is ‘@’ and ‘1’ is ‘#’. There are no other symbols for numbers greater than one. The numbers greater than one are to be written only by using the two symbols given above.
0 is written as @,
1 is written as #,
2 is written as #@,
3 is written as ##,
4 is written as #@@ and so on.Which of the following represents 34?
1). ##@@@#
2). ##@@##
3). #@@@#@
4). @@@##@
This Question has 1 answers.
##@@@# = 110001
= (1 x 2?) + (1 x 2?) + (0 x 2³) + (0 x 2²) + (0 x 2¹) + (1 x 20)
= 32 + 16 + 0 + 0 + 0 + 1
= 49
##@@## = 110011
= ((1 x 2?) + (1 x 2?) + (0 x 2³) + (0 x 2²) + (1 x 2¹) + (1 x 20$)
= 32 + 16 + 0 + 0+ 2 + 1
= 51
#@@@#@ = 100010
= (1 x 2?) + (0 x 2?) + (0 x 2³) + (0 x 2²) + (1 x 2¹) + (0 x 20$)
= 32 + 0 + 0 + 0 + 2 + 0
= 34
@@@##@ = 000110
= (0 x 2?) + (0 x 2?) + (0 x 2³) + (1 x 2²) + (1 x 2¹) + (1 x 20)
= 0 + 0 + 0 + 4 + 2 + 0
= 6
@##@@# = 011001
= (0 x 2?) + (1 x 2?) + (1 x 2³) + (0 x 2²) + (0 x 2¹) + (1 x 20)
= 0 + 16 + 8 + 0 + 0 + 1
= 25
So, #@@@#@ is the option which represents the value 34.Similar Questions
- A @ B means `A is not smaller than B? A # B means ?A is neither smaller than nor equal to B? A % B means ?A is neither smaller than nor greater than B? A $ B means ?A is not greater than B? A * B means ?A is neither greater than nor equal to B?
- There are three taps A, B and C in a tank. They can fill the tank in 25 hrs, 20 hrs and 10 hrs respectively. At first all of them are opened simultaneously. Then after 1 hrs, tap C is closed and tap A and B are kept running. After the 4th hour, tap B is a
- Directions: In a family of eight members, there are two married couples and a widow. B, an engineer is married to a doctor. D, an architect is the wife of C. F, a student is the only child of D. H is the son of G and his sister E is the niece of the manag
- Directions: In a family of eight members, there are two married couples and a widow. B, an engineer is married to a doctor. D, an architect is the wife of C. F, a student is the only child of D. H is the son of G and his sister E is the niece of the manag
- A and B can complete a piece of work in 80 and 120 days respectively. They together start the work but A left after 20 days. After another 12 days C joined B and now they complete the work in 28 more days. In how many days C can complete the work, working