Ch 04: Bit Manipulation and Shifts

198 Questions198 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS401 - Computer Architecture and Assembly Language Programming Examination Practice

Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 71 โ€“ 80 of 198 Questions
Page 8 of 20
Q71
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Segmented Memory Model (8088 1 MB Maximum Memory Capacity)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In real mode, what is the maximum physical memory capacity that the Intel iAPX88 (8088) processor can access with its 20-bit address bus?
  1. A.1 MB
  2. B.64 KB
  3. C.4 GB
  4. D.16 MB
Q72
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Segmented Memory Model (20-Bit Physical Address Bus)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The maximum physical memory capacity that the Intel iAPX88 (8088) processor can directly address is 1 MB, which is accessed using a bus width of __________.
  1. A.18 bits
  2. B.20 bits
  3. C.16 bits
  4. D.2 bits
Q73
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Segmented Memory Model (20-Bit Physical Address Representation)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the statement 'Address 1DED0 where opcode B80500 is placed', 0x1DED0 represents a 20-bit __________ address in RAM.
  1. A.physical memory
  2. B.memory
  3. C.effective
  4. D.None of the Given
Q74
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Segmented Memory Model (Physical Address Calculation Mechanics)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
A 20-bit physical address is formed by adding a 16-bit Segment Address shifted left by 4 bits (lower 4 bits zero) to a 16-bit Offset Address with its __________ 4 bits padded with zero.
๐Ÿ’ป assembly Snippet
; Physical Address = (Segment * 16) + Offset
; Segment (0x1000 * 0x10) -> 0x10000 (lower 4 bits 0)
; Offset (0x0200)         -> 0x00200 (upper 4 bits 0)
; Physical Address        =  0x10200
  1. A.Middle
  2. B.lower
  3. C.Top
  4. D.upper
Q75
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Segmented Memory Model (Address Wraparound Phenomenon)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When calculating a 20-bit physical address in 8088 real mode, if the addition generates a 21st carry bit, that carry bit is discarded, causing memory access to loop back to 0x00000. This phenomenon is called address __________.
๐Ÿ’ป assembly Snippet
; Segment 0xFFFF, Offset 0x0010
; Base = 0xFFFF0, Offset = 0x0010
; Sum  = 0x100000 -> 21st bit dropped -> Physical Address = 0x00000 (Wraparound)
  1. A.wraparound
  2. B.mode
  3. C.ping
  4. D.error
Q76
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Segmented Memory Model (Paragraph Boundary Alignment)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 segmented memory architecture, segments can only begin at physical address multiples of 16 bytes, which are called __________ boundaries.
  1. A.segment
  2. B.paragraph
  3. C.Cell
  4. D.RAM
Q77
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Segmented Memory Model (Overlapping Segments / Tiny Memory Model)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a DOS program (such as a `.COM` executable), if Code Segment (`CS`), Data Segment (`DS`), Stack Segment (`SS`), and Extra Segment (`ES`) all hold the exact same segment base value, this memory structure is referred to as __________.
๐Ÿ’ป assembly Snippet
; All segment registers initialized to the same segment
mov ax, cs
mov ds, ax
mov es, ax
mov ss, ax
Q78
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Segmented Memory Model (Overlapping Segments)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a program where `CS`, `DS`, `SS`, and `ES` all contain the exact same segment base value, this condition is called __________.
  1. A.equal memory
  2. B.overlapping segments
  3. C.segments hiding
  4. D.overlapping SI
Q79
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Addressing Modes (Register Addressing Mode)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the assembly instruction `mov ax, bx`, which addressing mode is utilized?
๐Ÿ’ป assembly Snippet
mov ax, bx ; Both operands are registers
  1. A.Immediate
  2. B.Indirect
  3. C.Direct
  4. D.Register
Q80
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 4๐Ÿท๏ธ 4.1. Addressing Modes (Based Register Indirect Addressing)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the assembly instruction `mov ax, [bx]`, which addressing mode is utilized?
๐Ÿ’ป assembly Snippet
mov ax, [bx] ; Memory address offset is held in base register BX
  1. A.Based Register Indirect
  2. B.Indirect
  3. C.Base Indirect
  4. D.Immediate