Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CORLANG Week 3 Quiz

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.
Integers that may either be 8 bits or 16 bits in length and are viewed as positive numbers only.
a)
Unsigned Integer
b)
Signed Integer.
c)
Binary-Coded Decimal (BCD)
d)
Packed BCD
2.
Integers that are viewed as either positive or negative numbers. Because of this, the most significant bit is viewed as a sign bit (0 for positive and 1 for negative).
a)
Unsigned Integer
b)
Signed Integer.
c)
Binary-Coded Decimal (BCD)
d)
Packed BCD
3.
Each decimal digit is represented in one nibble
a)
Unsigned Integer
b)
Signed Integer.
c)
Binary-Coded Decimal (BCD)
d)
Packed BCD
4.
Two BCD digits that are packed into one byte.
a)
Unsigned Integer
b)
Signed Integer.
c)
Binary-Coded Decimal (BCD)
d)
Packed BCD
5.
Two BCD digits that are packed into one byte.
a)
Unsigned Integer
b)
Signed Integer.
c)
Binary-Coded Decimal (BCD)
d)
Packed BCD
6.
The instruction that adds the source operand to the destination operand and then places the result in the destination operand.
a)
ADD
b)
ADC
c)
INC
d)
DEC
7.
One of the uses of this instruction is in the implementation of 32-bit addition (adding two 32-bit numbers).
a)
ADD
b)
ADC
c)
INC
d)
DEC
8.
The instruction that adds 1 to the destination operand.
a)
ADD
b)
ADC
c)
INC
d)
DEC
9.
The instruction that adjusts the result of a previous addition of two valid packed decimal operands.
a)
ADD
b)
ADC
c)
INC
d)
DAA
10.
The instruction that adjusts the result of a previous addition of two valid unpacked decimal operands.
a)
ADD
b)
ADC
c)
AAA
d)
DAA
11.
The instruction that subtracts the source operand from the destination operand and the places the result in the destination operand.
a)
SUB
b)
SBB
c)
MINUS
d)
DED
12.
The instruction that subtracts the source operand and the carry flag from the destination operand and then places the result in the destination operand.
a)
SUB
b)
SBB
c)
MINUS
d)
DED
13.
The instruction that subtracts 1 from the destination operand.
a)
DEC
b)
SBB
c)
SUB
d)
DED
14.
The instruction that adjusts the result of a previous subtraction of two valid packed decimal operands.
a)
SAD
b)
DAS
c)
SUB
d)
DED
15.
The instruction that adjusts the result of a previous subtraction of two valid unpacked decimal operands.
a)
ASC
b)
AAS
c)
ASB
d)
ASD