CS401-Computer Architecture & Assembly Language | Mid-Term Grand Quiz Fall 2021

 

MID-TERM GRAND QUIZ
 FALL 2020 (Paper 1)

Question No 1:
Which of the (Raise For Success) following operation is used to clear any specific bit in a binary number?
  • AND
  • OR
  • XOR
  • NOT Correct

Question No 2:
Memory address (Raise For Success) always goes from _______.
  • processor to memory Correct
  • memory to processor
  • memory to memory
  • processor to register

Question No 3:
_______ is a (Raise For Success) special prefix that is used to repeat the block instructions.
  • REPEAT
  • REPB
  • REP Correct
  • RPT

Question No 4:
Which o the following (Raise For Success) statement is used to clear the value of AX register?
  • XOR AX. AX Correct
  • AND AX. AX
  • XOR AX. 0
  • NOT AX



Question No 5:
The jump is (Raise For Success) taken if the last arithmetic operation has changed the sign unexpectedly.
  • JO Correct
  • JNO
  • JNZ
  • JZ

Question No 6:
In case of a (Raise For Success) downward compatible mechanism, the codes written for 8088 are_______ for 386 processor.
  • Control
  • Valid Correct
  • Invalid
  • Alter

Question No 7:
Which bit of (Raise For Success) the attribute byte represents the red component of foreground color?
  • 2 Correct
  • 5
  • 4
  • 3

Question No 8:
Flags register is (Raise For Success) a special register in every architecture. It is also known as _______.
  • Carry Flag Correct
  • accumulator register
  • Program Status Word
  • special register

Question No 9:
The top of (Raise For Success) stack is contained in ________ register.
  • SP Correct
  • BP
  • AX
  • BX

Question No 10:
Which of the (Raise For Success) following is the interrupt number for NMI?
  • INT 0
  • INT 1
  • INT 2 Correct
  • INT 3



Question No 11:
"Far" Jump is (Raise For Success) not position relative but is _________.
  • Memory Dependent
  • Absolute Correct
  • Temporary
  • Indirect

Question No 12:
_______ is used (Raise For Success) for temporary diversion.
  • Call Correct
  • Jump
  • Short jump
  • Return

Question No 13:
When the control (Raise For Success) is transferred to a subroutine?
  • After the arguments are popped out from the stack
  • When the instruction pointer is not available
  • After the arguments are pushed on the stack Correct
  • When the return address is recovered

Question No 14:
When a 32 (Raise For Success) bit number is divided by a 16 bit number. the remainder is of
  • 4 bits Correct
  • 8 bits
  • 16 bits
  • 32 bits

Question No 15:
In ______ every bit moves one position to the right and the (Raise For Success) bit dropped from the right is inserted at the left and copied into the carry flag?
  • Rotate Left (ROL)
  • Rotate through Carry Right (RCR)
  • Rotate through Carry Left (RCL)
  • Rotate Right (ROP) Correct


Question No 16:
There are ______ registers (Raise For Success) in iAPX88 architecture that can hold address of data.
  • 1
  • 2
  • 3
  • 4 Correct

Question No 17:
To convert the case of a character, we add (Raise For Success) or subtract _______ from its ASCII code.
  • 0x10
  • 0x20 Correct
  • 0x30
  • 0x41

Question No 18:

Data bus (Raise For Success) is _______.
  • Uni-directional
  • Bi-directional Correct
  • 1/2-directional
  • Non-directional

Question No 19:

In the instruction "mov word [es:160],0x1230",30 represents (Raise For Success) the character _______.
  • A
  • B
  • 0 Correct
  • 1

Question No 20:
Operand of POP (Raise For Success) is called _______ since data is moving from the stack to the operand.
  • source
  • destination Correct
  • increment
  • decrement

Question No 21:
REPE or REPNE (Raise For Success) are used with the ________ instruction.
  • SCAS Correct
  • MOVS
  • ADO
  • CALL

Question No 22:
______ transfers the (Raise For Success) word at the top of stack (pointed to by SP) to the destination operand and increments SP by two to point to the new top of stack.
  • PUSH Correct
  • POP
  • CALL
  • RET n

Question No 23:
REPE repeats (Raise For Success) a strong instruction while the _______ flag is set.
  • carry
  • zero Correct
  • parity
  • direction

Question No 24:
Perform a left (Raise For Success) shift on 9C40, and choose the correct option among the following?
  • 3881
  • 3882
  • 1388
  • 3880 Correct

Question No 25:
In a video (Raise For Success) memory, each screen location corresponds to _______ byte(s).

  • one
  • two Correct
  • four
  • eight



Question No 26:
In MUL (Raise For Success) instruction, if the source operand is a byte, then it is multiplied with ______ register.

  • AH
  • AL Correct
  • BH
  • BL

Question No 27:
The base pointer (Raise For Success) accesses local variables using ______ offsets.
  • positive
  • incremental Correct
  • fixed
  • negative

Question No 28:
In which of the (Raise For Success) following addressing, both registers are not constant?
  • Index + offset Correct
  • Base + Index
  • Base + offset
  • Base + offset + Index

Question No 29:
Which of the (Raise For Success) following is the most illegal instruction?
  • Mov al, [num1]
  • Mov al, ax
  • Mov ax, [num1]
  • Mov ax, al Correct

Question No 30:
Our computer (Raise For Success) screen is like a 2-D array having. _______ rows and _______ columns.
  • 25, 40
  • 25, 80
  • 80, 25 Correct
  • 40, 25

Previous Post Next Post