CS401 Computer Architecture and Assembly Language Online Solved Quizzes/MCQ's File No 2


In the operation of ___________
instruction, the most significant bit is
copied to the carry flag and is
inserted from the right, causing every
bit to move one position to the left .
Select correct option :

Vukwl- Virtual Education Solution

Rotate Left ( ROL)
Rotate Through Carry Right ( RCR)
Rotate Through Carry Left (RCL )
Rotate Right (ROR )

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

Assembly languague is not a low level language.
true
False
In JA jump is not taken after a CMP if the unsigned destination is larger than the unsigned source.
True
False

Group of bits processor uses to inform memory which element to read/write is collectively known as
Control bus
Data bus
Address bus
RAM


Memory to Memory operation is allowed
True
False

Far jump is position relative.
Select correct option:
True
False


The _______________ operation is
about shifting every bit one place to
the right with a copy of the most
significant bit left at the most
significant place . The bit dropped from
the right is caught in the carry basket .
Select correct option :
Shift Logical Left (SHL )
Shift Logical Right ( SHR )
Shift Arithmetic Right ( SAR )
Shift Arithmetic Left (SAL )
Question # 4 of 10 ( Start time:
09 :57 :25 PM ) Total Marks: 1
All the addressing mechanisms in
iAPX 88 return a number called
_____________ address .

Vukwl- Virtual Education Solution

Select correct option :
Effective
Physical
Direct



CX register is mostly used as a
Select correct option :
counter register
flag register
base register
desination register

In interrupt masking , We use ________
to get control from the program
without letting the program know about
it.
Select correct option :
IRQ 0
IRQ 1
IRQ 2
IRQ 3
In JA jump is not taken after a CMP if the unsigned destination is larger than the unsigned source.
Select correct option:
True
False


In And the out put only one if
Select correct option:
Both inputs are 0
One is 0 and other is 1
Both are 1
None of the given

Data bus is ___________ .
Select correct option :
Uni - directional
Bi- directional
multi - directional
None of the given

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 )

Vukwl- Virtual Education Solution


Stack is a data structure that behaves ____________manner. Select correct option:
LIFO
FIFO
Both LIFO and FIFO
None of the given


The Operation of pop ax is AX <-- [SP] SP <-- SP-2
Select correct option:
True
False     (69)

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


In XOR operation the output is 1 if
Select correct option:
both inputs are same
both inputs are differents
I and II
none of the above


__________ transfers the word at the current top of stack (pointed to by SP) to the destination operand and then increments SP by two to point to the new top of stack. Select correct option:

PUSH
POP
CALL
None of the given



Conditional jumps can only
Select correct option:
far
short
near
All of the given



Vukwl- Virtual Education Solution



Select correct option :
The msb is replaced by a 0
The msb retains its original value
The msb is replaced by 1
The msb is replaced by the value of CF

All the addressing mechanisms in
iAPX 88 return a number called
_____________ address .

Vukwl- Virtual Education Solution

Select correct option :
Effective
Physical
Direct
Base

its if BL contains 00000101 then after
a Single Right Shift , BL will contain
Select correct option :
00000011
00000010
10000011
10000010

The mechanism used to drop carry for
making the calculated address valid is
known as :
Select correct option :
Carry Overload
Overflow
Address Wraparound
Segment Overlapping

A complete _______ is called a pass
over the array
Select correct option :
jump
iteration
comparison
condition

Physical address calculation depends on
Select correct option :
Base address
Effective address
Offset Address
Segment Address

In ______ operation, a carry flag is
inserted from the left moving every
bit one position to the right , with the
right most bit is dropped in the carry
flag" .
Select correct option :
RCR
ROL
RCL
ROR

Vukwl- Virtual Education Solution


On executing INT 0 x 21 service 0 x 3 D , if
file is successfully opened then
Select correct option :
CF will contain 1
CF will contain 0
ZF will contain 1
ZF will contain 0


As compared to _________ ,
___________ provides more cooked
services.
Select correct option :
BIOS, DOS
DOS,OS
DOS, BIOS
OS, DOS

Which of the following registers hold
the page number for using the write
string service of INT 10 ?
Select correct option :
AH
BL
CL
BH

