Display Memory

Lecture 16: Display Memory

216 Questions192 MCQs19 Short Questions5 Long Questions
Showing 91100 of 216 Questions
Page 10 of 22
Q91❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
True or False: If we apply the bitwise `NOT` logical operation to a bit value of `1`, the result is also `1`.
💻 assembly Snippet
mov al, 11111111b
not al ; Inverts all bits (1s become 0s, 0s become 1s)
  1. A.true
  2. B.false
Q92❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Which type of shift operation is described by: 'A zero bit is inserted from the right, every bit moves one position to its left, and the most significant bit drops into the carry flag'?
💻 assembly Snippet
shl ax, 1 ; Identical to sal ax, 1
sal ax, 1 ; Shifts left, fills LSB with 0, MSB enters CF
  1. A.shl
  2. B.sal
  3. C.sar
  4. D.both shl and sal
Q93❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In a bitwise `XOR` (Exclusive OR) logical operation, the output bit is `1` if and only if:
💻 assembly Snippet
xor al, bl ; Truth table: 0^1=1, 1^0=1, 0^0=0, 1^1=0
  1. A.both inputs are same
  2. B.both inputs are different
  3. C.I and II
  4. D.none of the above
Q94❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
True or False: A Far Jump instruction (`JMP far`) is position-relative.
💻 assembly Snippet
jmp 0x1000:0x0200 ; Far jump explicitly sets CS = 0x1000 and IP = 0x0200
  1. A.true
  2. B.false
Q95❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In a bitwise `AND` logical operation, the output bit is `1` if and only if:
💻 assembly Snippet
and al, bl ; Truth table: 1 AND 1 = 1, all other cases = 0
  1. A.Both inputs are 0
  2. B.One is 0 and other is 1
  3. C.Both are 1
  4. D.None of the given
Q96❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
True or False: In 8088 assembly language, a Near Jump allows transferring program execution to any offset address within the current 64 KB code segment.
💻 assembly Snippet
jmp near target ; Near jump within current 64KB segment
  1. A.true
  2. B.false
Q97❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
An unconditional jump instruction (`JMP`) executes under which of the following conditions?
💻 assembly Snippet
jmp target_label ; Unconditionally branches to target_label
  1. A.Execute in every condition whether true or false
  2. B.If the condition is true
  3. C.If the condition is false
  4. D.None of the given
Q98❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Which type of rotation operation is described by: 'Every bit moves one position to the right, the bit dropped from the right is inserted at the left MSB, and this bit is also copied into the Carry Flag'?
💻 assembly Snippet
ror ax, 1 ; Rotates bits right: LSB moves to MSB and is copied to CF
  1. A.ROL
  2. B.RCR
  3. C.RCL
  4. D.None of the given
Q99❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
True or False: In a `JA` (Jump if Above) instruction following a `CMP`, a jump is NOT taken if the unsigned destination operand is larger than the unsigned source operand.
💻 assembly Snippet
cmp ax, bx
ja label ; Jumps if AX > BX (unsigned)
  1. A.True
  2. B.False
Q100❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
True or False: In x86 assembly language, the shift instructions `SHL` (Shift Logical Left) and `SAL` (Shift Arithmetic Left) perform the exact same operation and assemble to identical opcodes.
💻 assembly Snippet
shl ax, 1 ; Identical to sal ax, 1
sal ax, 1 ; Identical opcode and behavior
  1. A.True
  2. B.False