Question discussion

Direction: Read the information carefully and answer the questions that follow:In a certain code language, the symbol for ’0’ is ‘@’ and ‘1…

200900Medium 1 reply 8,347 views
34
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?
  • A##@@@#
  • B##@@##
  • C#@@@#@
  • D@@@##@
Answer not set

Discussion 1

0
CCommunity
##@@@# = 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.