In multitasking environment , which of
the following structure is used to
maintain the ordering of active PCBs ?
Select correct option :
Array
Register
Linked List
Stack

Which of the following registers hold
the page number for using the write
string service of INT 10 ?
Select correct option :
AH
BL
CL
BH

While dealing with a stack , can a stack
pointer cross the origin of the stack .
Yes
No
The attribute byte uses the _____ color
model for the foreground and the
background.
CMYK
RGB
Black n white

To access the arguments from the
stack, the immediate idea that strikes
is to ______ them off the stack .
PUSH
POP
ADD
INSERT

The direction of movement is
controlled with the
SS is bydefult associated with
BP
IP
SP
BP


Register to constant data movement is
allowed ?
No
Yes




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 /




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


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


The first 16 - bit processor produced by
“ Intel ” was 8085
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




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 x 86
microprocessors that contains the
current state of the processor
Select correct option :
True
False

 In the instruction "CMP AX,BX" the contents of
O   AX are changed

BX are changed 
CX are changed
Flag register are changed                  

All the addressing mechanisms iniAPX88 return a number called ______ address.
Effective                
faulty
indirect
O   direct

The execution of the instruction "mov word [ES: DI], 0x0720"
will clear next character on screen                  
will print "20" at top left of the screen
will print "20" at top right of the screen
will move DI at location 0720 on the screen


"mov byte [num1],5" is _____instruction. 
      O legal 
illegal
stack based
memory indirect


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

All the addressing mechanisms in
iAPX 88 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


IRET returns on the basis of ________ and __________ .
Select correct option :
CS , IP
DS, IP
CS , SS
IP, SP

8088 is a 16bit processor with its accumulator and all registers of __________. 
32 bits 
6 bits

16 bits               
64 bits



decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack

PUSH               
POP
CALL
RET  

After the execution of instruction "RET"
SP is incremented by 2                  

SP is decremented by 2 O SP is incremented by 1 O SP is decremented by 1


The extended ASCII has
64 characters
128 characters                
256 characters O 502 characters


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 x 86
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 :
JCXZ
JO
JINE
JP


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


SHL and SAL are same
true
false

The purpose of MOVS instruction is to
move a memory location to register
Select correct option :
True
False

Loading a segment register with an
immediate operand is not allowed in
the 8088 architecture. Select correct
option :
True
False

An element is pushed on the stack SP is
decremented by ______ as the 8088
stack works on word sized elements .
Select correct option :
Three
Two
Four
Five

There are just ______ block processing
instructions in 8088.
Select correct option :
6
5
4
3

MUL ( multiply ) Instruction performs an
unsigned multiplication of the source
operand and the __________.
Select correct option :
Accumulator
Carry
Word
Base





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


Instruction Pointer holds the address of the  
 Previous instruction to be executed
 Current instruction
 Next instruction to be executed
 None of the given


In the instruction MOV AX, 5 the number of operands are
1
2                   

3 
4


The maximum parameters a subroutine can receive (with the help of registers) are
6
7                  
8
9


In assembly the CX register is used normally as a ______________register.

source
counter                   
index

pointer


Register whose each bit specify a different meaning is 
 Accumulator Register                                        
 Pointer Register 
 Index register 
 Flag register



Bydefault CS is associated with  
 SS
 BP
 CX
 IP  


  

Register are storage cell  
 Outside the processor
 Both inside and outside the processor
 Inside the processor
 None of the given               \



Register to Register Operation is not allowed  
 True
 False

The operation of CMP is to Subtract source from destination
 True
 False

Size Mismatch Error is a syntax error
False
True

Unconditional jump
Execute in every condition whether true or false
If the condition is true
If the condition is false
None of the given

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."
ROL
RCR
RCL
None of the given

Assembly languague is not a low level language.
true
False
In JA jump is not taken after a CMP if the unsigned destination is larger than the unsigned source.
True
False

Group of bits processor uses to inform memory which element to read/write is collectively known as
Control bus
Data bus
Address bus
RAM


Memory to Memory operation is allowed
True
False

90 is the op-code of
Do nothing
Add
Subtract
Multiplication

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


