Worksheetsflip class 1
Total questions: 10
Worksheet time: 5mins
Find the result of following binary arithmetic: 11011011 + 00010010
11011011
11101101
10101011
11001100
Which logic gate is used to compare the sign of numbers in signed magnitude data?
AND
OR
XOR
NOR
Which operation will be performed ,If you are subtracting two numbers (signed magnitude), and their signs are identical
addition
subtraction
add with carry
subtract with borrow
Perform the arithmetic operation (+42) + (-13) in binary using signed 2's complement representation for negative numbers.
11100010
11100011
00101010
00011101
Perform the arithmetic operation (-42)-(-13) in binary using signed 2's complement representation for negative numbers.
11100011
00011101
11001100
11100010
If A-B operation is performed and a carry is generated. What it tells-
A<B
A>=B
A!=B
A==B
Which of the following addressing modes are suitable for program relocation at run time?
(i) Immediate
(ii) Base
(iii) Index
(iv) Direct
(i) (ii)
(ii) (iii)
(iii)(iv)
(i)(iv)
The PC contains the number 150 and address part of instruction contains 58. What will be the effective address for relative addressing mode.
208
209
210
211
For register addressing modes, how many registers can be specified by a K bit field
K
2^K
2K
2K+1
What is Effective address?
Address part of instruction + Content of CPU register
Content of PC
Address part of CPU + content of PC
Content of IR
