1
1

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.

Add Answer / Comment

Captcha Image