Intel follow
Littel endian
Big endian
Both littel endian and big endian
None of the given


SHL and SAL are same
True
False

The first 16-bit processor produced by "Intel" was 8085
True
False


The first 16-bit processor produced by "Intel" was 8085
True
False


The extension of assembly languague file is
.doc
.com
.lst
.asm


When a large number is subtracted from a smaller number, a borrow is needed; in this case which flag will be set
ZF
CF
SF
OF


All the addressing mechanisms in iAPX88 return a number called _____________ address.

Effective address
Physical address
Direct address
None of the given

Which type of shifting is "Inserts a zero from the left and moves every bit one position to the right and copies the rightmost bit in the carry flag."
SHL
SAL
SAR
None of the given

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

Which mathematical operation is dominant during the execution of SCAS instruction 
Division

Multiplication
Addition
Subtraction                



After the execution of REP instruction CX will be decremented then which of the following flags will be affected?

CF
OF
DF

No flags will be affected                  



Registers are also called scratch pad ram
True
False


The basic function of register is to?
Hold the operand
Hold the operator
Hold both the operator and operand
None of the given


The jump is taken if the last arithmetic operation changed the sign unexpectedly.
JO
JNO
JNZ
JZ


In JA jump is not taken after a CMP if the unsigned destination is larger than the unsigned source.
True
False

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. "
RCR
ROL
RCL
ROR


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. "
RCR
ROL
RCL
ROR
BP by default associated with
Select correct option:
CS
IP
SS
SP
 
In direct addressing the memory address given in the instruction is
Select correct option:
Fixed
Variable
Register
Empty

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

This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken
JP
JPE
JNP
both JP and JPE

In direct addressing the memory address given in the instruction is

When a large number is subtracted from a smaller number, a borrow is needed; in this case which flag will be set
ZF
CF
SF
OF

SHL and SAL are same
True
False


Group of bits processor uses to inform memory which element to read/write is collectively known as
Select correct option:
Control bus
Data bus
Address bus
RAM

The basic function of register is to
Select correct option:
Hold the operand
Hold the operator
Hold both the operator and operand
None of the given

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
mov [bx+si], ax is an example of Indexed Register Indirect.
Select correct option:
True
False

Register whose each bit specify a different meaning is
Select correct option:
Accumulator Register
Pointer Register
Index register
Flag register

Motorola follow
Select correct option:
Big endian
Litten endain
Both of them
None of the given
we can not Subrtace index register from the base register( bx-si )in assemlby language   
True
False

Group of bits processor uses to inform memory which element to read/write is collectively known as
Control bus
Data bus
Address bus
RAM




The first instruction of "COM" file must be at offset: 
► 0x0010

► 0x0100         
 0x1000
 0x0000



The execution of the instruction "mov word [ES : 0], 0x0741" will print character "A" on screen , background color of the screen will be

► Black               
 White
 Red 
 Blue



The iAPX888 architecture consists of _______ register.
12

14

16

18




The execution of the instruction "mov word [ES: 0], 0x0741" will print "A" on the screen, color of the character will be
Black

White              
Red
Blue

One screen location corresponds to a

Byte
Word                 
Double byte
Double word


When an item is pushed on the decrementing stack, the top of the stack is

First decremented and then element copied on to the stack                 
First incremented and then element copied on to the stack
Decremented after the element copied on to the stack

Incremented after the element copied on to the stack



Each screen location corresponds to a word, the lower byte of this word contains ____

The character code                
The attribute byte

The parameters 
The dimensions



if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label

Jump will be taken
Zero flag will set

ZF will contain value -4 
Jump will not be taken


If D is "35" is shift to left 2 bits the new value

► 35 
70
140
17



When two 16bit numbers are added the answer can be 17 bits long, this extra bit that won't fit in the target register is placed in the where it can be used and tested

carry flag               
Parity Flag

Auxiliary Carry
Zero Flag


Only instructions allow moving data from memory to memory.

► string              
 word
 indirect

 stack


When a 16 bit number is divided by an 8 bit number, the quotient will be in

► AL               
AX
AH

DX


Which bit of the attributes byte represents the red component of background color ?
3

