Order PDF of any content from our website with a little minor Fee to donate for hard work. Online MCQs are fully free but PDF books are paid. For details: contact whatsapp +923028700085 Important notes based PDF Books are available in very little price, starting from 500/-PKR; Order Now: contact whatsapp +923028700085

VU Past Papers – CS401 Assembly Language – Midterm MCQs Answers

  1. The first instruction of COM file must be at offset
    Answer: 0x0100
  2. Background color of screen for mov word [ES:0],0x0741
    Answer: Black
  3. iAPX88 architecture consists of registers
    Answer: 16
  4. Color of character printed by 0x0741
    Answer: White
  5. One screen location corresponds to
    Answer: Word
  6. When item pushed on decrementing stack
    Answer: First decremented then copied
  7. Lower byte of screen word contains
    Answer: Character code
  8. CMP AX,BX with AX=-2 BX=2 then JA
    Answer: Jump will not be taken
  9. 35 shifted left by 2 bits
    Answer: 140
  10. Extra bit after addition stored in
    Answer: Carry flag
  11. Memory to memory move allowed by
    Answer: String instructions
  12. 16 bit ÷ 8 bit quotient stored in
    Answer: AL
  13. Red component of background color bit
    Answer: Bit 6
  14. Example shown corresponds to
    Answer: SHR
  15. Instructions used to change processor behaviour
    Answer: Special instructions
  16. 8088 registers size
    Answer: 16 bits
  17. Decrements SP by 2 and pushes word
    Answer: PUSH

MIDTERM 2011 (Second MCQ Set)

  1. In ADC operands can be
    Answer: CF and two other operands
  2. After RET
    Answer: SP incremented by 2
  3. Extended ASCII has
    Answer: 256 characters
  4. Second byte in screen word holds
    Answer: Character color
  5. REP always
    Answer: Decrement CX by 1
  6. Routine executed after INT
    Answer: ISR
  7. iAPX88 architecture registers
    Answer: 16
  8. CMP AX,BX affects
    Answer: Flag register
  9. Address returned by addressing modes
    Answer: Effective address
  10. mov word [ES:DI],0720
    Answer: Clear next character
  11. mov byte [num1],5
    Answer: Illegal instruction
  12. MOVS source location
    Answer: DS:SI
  13. Character color of 0x0741
    Answer: White
  14. SAL AX,3 when AX=FFFF
    Answer: -8
  15. 35 shifted left by 2
    Answer: 140
  16. STOSB when DF=1
    Answer: SI decremented by 1
  17. After STOSW
    Answer: CX decremented by 2
  18. Memory address moves from
    Answer: Processor to memory
  19. Offset incomplete without
    Answer: Segment
  20. Code segment associated with
    Answer: IP

MIDTERM SPRING 2011

  1. After SAR instruction
    Answer: MSB remains as it is
  2. Screen dimensions
    Answer: 25 Rows and 80 Columns
  3. Rotate right operation
    Answer: Dropped bit goes to CF
  4. MOVSB affects
    Answer: No effect on flags
  5. iAPX88 supports memory access modes
    Answer: 7

MIDTERM FALL 2010 (Important)

  1. Stack is
    Answer: Data structure
  2. Physical stack address
    Answer: SS:SP
  3. Foreground/background parameter
    Answer: 4 bits
  4. Clear screen memory value
    Answer: 0720
  5. STOSB when DF set
    Answer: Decremented by 1
  6. Assembly language is
    Answer: Low level programming language
  7. 32-bit processor accumulator
    Answer: 32 bit
  8. RET instruction arguments
    Answer: No arguments
  9. RET recovers values from
    Answer: Stack
  10. ASCII conversion
    Answer: Add 0x30
  11. Stack clearing convention
    Answer: Callee
  12. JCXZ affects flag
    Answer: None
  13. mov word [ES:0],0741 prints
    Answer: A at top left
  14. CMP -2 and 2 with JA
    Answer: Jump not taken
  15. Video memory open instruction
    Answer:
mov ax,0xb800
mov es,ax
  1. 35 shift left by 2
    Answer: 140
  2. mov word [ES:0],1230 color
    Answer: Black
  3.  
Contents Copyrights Reserved By T4Tutorials