CS401 Computer Architecture and Assembly Language Programming Quiz No.2 Solution Spring Semester 2013



CS401 - Computer Architecture and Assembly Language Programming Quiz-02

open date Jun 17, 2013 12:00 AM

close date Jun 18, 2013 11:59 PM

total marks 10

please share ur current quiz here...

which type of rotation it is "The carry flag is inserted from the left, every bit moves one position to the right, and the right most bit is dropped in the carry flag. "
Select correct option:

RCR
ROL
RCL
ROR

The simplest form of addressing, in which the operand value is present in instruction is
Select correct option:
Direct Addressing
Indirect Addressing
Immediate Addressing
None of them


mov [bx+si], ax is an example of Indexed Register Indirect.
Select correct option:

True
False

mov [1234],ax is an example of
Select correct option:
Direct addressing
Base register indirect
Base+index
None of the given


This JCXZ jump is taken whenever counter resets.
Select correct option:

Yes
No

__ jump is not position relative but is absolute
Select correct option:

Near
Short
Far
None of the above

Size Mismatch Error is a syntax error
Select correct option:
False
True

The effective address will be either a main memory address or a register.
Select correct option:
True
False

we can not Subrtace index register from the base register( bx-si )in assemlby language
Select correct option:

True
False

ANY ONE ELSE /

All the addressing mechanisms in iAPX88 return a number called ___________ address.
Select correct option:

EFFICTIVE address

physical address

direct

Which one of the following is a illegal instruction
Select correct option:

MOV AX,BX

MOV AX,65

MOV ax,[bx+bp]

none



we can not Subrtace index register from the base register( bx-si )in assemlby language

true

false

The effective address will be either a main memory address or a register.

true

false

CX register mostly use a

flag register

destination register

baase register

COUNTER



The FLAG register in Intel x86 microprocessors that contains the current state of the processor
Select correct option:

True

false



The Jump command that doesn’t depends on FLAG register is
Select correct option:

Sponsored Links

JCXZ

JO

JINE

JP

when a 32 bit number is divided by a 16 bit number, the remainder is of

4bit

8bit

32bit

SHL and SAL are same

true

false


The simplest form of addressing, in which the operand value is present in instruction is
Select correct option:

direct addressing

indirect addressing

The simplest form of addressing, in which the operand value is present in instruction is
Select correct option:
Direct Addressing
Indirect Addressing
Immediate Addressing
None of them

Register to Register Operation is not allowed
Select correct option:

True
False


we can not add two base register i.e. (bx+bp) or cant use in an instruction
Select correct option:

True
False


The jump is taken if the last arithmetic operation changed the sign unexpectedly.
Select correct option:

JO
JNO
JNZ
JZ

unconditional jump can be
Select correct option:
near
short
far
all of the given

SI or DI is used we name the method.
Select correct option:

Based Addressing
Indexed Addressing
Stack Addressing
None of the above

Which of the following is not a valid instruction in assembly language?
Select correct option:

MOV AX, 55
MOV AX, BX
MOV CS, 0xb800
MOV BX, AX


This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken
Select correct option:

JP
JPE
JNP
both JP and JPE

BP by default associated with
Select correct option:
CS
IP
SS
SP


Question # 1 of 10 ( Start time: 04:12:37 PM ) Total Marks: 1
BP by default associated with
Select correct option:
CS
IP
SS
SP

In a virtual memory system, the effective address is a main memory address.
Select correct option:
True
False

Which type of Rotation it is "Every bit moves one position to the right and the bit dropped from the right is inserted at the eft. This bit is also copied into the carry flag."
Select correct option:
ROL
RCR
RCL
None of the given

The most basic difference between Conditional and Unconditional jumping is
Select correct option:
arithmetic operations
consideration of flags
address
none of the above

In direct addressing the memory address given in the instruction is
Select correct option:
Fixed
Variable
Register
Empty

__ jump is not position relative but is absolute
Select correct option:
Near
Short
Far
None of the above


The simplest form of addressing, in which the operand value is present in instruction is
Select correct option:
Direct Addressing
Indirect Addressing
Immediate Addressing
None of them


By default CS is associated with
Select correct option:
SS
BP
CX
IP


The stack pointer contains the address of the word that is currently on__:
Select correct option:
Top of the stack
Down of the stack
Top and Down both
None of the above

The stack pointer contains the address of the word that is currently on__:
Select correct option:
Top of the stack
Down of the stack
Top and Down both
None of the above

Quiz: NEXT


Constant is never use as a
Select correct option:
Source
Destination
Both as source and destination
None of the given

Register to memory operation is not allowed
Select correct option:
True
False

Register to memory operation is not allowed
Select correct option:
True
False


The Jump command that doesnot depends on FLAG register is
Select correct option:
JCXZ
JO
JNE
JP


__ jump is not position relative but is absolute
Select correct option:
Near
Short
Far
None of the above

far


Memory to Memory operation is allowed
Select correct option:
True
False

Which register holds the item that is to be written into the stack or read out of the stack:
Select correct option:
SP
IP
BX
DX

SP

?

The process through which the segment register can be explicitly specified is known as
Select correct option:
Segment Addressing
Segment Override Prefix
Segment Indexing
None of the above

In JZ jump is not taken if the last arithmetic operation produced a zero in its destination.
Select correct option:
True
False

we can not add two base register i.e. (bx+bp) or cant use in an instruction
Select correct option:
True
False

Physical address calculation depends on
Select correct option:
Base address
Effective address
Offset Address
None of the above

The other directive is “define word” or “dw” with the same syntax as “db” but reserving a whole word of __ bits instead of a byte.


Select correct option:
32
8
16
64

SI or DI is used we name the method.
Select correct option:
Based Addressing
Indexed Addressing
Stack Addressing

None of the above

FLAG register in Intel x86 microprocessors that contains the current state of the processor
Select correct option:

True
False

The addressing method that can be used to access a two dimensional array is.
Select correct option:

Base + Index + Offset addressing
Base + Index addressing

we can not add two base register i.e. (bx+bp) or cant use in an instruction
Select correct option:

True
False

Which type of Rotation it is "Every bit moves one position to the right and the bit dropped from the right is inserted at the eft. This bit is also copied into the carry flag."
Select correct option:

ROL
RCR
RCL
None of the given