4

5

6



| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______
Shl 
sar

Shr 
Sal


allow changing specific processor behaviors and are used to play with it.

Special Instructions                 
Data Movement Instructions

Program Control Instructions 
Arithmetic and Logic Instructions


8088 is a 16bit processor with its accumulator and all registers of __________. 
32 bits 
6 bits

16 bits               
64 bits



decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack

PUSH                
POP

CALL
RET  

After the execution of instruction "RET"
SP is incremented by 2                   

SP is decremented by 2 O SP is incremented by 1 O SP is decremented by 1


The extended ASCII has
64 characters
128 characters                 

256 characters O 502 characters

The second byte in the word designated for screen location holds
The dimension of the screen
Character position on the screen
Character color on the screen                  
ACSII code of the character

REP will always
Incremented CX by 1
Incremented CX by 2
Decremented CX by 1                
Decremented CX by 2

The routine that executes in response to an INT instruction is called
ISR                  
IRS
ISP 
IRT

The iAPX888 architecture consists of _______ register.
12
14
16                  
O   18

In the instruction "CMP AX,BX" the contents of
O   AX are changed

BX are changed 
CX are changed
Flag register are changed                   

All the addressing mechanisms iniAPX88 return a number called ______ address.
Effective                 
faulty
indirect
O   direct

The execution of the instruction "mov word [ES: DI], 0x0720"
will clear next character on screen                 
will print "20" at top left of the screen
will print "20" at top right of the screen
will move DI at location 0720 on the screen


"mov byte [num1],5" is _______ instruction. 
legal (Page 30)
illegal
stack based
memory indirect

MOV instruction transfers a byte or word from which of the following source location.
DS:DI
ES:SI 
ES:DI
DS:SI

The execution of the instruction "mov word [ES: 0], 0x0741" will print "A" on the screen, color of
the character will be
Black
White                  
O   Red
O   Blue

If AX contains FFFFh, then after execution of instruction "SAL ax, 3", the result will be
O   -3
O   +3
O   -8
O   +8

If the decimal number "35" is shifted by two bit to left, the new value will be
O   35
70
140 (00100011 = 35 , 10001100=140)
O   17

While using STOBS, if DF=1 then
O   The value of SI will be incremented by one
O   The value of SI will be incremented by two
The value of SI will be decremented by one                  
The value of SI will be decremented by two

After the execution of STOSW, the CX will be
Decremented by 1
Decremented by 2                 
Incremented by 1
Incremented by 2


The memory address always move from 
processor to memory
memory to processor

memory to peripheral 
peripheral to processor

An offset alone is not complete without 
Segment 
code label

index register 
data label

20. Code Segment is associated to _______ register by default.
IP                  
SS
BP
CX



After the execution of SAR instruction:

MSB remain as it is
MSB Will change
MSB move to left              
No change will occur.


ASCII stands for ____________.
The screen is two dimensional space having:

25 Rows and 25 Columns 
25
Rows and 80 Columns 
80 Rows
and 80 Columns

80 Rows and 25 Columns               




In the Rotate Right Operation every bit moves one position to right and the bit dropped from the right is inserted at the left and:

Dropped in CF                
moves to AL
Don't go anywhere.



____________ of the following flags will be affected by MOVSB?

 DF Click here for detail
ZF
PF


No effect on flags 



The physical address of the stack is obtained by
  SS:SP combination

  SS:SI combination

► SS:SP combination                      
  ES:BP combination
  ES:SP combination



After the execution of instruction "RET "

► SP is incremented by 2
► SP is incremented by 2                            
  SP is decremented by 2

  SP is incremented by 1 
 SP is decremented by 1



The second byte in the word designated for one screen location holds
  Character color on the screen

  The dimensions of the screen
  Character position on the screen

► Character color on the screen                     
► ASCII code of the character




REP will always

► Increment CX by 1 
► Increment CX by 2

► Decrement CX by 1                 
► Decrement CX by 2


The basic function of SCAS instruction is to

► Compare                  
 Scan
 Sort

 Move data



Index registers are used to store __________

Data 
Intermediate result

Address                   
Both data and addresses



The bits of the _____________ work independently and individually 
 index register

