## Question 3

When a certain integer value is converted to the binary representation in which a negative value is expressed as its two’s omplement, the lowest two bits are “11.” Which of the following statements is true for the remainder that is produced when that integer value, in the decimal representation, is divided by 4? Here, assume that the decimal portion of the absolute value of the quotient of the division operation has been truncated.

a) The remainder is 3 if the integer value is positive.
b) The remainder is 3 if the integer value is negative.
c) The remainder is -3 if the integer value is negative.
d) The remainder is 0, regardless of whether the integer value is positive or negative.

Advertisements

## Question 6

Q6. How many shortest paths are there travelling along the lines from point A to point B in the diagram? In this case, the vertical lengths of all the blocks are equal, and the horizontal lengths of all the blocks are also equal. a) 6
b) 10
c) 12
d) 36

## Question 5

Which of the following is the absolute value of the negative number 10101110, expressed as two’s complement?

a) 01010000
b) 01010001
c) 01010010
d) 01010011

## Question 4

How many bytes are needed in order to represent a signed six-digit decimal number as a packed decimal?

a) 3
b) 4
c) 6
d) 7

## Question 3

When a certain integer value is converted to the binary representation in which a
negative value is expressed as its two’s complement, the lowest two bits are “11.”
Which of the following statements is true for the remainder that is produced when that
integer value, in the decimal representation, is divided by 4? Here, assume that the
decimal portion of the absolute value of the quotient of the division operation has been
truncated.

a) The remainder is 3 if the integer value is positive.
b) The remainder is 3 if the integer value is negative.
c) The remainder is −3 if the integer value is negative.
d) The remainder is 0, regardless of whether the integer value is positive or negative.

## Question 2

In which number system does the following computation hold?
131-45=53

a) 6
b) 7
c) 8
d) 9

## Question 1

Which of the following is equal to hexadecimal number 0.75?

a)2-2+2-5+2-7+2-8
b)2-2+2-3+2-4+2-6+2-8
c)2-1+2-2
d)2-1+2-2+2-3+2-4+2-6