Computer Organization & Architecture (3140707) MCQs

MCQs of Computer Data Representation

Showing 31 to 40 out of 50 Questions
31.
For a signed binary numbers, which operation is generally used?
(a) Rotate
(b) Circular Shift
(c) Logical Shift
(d) Arithmetic Shift
Answer:

Option (d)

32.
Which shift operation multiplies a signed binary number by 2?
(a) ashr
(b) ashl
(c) shr
(d) shl
Answer:

Option (b)

33.
Which shift operation divides a signed binary number by 2?
(a) ashr
(b) ashl
(c) shr
(d) shl
Answer:

Option (a)

34.
If S = 1 in 4-bit combinational circuit shifter, then which operation is performed?
(a) Shift right
(b) No shift
(c) Shift left
(d) Both shifts
Answer:

Option (c)

35.
What should be the value of S3 S2 to select arithmetic operations in ALU?
(a) 11
(b) 10
(c) 01
(d) 00
Answer:

Option (d)

36.
If S3 S2 = 10, then which operation is performed in ALU?
(a) Shift right
(b) Shift left
(c) Logic
(d) Arithmetic
Answer:

Option (a)

37.
In which of the following operation Cin bit can be X (Don't care)?
(a) Transfer
(b) Complement
(c) Increment
(d) Addition
Answer:

Option (b)

38.
To perform XOR operation in ALU, what should be the value of S3 S2 S1 S0?
(a) 0100
(b) 0010
(c) 0110
(d) 1001
Answer:

Option (c)

39.
To perform AND operation in ALU, what should be the value of S3 S2 S1 S0?
(a) 0100
(b) 0010
(c) 0110
(d) 1001
Answer:

Option (a)

40.
To perform OR operation in ALU, what should be the value of S3 S2 S1 S0?
(a) 0100
(b) 1010
(c) 0110
(d) 0101
Answer:

Option (d)

Showing 31 to 40 out of 50 Questions