base register
flags register                
accumulator



To convert any digit to its ASCII representation

► Add 0x30 in the digit                         
  Subtract 0x30 from the digit
  Add 0x61 in the digit
  Subtract 0x61 from the digit



When a 32 bit number is divided by a 16 bit number, the quotient is of

► 32 bits

► 16 bits                 
► 8 bits
► 4 bits

When a 16 bit number is divided by an 8 bit number, the quotient will be in

► AX

► AL               
► AH

► DX


Which mathematical operation is dominant during the execution of SCAS instruction

 Division
  Multiplication

 Addition

► Subtraction                      


If AX contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX

JA label

  Jump will be taken

  Zero flag will set
  ZF will contain value -4

  Jump will not be taken



The execution of the instruction "mov word [ES : 160], 0x1230" will print a character "0" on the screen at

► Second column of first row
► First column of second row                    
  Second column of second row

First column of third row



If the direction of the processing of a string is from higher addresses towards lower addresses then

  ZF is cleared 
 DF is cleared

  ZF is set

► DF is set              



Which bit of the attributes byte represents the red component of background color ?

3 
4 
5
6                   





In STOS instruction, the implied source will always be in


► AL or AX registers                    
  DL or DX registers

 BL or BX registers 
 CL or CX registers


After the execution of STOSW the CX will be

► Decremented by 1
► Decremented by 2                    
► Incremented by 1

► Incremented by 2


The basic function of SCAS instruction is to

► Compare                  
 Scan
 Sort
 Move data


Which is the unidirectional bus ?

(I) Control Bus (II) Data Bus (III) Address Bus  
Ionly 
 ►II only

III only                
Iand II only


The operation of CMP is to

Subtract Source from Destination                

Subtract Destination to from Source 
Add 1 to the Destination

Add Source and Destination


The registers IP, SP, BP, SI, DI, and BX all can contain a ________offset.
8-bit

16-bit                 
32-bit

64-bit


In assembly the CX register is used normally as a ______________register.  
► source

► counter                
  index
  pointer


All the addressing mechanisms in iAPX88 return a number called _____________ ADDRESS.

► effective               
  faulty
  indirect

  direct


When a 32 bit number is divided by a 16 bit number, the quotient will be stored in

► AX                 
BX
CX
DX

"mov byte [num1], 5" is _________ instruction.

► legal                    
  illegal
  stack based

  memory indirect




The execution of the instruction "mov word [ES : 0], 0x0741" will print character "A" on screen, color of the character will be

► Black

► White                   
► Red
► Blue

To transfer control back the RET instruction take

1 argument ►1 argument

3 arguments                      
No arguments



In STOSB instruction SI is decremented or incremented by
4
1  SI and DI both are Index registers

2 
3



CMPS instruction subtracts the source location to the destination location. Destination location always lies in

DS:SI 
DS:DI
ES:SI

ES:DI                  





If "BB" is the OPCODE of the instruction which states to "move a constant value to AX register", the hexadecimal representation (Using little Endian notation) of the instruction "Mov AX,336" ("150" in hexadecimal number system) will be:

0xBB0150 ►0x5001BB ►0x01BB50
0xBB5001 






All the addressing mechanisms in iAPX88 return a number called _____________ ADDRESS.

effective                     
faulty
indirect

direct


When a 16 bit number is divided by an 8 bit number, the dividend will be in

AX                     
BX

CX
DX


in Left-Shift-Operation the left most bit _______

will drop
will go into CF                   

Will come to the right most ►will be always 1



Suppose the decimal number "35" after shifting its binary two bits to left, the new value becomes _________

35 
70

140
17

Memory to Memory operation is allowed  
 True
 False

Size Mismatch Error is a syntax error  
 False       
True 

unconditional jump can be   
 near
 short
 far
 all of the given

The operation of CMP is to Subtract source from destination
 True
 False

Size Mismatch Error is a syntax error
False
True

Unconditional jump
Execute in every condition whether true or false
If the condition is true
If the condition is false
None of the given

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."
ROL
RCR
RCL

None of the given




When divide overflow occurs processor will be interrupted this type of interrupt is called

