Quiz No.1 CS401 Assembly Language Dated 08-11-2012 In direct addressing the memory address given in the instruction is Fixed Execute in every condition whether true or false This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken The process through which the segment register can be explicitly specified is known as 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. Which of the following is not a valid instruction in assembly language? Constant is never use as a we can not add two base register i.e. (bx+bp) or cant use in an instruction 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. " The simplest form of addressing, in which the operand value is present in instruction is mov [bx+si], ax is an example of Indexed Register Indirect. mov [1234],ax is an example of This JCXZ jump is taken whenever counter resets. __ jump is not position relative but is absolute Size Mismatch Error is a syntax error The effective address will be either a main memory address or a register. we can not Subrtace index register from the base register( bx-si )in assemlby language ANY ONE ELSE / All the addressing mechanisms in iAPX88 return a number called ___________ address. EFFICTIVE address physical address direct Which one of the following is a illegal instruction 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 True false The Jump command that doesn't depends on FLAG register is 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 direct addressing indirect addressing The simplest form of addressing, in which the operand value is present in instruction is Register to Register Operation is not allowed we can not add two base register i.e. (bx+bp) or cant use in an instruction The jump is taken if the last arithmetic operation changed the sign unexpectedly. unconditional jump can be SI or DI is used we name the method. Which of the following is not a valid instruction in assembly language? This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken BP by default associated with Question # 1 of 10 ( Start time: 04:12:37 PM ) Total Marks: 1 In a virtual memory system, the effective address is a main memory address. 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." The most basic difference between Conditional and Unconditional jumping is In direct addressing the memory address given in the instruction is __ jump is not position relative but is absolute The simplest form of addressing, in which the operand value is present in instruction is By default CS is associated with The stack pointer contains the address of the word that is currently on__: Quiz: NEXT Constant is never use as a Register to memory operation is not allowed The Jump command that doesnot depends on FLAG register is __ jump is not position relative but is absolute far Memory to Memory operation is allowed Which register holds the item that is to be written into the stack or read out of the stack: SP ? The process through which the segment register can be explicitly specified is known as In JZ jump is not taken if the last arithmetic operation produced a zero in its destination. we can not add two base register i.e. (bx+bp) or cant use in an instruction Physical address calculation depends on 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. SI or DI is used we name the method. None of the above FLAG register in Intel x86 microprocessors that contains the current state of the processor The addressing method that can be used to access a two dimensional array is. we can not add two base register i.e. (bx+bp) or cant use in an instruction 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." Constant is never use as a Bydefault CS is associated with BX is a register in which intermediate arithmetic and logic results are stored. The process through which the segment register can be explicitly specified is known as SHL and SAL are same 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 RDL RLL MOV AL,BX is a type of ___ error. syntax size mismatch error size mismatch All the addressing mechanisms in iAPX88 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+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 None Mechanism used to drop carry for making the calculated address valid is known as: The first 16-bit processor produced by "Intel" was 8085 True False The first 16-bit processor produced by "Intel" was 8085 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 Group of bits processor uses to inform memory which element to read/write is Register are storage cell The basic function of register is to Assembly languague is not a low level language. 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 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 4The 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 +.25 -.25 Normally the shape of production possibility frontier is: positive convex lenear concave If desk lamps and bulbs are complementary goods, a fall in price of desk lamps will shift the demand curve for: bulbs to the right bulbs to the right Desk lamps to the right desk lamps to the left mov [si+300], ax is an example of Indexed Register Indirect + Offset Select correct option: True False The iAPX88 processor supports _____________modes of memory access. Select correct option: 6 7 8 9
Variable
Register
Empty
If the condition is true
If the condition is false
None of the given
Select correct option:
JP
JPE
JNP
both JP and JPE
Select correct option:
JP
JPE
JNP
both JP and JPE
Select correct option:
Segment Addressing
Segment Override Prefix
Segment Indexing
None of the above
Select correct option:
32
8
16
64
Select correct option:
MOV AX, 55
MOV AX, BX
MOV CS, 0xb800
MOV BX, AX
Select correct option:
Source
Destination
Both as source and destination
None of the given
Select correct option:
True
False
Select correct option:
RCR
ROL
RCL
ROR
Select correct option:
Direct Addressing
Indirect Addressing
Immediate Addressing
None of them
Select correct option:
True
False
Select correct option:
Direct addressing
Base register indirect
Base+index
None of the given
Select correct option:
Yes
No
Select correct option:
Near
Short
Far
None of the above
Select correct option:
False
True
Select correct option:
True
False
Select correct option:
True
False
Select correct option:
Select correct option:
Select correct option:
Select correct option:
Select correct option:
Select correct option:
Direct Addressing
Indirect Addressing
Immediate Addressing
None of them
Select correct option:
True
False
Select correct option:
True
False
Select correct option:
JO
JNO
JNZ
JZ
Select correct option:
near
short
far
all of the given
Select correct option:
Based Addressing
Indexed Addressing
Stack Addressing
None of the above
Select correct option:
MOV AX, 55
MOV AX, BX
MOV CS, 0xb800
MOV BX, AX
Select correct option:
JP
JPE
JNP
both JP and JPE
Select correct option:
CS
IP
SS
SP
BP by default associated with
Select correct option:
CS
IP
SS
SP
Select correct option:
True
False
Select correct option:
ROL
RCR
RCL
None of the given
Select correct option:
arithmetic operations
consideration of flags
address
none of the above
Select correct option:
Fixed
Variable
Register
Empty
Select correct option:
Near
Short
Far
None of the above
Select correct option:
Direct Addressing
Indirect Addressing
Immediate Addressing
None of them
Select correct option:
SS
BP
CX
IP
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
Select correct option:
Source
Destination
Both as source and destination
None of the given
Select correct option:
True
False
Register to memory operation is not allowed
Select correct option:
True
False
Select correct option:
JCXZ
JO
JNE
JP
Select correct option:
Near
Short
Far
None of the above
Select correct option:
True
False
Select correct option:
SP
IP
BX
DX
Select correct option:
Segment Addressing
Segment Override Prefix
Segment Indexing
None of the above
Select correct option:
True
False
Select correct option:
True
False
Select correct option:
Base address
Effective address
Offset Address
None of the above
Select correct option:
32
8
16
64
Select correct option:
Based Addressing
Indexed Addressing
Stack Addressing
Select correct option:
True
False
Select correct option:
Base + Index + Offset addressing
Base + Index addressing
Select correct option:
True
False
Select correct option:
ROL
RCR
RCL
None of the given
Select correct option:
Source
Destination
Both as source and destination
None of the given
Select correct option:
SS
BP
CX
IP
Select correct option:
True
False
Select correct option:
Segment Addressing
Segment Override Prefix
Segment Indexing
None of the above
Select correct option:
True
False
RQL
Base register indirect
JPE
JNP
Select correct option:
Carry Overload
Overflow
Address Wraparound
None of the above
we can not Subtracted index register from the base register( bx-si )in assembly language
Select correct option:
True
False
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
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
SS is bydefult associated with
BP
IP
SP
BP
Register to constant data movement is allowed?
No
Yes
collectively known as
Select correct option:
Control bus
Data bus
Address bus
RAM
Select correct option:
Outside the processor
Both inside and outside the processor
Inside the processor
None of the given
Select correct option:
Hold the operand
Hold the operator
Hold both the operator and operand
None of the given
Select correct option:
True
False
control block
process control block
stack
memory
The number of pins in a parallel port connector are?
20
25
15
10
--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.eNoxel.com
http://www.enoxelit.tk
http://www.geniusweb.tk
and Please do Share this group with your Friends and Class Fellows so that our Circle would expand and can be more useful for other Students.
Thanks, n Best of Luck......
You received this message because you are subscribed to the Google
Groups "vulms" group.
To post to this group, send email to vulmsit@googlegroups.com
To unsubscribe from this group, send email to
vulmsit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vulmsit?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "vulms" group.
Visit this group at http://groups.google.com/group/vulmsit?hl=en-GB.
--
Posted By Sheroo to **Virtual University Of Pakistan**Student Cafe at 11/08/2012 09:36:00 AM --
You received this message because you are subscribed to the Google Groups "VU Computer Science" group.
To post to this group, send email to vu-computer-science@googlegroups.com.
To unsubscribe from this group, send email to vu-computer-science+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vu-computer-science?hl=en.






0 comments:
Post a Comment