Hardware interrupt       
Software interrupt
Processor exception

Logical interrupts






_________ is one of the reasons due to which string instructions are used in 8088
Efficiency and accuracy
Reduction in code size and accuracy

Reduction in code size and speed                                 
Reduction in code size and efficiency



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 , 0 xb 800
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


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

90 is the op-code of
Do nothing
Add
Subtract
Multiplication

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


Intel follow
Littel endian
Big endian
Both littel endian and big endian
None of the given


SHL and SAL are same
True
False

The first 16-bit processor produced by "Intel" was 8085
True
False


The first 16-bit processor produced by "Intel" was 8085
True
False


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


Group of bits processor uses to inform
memory which element to read / write is
collectively known as
Select correct option :
Control bus
Data bus
Address bus
RAM


Which of the following is not a valid
instruction in assembly language ?
Select correct option :
MOV AX , 55
MOV AX , BX
MOV CS , 0 xb 800
MOV BX , AX


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


we can not add two base register i .e .
(bx + bp ) or cant use in an instruction
Select correct option :
True
False
ASCII table is the contiguous
arrangement of the uppercase
alphabets ( 41 - 5 A ) , the lowercase
alphabets ( 61 - 7 A ) , and the numbers
________________
31 - 40
29 - 39
30 - 39
31 - 41
DIV instruction has three forms
true
false
Extended ASCII has 256 characters
with assigned numbers from
1 to 255
0 to 256
0 to 255
1 to 256
A typical stack is an area of computer
memory with a fixed origin and a
variable size.
true
False
___________ decrements SP ( the stack
pointer ) by two and then transfers a
word from the source operand to the
top of stack now pointed to by SP .
PUSH
POP
CALL
None of given
Stack is a data structure that behaves
____________ manner .
LIFO
FIFO
BOTH
NONE
In the instruction " mov word [ es : 160 ] ,
0 x 1230" , 30 represents the character
_______
A
B
0
1

___________ decrements SP ( the stack
pointer ) by two and then transfers a
word from the source operand to the
top of stack now pointed to by SP .
Select correct option :
PUSH
POP
CALL
None of the Above

Far calls are called intra segment
calls.
Select correct option :
True
False

source
counter                  
index

pointer



All the addressing mechanisms in iAPX88 return a number called _____________ ADDRESS.

effective                     
faulty
indirect

direct


LODS is generally not used in a loop
and not with the REP prefix since the
value previously loaded in the register
is overwritten if the instruction is
repeated and only the last value of the
block remains in the register
Select correct option :
True
False

ASCII stands
for______________________________ .
Select correct option :
American Standard Code for
Information Interaction
American Standard Code for
Information Interchange
American Standard Communication for
Integer Interchange
American Scientific Communication for
Integer Interaction

Local variables should be created when
the subroutine is called and discarded
afterwards .
Select correct option :
True
False

_________________ in the flags
register . If this flag is cleared the
direction is from lower addresses
towards higher addresses and if this
flag is set the direction is from higher
addresses to lower addresses.
Direction Flag (DF )
Control Flag (CF )
Carry Flag (CF )
Non of above
Far calls are called intra segment calls .
True
False
When the RET instruction is executed ,
it recovers the value of the instruction
pointer from the stack .
True
False
An element is pushed on the stack SP is
decremented by ______ as the 8088
stack works on word sized elements .
1
2
3
4
The purpose of MOVS instruction is to
move a memory location to register
True
False
Stack is a data structure that behaves
in a first in last _______ manner .
in
out
push
add



Which of the following BIOS INT
provides serial port services
Select correct option :
INT 21
INT 14
INT 10
INT 08

In 9 pin DB 9 connector, which pin is
assigned to RD ( Received Data) ?
Select correct option :
1
2
3
4

The first sector on hard disk contains
the
Select correct option :
Hard disk size
Partition table
Data size
Sector size

In the context of video services, if we
want to set cursor position which of
the following will be the value of AH ?
Select correct option :
AH = 01 h
AH = 02 h
AH = 03 h
AH = 04 h

A 32 - bit address register can access
up to ____ of memory .
Select correct option :
2 MB
2 GB
4 MB
4 GB

Hard disk MBR ( Master Boot Record )
is of size
Select correct option :
446 bytes
350 bytes
512 bytes
256 bytes

In the context of video services, if we
want to write string then which of the
value will be placed in AH ?
Select correct option :
10 h
12 h
11 h
13 h

" INT 13 - - BIOS disk services" generally
uses which register to return the 'error
flag' ?
Select correct option :
CF
DL
AH
AL

In the context of video services, if we
want to scroll the window up which of
the following will be the value of AH ?
Select correct option :
AH = 05 h
AH = 06 h
AH = 07 h
AH = 08 h

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


In multitasking environment , which of
the following structure is used to
maintain the ordering of active PCBs ?
Select correct option :
Array
Register
Linked List
Stack
Question # 4 of 10 ( Start time:
08 :16 :05 PM ) Total Marks: 1
As compared to _________ ,
___________ provides more cooked
services.
Select correct option :
BIOS, DOS
DOS,OS
DOS, BIOS
OS, DOS

We can set the current file position in
DOS using service number ____
Select correct option :
0 x 38
0 x 40
0 x 42
0 x 43

Which of the following registers hold
the page number for using the write
string service of INT 10 ?
Select correct option :
AH
BL
CL
BH

In 9 pin DB 9 connector, which pin is
assigned to RD ( Received Data) ?
Select correct option :
1
2
3
4

In interrupt masking , We use ________
to get control from the program
without letting the program know about
it.
Select correct option :
IRQ 0
IRQ 1
IRQ 2
IRQ 3

The 'program segment prefix' for com
files is of size:
Select correct option :
64 bytes
128 bytes
256 bytes
512 bytes

Which of the following services of INT
10 is used for writing the string?
Select correct option :
0 x 12
0 x 13
0 x 11
0 x 10

In 9 pin DB 9 connector, which pin is
assigned to TD (Transmitted Data ) ?
Select correct option :
1
2
3
4

Hard disk MBR ( Master Boot Record )
is of size
Select correct option :
446 bytes
350 bytes
512 bytes
256 bytes

In the context of video services, if we
want to set the cursor at top left
corner , which of the values will be
stored in DH and DL respectively ?
Select correct option :
00 , 00
00 , 80
25 , 80
01 ,01

Which of the following service of INT
21 is used to write a string on standard
output?
Select correct option :
00 h
02 h
09 h
10 h



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


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


BX is a register in which intermediate
arithmetic and logic results are stored .
Select correct option :
True
False


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


SHL and SAL are same
Select correct option :
True
False


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. "
RCR
RQL
RDL
RLL


MOV AL ,BX is a type of ___ error .
syntax
size mismatch error
size mismatch


All the addressing mechanisms in
iAPX 88 return a number
called ___________ address
Effective address
Physical address



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


BX is a register in which intermediate
arithmetic and logic results are stored .
True
False


mov [ 1234] ,ax is an example of
Direct addressing
Base register indirect
Base + index
direct addressing


In JA jump is not taken after a CMP if
the unsigned destination is larger than
the unsigned source .
True
False


This jump is taken if the last
arithmetic operation produced a
number in its destination that has even
parity , Which jump is taken
JP
JPE
JNP
None


Mechanism used to drop carry for
making the calculated address valid is
known as :
Select correct option :
Carry Overload
Overflow
Address Wraparound
None of the above




The first instruction of "COM" file must be at offset: 
► 0x0010

► 0x0100            
 0x1000
 0x0000

The execution of the instruction "mov word [ES : 0], 0x0741" will print character "A" on screen , background color of the screen will be

► Black               
 White
 Red 
 Blue



The iAPX888 architecture consists of _______ register. 
12

14

16

18





















we can not Subtracted index register
from the base register ( bx - si ) in
assembly language
Select correct option :
True
False

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



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


Simple CMP instruction uses _____
operation
Select correct option :
Addition
Division
Subtraction
Multiplicaion


  1. The space where all the registers of a task are stored is called the:
control block
process control block
stack

  1. Which of the following is a cascading interrupt?
IRQ 0
IRQ 1
IRQ2
IRQ3
  1. Which of the following IRQ is connected to serial port COM 2?
IRQ 0
IRQ 1
IRQ 2
IRQ 3
  1. The destination register in IN is:
AL or AX
BL or BX
CL or CX
DL or DX

SS is bydefult associated with
Select correct option :
BP
IP
SP
BP


When a 32 bit number is divided by a
16 bit number , the remainder is of
Select correct option :
4 bits
8 bits
16 bits
32 bits


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

While using INT 10 for writing graphic
pixel on screen , which of the following
registers hold the information about
pixel color ?
Select correct option :
DH
DL
AH
AL



INT 0 x 13 service 0 x 03 is used to
_________.
Select correct option :
Read disk sector
Write disk sector
Reset disk sector
Get drive parameter

Which of the following services of INT
10 is used for writing the string?
Select correct option :
0 x 12
0 x 13
0 x 11
0 x 10

The root directory of floppy contains
_____ fixed entries .
Select correct option :
64
256
128
512

Which of the following INT 21 service
is used to read character from
standard input ?
Select correct option :
00
01
02
03



Which of the following is used to
terminate a string in assembly
language?
Select correct option :
!
#
$
;


Which of the following registers are
used as a DOS input buffer ?
Select correct option :
DS:AX
SS :SP
DS:DX
CS :BX


BIOS video services are exported via
interrupt
Select correct option :
INT 10
INT 9
INT 8
INT 7


In interrupt masking , We use ________
to get control from the program
without letting the program know about
it.
Select correct option :
IRQ 0
IRQ 1
IRQ 2
IRQ 3


In case of COM file , maximum length
of parameters passed through command
line can be ___
Select correct option :
63 bytes
127 bytes
255 bytes  not confirmed
511 bytes




90 is the op- code of
Do nothing
Add
Subtract
Multiplication


he space where all the registers of a
task are stored is called the
control block
process control block
stack
memory


The number of pins in a parallel port
connector are ?
20
25
15
10


In a free market economy , resources
are allocated on the basis of :
vote taken by consumer
a central planning authority
Consumers preferences
the level of profit of firm


Accounts office of Z & X corporations
has paid Rs .250000 on account of
profit in the month of August 2011 .
Which of the following the accounts
office has paid for ?
Labour
Capital
Land
Entrepreneur


If the quantity demanded of mangoes
exceeds the quantity supplied of
mangoes :
there is a surplus of mangoes
market force will cause the price to
fall
market force will cause the price to
rise
the market is in equilibrium


The process by which we limit the
supply or amount of some economic
factor which is scarcely available is
called :
Rationing
Budling
price floor
price ceiling


That resources are fully employed in
producing particulars goods and
services the level of production that
will cause both unemployment and
inflation Which of the following factors
would cause leftward shift in supply
curve for bicycles ?
Decrease in wages
increase in price of input
Decrease in price of input
use the latest technology in production
of bicycle


Measurement of elasticites is made in
percentage terms because :
it is easy to calculate
the resulting measurement is unit free
it give a more accurate answer
the answer is always negative way


8 Suppose quantity demanded of
chicken increases by 5 percent in
response to 2 percent increase in price
of beef . The cross - price elasticity of
demand for chicken with respect to
price of beef is :
+ 2 .5
- 2 .5

90 is the op- code of
Do nothing
Add
Subtract
Multiplication


he space where all the registers of a
task are stored is called the
control block
process control block
stack
memory


The number of pins in a parallel port
connector are ?
20
25
15
10


In a free market economy , resources
are allocated on the basis of :
vote taken by consumer
a central planning authority
Consumers preferences
the level of profit of firm


Accounts office of Z & X corporations
has paid Rs .250000 on account of
profit in the month of August 2011 .
Which of the following the accounts
office has paid for ?
Labour
Capital
Land
Entrepreneur


If the quantity demanded of mangoes
exceeds the quantity supplied of
mangoes :
there is a surplus of mangoes
market force will cause the price to
fall
market force will cause the price to
rise
the market is in equilibrium


The process by which we limit the
supply or amount of some economic
factor which is scarcely available is
called :
Rationing
Budling
price floor
price ceiling


Post a Comment

Previous Post Next Post