Top Banner
Subject : - Meseg Goes here 1 - Address always goes from 1. Processor to meory 2. Memory to processor 3. Memory to memory 4. None of the above Correct Choice : 1 From Lectuer # 1 www.vugujranwala.com 2 - Register whose each bit specify a different meaning is 1. Accumulator Register 2. Pointer Register 3. Index register 4. Flag register Correct Choice : 4 From Lectuer # 1 www.vugujranwala.com 3 - Group of bits processor uses to inform memory which element to read/write is collectively known as 1. Control bus 2. Data bus 3. Address bus 4. RAM Correct Choice : 1 From Lectuer # 1 www.vugujranwala.com 4 - Instruction Pointer holds the address of the 1. Previous instruction to be executed 2. Current instruction 3. Next instruction to be executed 4. None of the given Correct Choice : 3 From Lectuer # 1 www.vugujranwala.com 5 - There are three busses to communicate the processor and memory named as _____________ 1. address bus.,data bus and data bus. 2. addressing bus.,data bus and data bus. 3. address bus.,datamove bus and data bus. 4. address bus.,data bus and control bus.. Correct Choice : 4 From Lectuer # 1 www.vugujranwala.com 6 - The address bus is unidirectional and address always travels from processor to memory. 1. TRUE 2. FALSE 3. 4. Correct Choice : 1 From Lectuer # 1 page 1 / 23
23
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MCQS

Subject : -Meseg Goes here

1 - Address always goes from1.     Processor to meory2.     Memory to processor3.     Memory to memory4.     None of the above       Correct Choice : 1                          From Lectuer # 1

www.vugujranwala.com

2 - Register whose each bit specify a different meaning is1.     Accumulator Register2.     Pointer Register3.     Index register4.     Flag register       Correct Choice : 4                          From Lectuer # 1

www.vugujranwala.com

3 - Group of bits processor uses to inform memory which element to read/write iscollectively known as

1.     Control bus2.     Data bus3.     Address bus4.     RAM       Correct Choice : 1                          From Lectuer # 1

www.vugujranwala.com

4 - Instruction Pointer holds the address of the1.     Previous instruction to be executed2.     Current instruction3.     Next instruction to be executed4.     None of the given       Correct Choice : 3                          From Lectuer # 1

www.vugujranwala.com

5 - There are three busses to communicate the processor and memory named as_____________

1.     address bus.,data bus and data bus.2.     addressing bus.,data bus and data bus.3.     address bus.,datamove bus and data bus.4.     address bus.,data bus and control bus..       Correct Choice : 4                          From Lectuer # 1

www.vugujranwala.com

6 - The address bus is unidirectional and address always travels from processor tomemory.

1.     TRUE2.     FALSE3.     4.            Correct Choice : 1                          From Lectuer # 1

page 1 / 23

Page 2: MCQS

www.vugujranwala.com

7 - Data bus is bidirectional because________1.     To way2.     Data moves from both, processor to memory and memory to processor,3.     Data moves from both, processor to memory and memory to data Bus,4.     None of the Given       Correct Choice : 3                          From Lectuer # 1

www.vugujranwala.com

8 - Control bus________1.     is Not Important.2.     is Important .3.     bidirectional.4.     unidirectional .       Correct Choice : 3                          From Lectuer # 1

www.vugujranwala.com

9 - A memory cell is an n-bit location to store data, normally ________also called a byte1.     4-bit2.     8-bit3.     6-bit4.     80-bit       Correct Choice : 2                          From Lectuer # 1

www.vugujranwala.com

10 - The number of bits in a cell is called the cell width.______________ define thememory completely.

1.     Cell width and number of cells,2.     cell number and width of the cells,3.     width4.     Height       Correct Choice : 1                          From Lectuer # 1

www.vugujranwala.com

11 - for memory we define two dimensions. The first dimension defines how many__________bits are there in a single memory cell.

1.     parallel2.     Vertical3.     long4.     short       Correct Choice : 1                          From Lectuer # 1

www.vugujranwala.com

12 - __________ operation requires the same size of data bus and memory cell width.1.     Normal2.     Best and simplest3.     first4.     None of the Given       Correct Choice : 2                          From Lectuer # 1

www.vugujranwala.com

13 - Control bus is only the mechanism. The responsibility of sending the appropriatesignals on the control bus to the memory is of the_________________.

1.     Data Bus

page 2 / 23

Page 3: MCQS

2.     processor3.     Address Bus4.     None of the Given       Correct Choice : 2                          From Lectuer # 1

www.vugujranwala.com

1.     TRUE2.     FALSE3.     4.            Correct Choice : 2                          From Lectuer # 2

www.vugujranwala.com

15 - Registers are also called scratch pad ram1.     TRUE2.     FALSE3.     4.            Correct Choice : 1                          From Lectuer # 2

www.vugujranwala.com

16 - Register are storage cell1.     Outside the processor2.     Inside the processor3.     Both inside and outside the processor4.     None of the given       Correct Choice : 2                          From Lectuer # 2

www.vugujranwala.com

17 - CX register mostly use a1.     Counter register2.     Flag register3.     Base register4.     Desination register       Correct Choice : 1                          From Lectuer # 2

www.vugujranwala.com

18 - The basic purpose of a computer is to perform operations, and operations need____________.

1.     order2.     nothing3.     operands4.     bit       Correct Choice : 3                          From Lectuer # 2

www.vugujranwala.com

19 - Registers are like a scratch pad ram inside the processor and their operation is verymuch like normal______________.

1.     Number2.     opreations3.     memory cells4.     None of the Given       Correct Choice : 3                          From Lectuer # 2

page 3 / 23

Page 4: MCQS

www.vugujranwala.com

20 - There is a central register in every processor called the _______ and The word size ofa processor is defined by the width of its__________.

1.     accumulator,accumulator2.     data bus,accumulator3.     accumulator, Address Bus4.     accumulator,memory       Correct Choice : 1                          From Lectuer # 2

www.vugujranwala.com

21 - ___________does not hold data but holds the address of data1.     Pointer, Segment, or Base Register2.     Pointer, Index, or Base Register3.     General Registers4.     Instruction Pointer       Correct Choice : 2                          From Lectuer # 2

www.vugujranwala.com

1.     executed.2.     called3.     deleted4.     copy       Correct Choice : 1                          From Lectuer # 2

www.vugujranwala.com

1.     42.     53.     34.     2       Correct Choice : 1                          From Lectuer # 2

www.vugujranwala.com

24 - These instructions are used to move data from one place to another.1.     TRUE2.     FALSE3.     4.            Correct Choice : 1                          From Lectuer # 2

www.vugujranwala.com

1.     Arithmetic and Logic Instructions2.     Data Movement Instructions3.     Program Control Instructions4.     Special Instructions       Correct Choice : 2                          From Lectuer # 2

www.vugujranwala.com

26 - ______________allow changing specific processor behaviors and are used to playwith it.

1.     Special Instructions2.     Data Movement Instructions

page 4 / 23

Page 5: MCQS

3.     Program Control Instructions4.     Arithmetic and Logic Instructions       Correct Choice : 1                          From Lectuer # 2

www.vugujranwala.com

27 - 8088 is a 16bit processor with its accumulator and all registers of __________.1.     32 bits2.     6 bits3.     16 bits4.     64 bits       Correct Choice : 3                          From Lectuer # 2

www.vugujranwala.com

28 - The __________ of a processor means the organization and functionalities of theregisters it contains and the instructions that are valid on the processor.

1.     Manufactures2.     architecture3.     Deal4.     None of the Given       Correct Choice : 2                          From Lectuer # 2

www.vugujranwala.com

29 - Intel IAPX88 Architecture is ___________1.     More then 25 old2.     New3.     Not Good4.     None of the Given       Correct Choice : 1                          From Lectuer # 2

www.vugujranwala.com

30 - By default CS is associated with1.     SS2.     BP3.     CX4.     IP       Correct Choice : 4                          From Lectuer # 3

www.vugujranwala.com

31 - Size Mismatch Error is a syntax error1.     FALSE2.     TRUE3.     4.            Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

32 - Intel follow1.     Littel endian2.     Big endian3.     Both littel endian and big endian4.     None of the given       Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

33 - The extension of assembly languague file is

page 5 / 23

Page 6: MCQS

1.     .doc2.     .com3.     .lst4.     .asm       Correct Choice : 4                          From Lectuer # 3

www.vugujranwala.com

34 - All the addressing mechanisms in iAPX88 return a number called _____________address.

1.     Effective address2.     Physical address3.     Direct address4.     None of the given       Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

35 - Register to Register Operation is not allowed1.     TRUE2.     FALSE3.     4.            Correct Choice : 2                          From Lectuer # 3

www.vugujranwala.com

36 - The iAPX88 architecture consists of______registers.1.     132.     123.     94.     14       Correct Choice : 4                          From Lectuer # 3

www.vugujranwala.com

37 - General Registers are ______________1.     AX, BX, CX, and DX2.     XA, BX, CX, and DX3.     SS,SI and DI4.     3       Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

1.     AH and AL2.     A Lower and A Upper3.     AL, AU4.     AX       Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

39 - AX is General purpose Register where A stands for__________.1.     Acadmic2.     Ado3.     Architecture4.     Accumulator       Correct Choice : 4                          From Lectuer # 3

page 6 / 23

Page 7: MCQS

www.vugujranwala.com

40 - The B of BX stands for _________because of its role in memory addressing.1.     Busy2.     Base3.     Better4.     None of the Given       Correct Choice : 2                          From Lectuer # 3

www.vugujranwala.com

41 - The D of DX stands for Destination as it acts as the destination in_____________________.

1.     I/O operations2.     operations3.     memory cells4.     Memory I/O operations       Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

42 - The C of CX stands for Counter as there are certain instructions that work with anautomatic count in the ___________.

1.     DI register2.     BX register3.     CX register4.     DX register       Correct Choice : 3                          From Lectuer # 3

www.vugujranwala.com

43 - _________are the index registers of the Intel architecture which hold address of dataand used in memory access.

1.     SI and SS2.     PI and DI3.     SI and IP4.     SI and DI       Correct Choice : 4                          From Lectuer # 3

www.vugujranwala.com

44 - In Intel IAPX88 architecture ___________ is the special register containing theaddress of the next instruction to be executed.

1.     AX2.     PI3.     IP4.     SI       Correct Choice : 3                          From Lectuer # 3

www.vugujranwala.com

45 - SP is a memory pointer and is used indirectly by a set of ____________.1.     instructions2.     Pointers3.     Indexes4.     Variables       Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

46 - ___________is also a memory pointer containing the address in a special area of

page 7 / 23

Page 8: MCQS

memory called the stack.1.     SP2.     BP3.     PB4.     AC       Correct Choice : 2                          From Lectuer # 3

www.vugujranwala.com

47 - ____________is bit wise significant and accordingly each bit is named separately.1.     AX2.     FS3.     IP4.     Flags Register       Correct Choice : 4                          From Lectuer # 3

www.vugujranwala.com

1.     carry flag2.     Parity Flag3.     Auxiliary Carry4.     Zero Flag       Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

49 - Program is an ordered set of instructions for the processor.1.     TRUE2.     FALSE3.     4.            Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

1.     TRUE2.     FALSE3.     4.            Correct Choice : 1                          From Lectuer # 3

www.vugujranwala.com

1.     Add the bx to ax and change the bx2.     Add the ax to bx and change the ax3.     Add the bx to ax and change the ax4.     Add the bx to ax and change nothing       Correct Choice : 3                          From Lectuer # 3

www.vugujranwala.com

52 - Unconditional jump1.     Execute in every condition whether true or false2.     If the condition is true3.     If the condition is false4.     None of the given       Correct Choice : 1                          From Lectuer # 4

page 8 / 23

Page 9: MCQS

www.vugujranwala.com

53 - Memory to Memory operation is allowed1.     TRUE2.     FALSE3.     4.            Correct Choice : 2                          From Lectuer # 4

www.vugujranwala.com

54 - we can not add two base register i.e. (bx+bp) or cant use in an instruction1.     TRUE2.     FALSE3.     4.            Correct Choice : 1                          From Lectuer # 4

www.vugujranwala.com

55 - In direct addressing the memory address given in the instruction is1.     Fixed2.     Variable3.     Register4.     Empty       Correct Choice : 1                          From Lectuer # 4

www.vugujranwala.com

56 - mov [1234],ax is an example of1.     Direct addressing2.     Base register indirect3.     Base+index4.     None of the given       Correct Choice : 1                          From Lectuer # 4

www.vugujranwala.com

57 - we can not Subrtace index register from the base register( bx-si )in assemlbylanguage

1.     TRUE2.     FALSE3.     4.            Correct Choice : 1                          From Lectuer # 4

www.vugujranwala.com

58 - The maximum memory iAPX88 can access is________________.1.     1MB2.     2MB3.     3MB4.     128MB       Correct Choice : 1                          From Lectuer # 4

www.vugujranwala.com

59 - The maximum memory iAPX88 can access is 1MB which can be accessed with_______________.

1.     18 bits2.     20 bits

page 9 / 23

Page 10: MCQS

3.     16 bits4.     2 bits       Correct Choice : 2                          From Lectuer # 4

www.vugujranwala.com

60 - _____________address of 1DED0 where the opcode B80500 is placed.1.     physical memory2.     memory3.     efective4.     None of the Given       Correct Choice : 1                          From Lectuer # 4

www.vugujranwala.com

61 - 16 bit of Segment and Offset Addresses can be converted to 20bit Address i.eSegment Address with lower four bits zero + Offset Address with ______ four bits zero =20bit Physical Address

1.     Middle2.     lower3.     Top4.     upper       Correct Choice : 4                          From Lectuer # 4

www.vugujranwala.com

62 - When adding two 20bit Addresses a carry if generated is dropped without beingstored anywhere and the phenomenon is called address______.

1.      wraparound2.     mode3.     ping4.     error       Correct Choice : 1                          From Lectuer # 4

www.vugujranwala.com

63 - segments can only be defined a 16byte boundaries called _____________boundaries.

1.     segment2.     paragraph3.     Cell4.     RAM       Correct Choice : 1                          From Lectuer # 4

www.vugujranwala.com

64 - in a Program CS, DS, SS, and ES all had the same value in them. This is called_____________________.

1.     equel memory2.     overlapping segments3.     segments hidding4.     overlapping SI       Correct Choice : 2                          From Lectuer # 4

www.vugujranwala.com

65 - When a large number is subtracted from a smaller number, a borrow is needed; in thiscase which flag will be set

1.     ZF2.     CF

page 10 / 23

Page 11: MCQS

3.     SF4.     OF       Correct Choice : 2                          From Lectuer # 5

www.vugujranwala.com

66 - The jump is taken if the last arithmetic operation changed the sign unexpectedly.1.     JO2.     JNO3.     JNZ4.     JZ       Correct Choice : 1                          From Lectuer # 5

www.vugujranwala.com

67 - This jump is taken if the last arithmetic operation produced a number in its destinationthat has even parity , Which jump is taken

1.     JP2.     JPE3.     JNP4.     both JP and JPE       Correct Choice : 1                          From Lectuer # 5

www.vugujranwala.com

1.     1byte2.     4bit3.     16bit4.     2byte       Correct Choice : 1                          From Lectuer # 5

www.vugujranwala.com

1.     No comments Will be2.     ; accumulate sum in add3.     ; accumulate sum in ax4.     ; accumulate sum in Bx       Correct Choice : 3                          From Lectuer # 5

www.vugujranwala.com

1.     Immediate2.     Indirect3.     Direct4.     Register       Correct Choice : 4                          From Lectuer # 5

www.vugujranwala.com

1.     Based Register Indirect2.     Indirect3.     Base Indirect4.     Immediate       Correct Choice : 1                          From Lectuer # 5

www.vugujranwala.com

72 - In JA jump is not taken after a CMP if the unsigned destination is larger than the

page 11 / 23

Page 12: MCQS

unsigned source.1.     TRUE2.     FALSE3.     4.            Correct Choice : 2                          From Lectuer # 6

www.vugujranwala.com

1.     Immediate2.     Indirect3.     Indirect4.     Register       Correct Choice : 1                          From Lectuer # 6

www.vugujranwala.com

1.     OFFSET+ Indirect2.     Register + Direct3.     Indirect + Reference4.     BASEd REGISTER + OFFSET       Correct Choice : 4                          From Lectuer # 7

www.vugujranwala.com

1.     Address2.     mode3.     effective address4.     Physical Address       Correct Choice : 3                          From Lectuer # 7

www.vugujranwala.com

1.     CS with BX2.     BX with CS3.     BX with AX4.     None of the Given       Correct Choice : 2                          From Lectuer # 7

www.vugujranwala.com

77 - For exampleBX=0100DS=FFF0 And Opcode are;move [bx+0x0100], Axnow what is the effective memory address;

1.      00202.      02003.     03004.      0x02       Correct Choice : 2                          From Lectuer # 7

www.vugujranwala.com

78 - For example

page 12 / 23

Page 13: MCQS

BX=0100DS=FFF0 And Opcode are;move [bx+0x0100], Axnow what is the physical memory address;

1.      00202.      0x01003.      0x101004.      0x100100       Correct Choice : 2                          From Lectuer # 7

www.vugujranwala.com

1.     Immediate2.     Indirect3.     Direct4.     Register       Correct Choice : 3                          From Lectuer # 8

www.vugujranwala.com

1.     Basef Register Indirect2.     Indirect3.     Indexed Register Indirect4.     Immediate       Correct Choice : 3                          From Lectuer # 8

www.vugujranwala.com

1.     Basef Register Indirect2.     Indirect3.     Direct4.     illegal       Correct Choice : 4                          From Lectuer # 8

www.vugujranwala.com

1.     Address must be 16bit2.     Address must be 8bit3.     Address must be 4bit4.     8 bit to 16 bit move illegal       Correct Choice : 4                          From Lectuer # 8

www.vugujranwala.com

www.vugujranwala.com

84 - In JNE and JNZ there is difference for only _____________;1.     Programmer or Logic2.     Assembler3.     Debugger4.     IAPX88       Correct Choice : 1                          From Lectuer # 9

page 13 / 23

Page 14: MCQS

www.vugujranwala.com

85 - JMP is Instruction that on executing take jump regardless of the state of all flags iscalled__________

1.     Jump2.     Conditional jump3.     Unconditional jump4.     Stay       Correct Choice : 3                          From Lectuer # 9

www.vugujranwala.com

86 - When result of the source subtraction from the destination is zero, zero flag is set i.e.ZF=1its mean that;

1.     DEST = SRC2.     DEST != SRC3.     DEST 4.     DEST > SRC       Correct Choice : 1                          From Lectuer # 9

www.vugujranwala.com

87 - When an unsigned source is subtracted from an unsigned destination and thedestination is smaller, borrow is needed which sets the ____________.

1.     carry flag i.e CF = 02.     carry flag i.e CF = 13.     Carry Flag + ZF=14.     None of the Given       Correct Choice : 2                          From Lectuer # 9

www.vugujranwala.com

88 - In the case of unassigned source and destination when subtracting and in the resultZF =1 OR CR=1 then _______

1.     DEST = SRC2.     DEST != SRC3.     UDEST ? USRC4.     DEST > SRC       Correct Choice : 3                          From Lectuer # 9

www.vugujranwala.com

89 - In the case of unassigned source and destination when subtracting and in the resultZF =0 AND CR=0 then _______

1.     DEST = SRC2.     DEST != SRC3.     UDEST 4.     UDEST > USRC       Correct Choice : 4                          From Lectuer # 9

www.vugujranwala.com

90 - In the case of unassigned source and destination when subtracting and in the resultCR=0 then _______

1.     DEST = SRC2.     DEST != SRC3.     UDEST 4.     UDEST ? USRC       Correct Choice : 4                          From Lectuer # 9

page 14 / 23

Page 15: MCQS

www.vugujranwala.com

91 - ______This jump is taken if the last arithmetic operation produced a zero in itsdestination. After a CMP it is taken if both operands were equal.

1.     Jump if zero(JZ)/Jump if equal(JE)2.     Jump if equal(JE)3.     Jump if zero(JZ)4.     No Jump fot This       Correct Choice : 1                          From Lectuer # 9

www.vugujranwala.com

92 - _______This jump is taken after a CMP if the unsigned source is smaller than orequal to the unsigned destination.

1.     JBE(Jump if not below or equal)2.     JNA(Jump if not above)/JBE(Jump if not below or equal)3.     JNA(Jump if not above)4.     No Jump fot This       Correct Choice : 2                          From Lectuer # 9

www.vugujranwala.com

1.     Literal2.     Variable3.     Label4.     Starting point       Correct Choice : 3                          From Lectuer # 10

www.vugujranwala.com

1.     Shl2.     sar3.     Shr4.     Sal       Correct Choice : 3                          From Lectuer # 10

www.vugujranwala.com

1.     Shl2.     sar3.     Shr4.     Sal       Correct Choice : 1                          From Lectuer # 10

www.vugujranwala.com

96 - ADC has _________ operands.1.     two2.     three3.     Five4.     Zero       Correct Choice : 2                          From Lectuer # 10

www.vugujranwala.com

97 - 90 is the op-code of1.     Do nothing2.     Add

page 15 / 23

Page 16: MCQS

3.     Subtract4.     Multiplication       Correct Choice : 1                          From Lectuer # 10

www.vugujranwala.com

98 - Numbers of any size can be added using a proper combination of __________.1.     ADD and ADC2.     ABD and ADC3.     ADC and ADC4.     None of the Given       Correct Choice : 1                          From Lectuer # 11

www.vugujranwala.com

99 - Like addition with carry there is an instruction to subtract with borrowscalled____________.

1.     SwB2.     SBB3.     SBC4.     SBBC       Correct Choice : 2                          From Lectuer # 11

www.vugujranwala.com

1.     16 AND2.     17 AND3.     32 AND4.     8 AND       Correct Choice : 1                          From Lectuer # 12

www.vugujranwala.com

101 - ____________can be used to check whether particular bits of a number are set ornot.

1.     AND2.     OR3.     XOR4.     NOT       Correct Choice : 1                          From Lectuer # 12

www.vugujranwala.com

102 - __________can also be used as a masking operation to invert selective bits.1.     AND2.     OR3.     XOR4.     NOT       Correct Choice : 3                          From Lectuer # 12

www.vugujranwala.com

103 - Masking Operations are Selective Bit ______________________1.     Clearing, XOR, Inversion and Testing2.     Clearing, Setting, Inversion and Testing3.     Clearing, XOR, AND and Testing4.     None of the Given       Correct Choice : 2                          From Lectuer # 12

www.vugujranwala.com

page 16 / 23

Page 17: MCQS

104 - The ____________ instruction allows temporary diversion and therefore reusabilityof code.

1.     CALL2.     RET3.     AND4.     XOR       Correct Choice : 1                          From Lectuer # 13

www.vugujranwala.com

105 - CALL takes a label as _____________ and execution starts from that label,1.     argument2.     Lable3.     TXt4.     Register       Correct Choice : 1                          From Lectuer # 13

www.vugujranwala.com

106 - When the __________instruction is encountered and it takes execution back to theinstruction following the CALL.

1.     CALL2.     RET3.     AND4.     XOR       Correct Choice : 2                          From Lectuer # 13

www.vugujranwala.com

107 - _______________________ Both the instructions are commonly used as a pair,however technically they are independent in their operation.

1.     RET and ADC2.     Cal and SSb3.     CALL and RET4.     ADC and SSB       Correct Choice : 3                          From Lectuer # 13

www.vugujranwala.com

108 - The CALL mechanism breaks the thread of execution and does not changeregisters, except ____________.

1.     SI2.     IP3.     DI4.     SP       Correct Choice : 2                          From Lectuer # 13

www.vugujranwala.com

109 - Which type of Rotation it is "Every bit moves one position to the right and the bitdropped from the right is inserted at the eft. This bit is also copied into the carry flag."

1.     ROL2.     RCR3.     RCL4.     ROR       Correct Choice : 4                          From Lectuer # 13

www.vugujranwala.com

110 - SHL and SAL are same

page 17 / 23

Page 18: MCQS

1.     TRUE2.     FALSE3.     4.            Correct Choice : 1                          From Lectuer # 13

www.vugujranwala.com

111 - Which type of shifting is "Inserts a zero from the left and moves every bit oneposition to the right and copies the rightmost bit in the carry flag."

1.     SHL2.     SAL3.     SAR4.     SHR       Correct Choice : 4                          From Lectuer # 13

www.vugujranwala.com

112 - Stack is a ______ that behaves in a first in last out manner.1.     Program2.     data structure3.     Heap4.     None of the Given       Correct Choice : 2                          From Lectuer # 14

www.vugujranwala.com

113 - If ____________ is not available, stack clearing by the callee is a complicatedprocess.

1.     CALL2.     SBB3.     RET n4.     None of the Given       Correct Choice : 3                          From Lectuer # 14

www.vugujranwala.com

114 - When the stack will eventually become full, SP will reach 0, and thereafterwraparound producing unexpected results. This is called stack ________

1.     Overflow2.     Leakage3.     Error4.     Pointer       Correct Choice : 1                          From Lectuer # 14

www.vugujranwala.com

115 - The pop operation makes a copy from the top of the stack into its_______________.1.     Register2.     operand3.     RET n4.     Pointer       Correct Choice : 2                          From Lectuer # 14

www.vugujranwala.com

116 - _______________decrements SP (the stack pointer) by two and then transfers aword from the source operand to the top of stack

1.     PUSH2.     POP

page 18 / 23

Page 19: MCQS

3.     CALL4.     RET       Correct Choice : 1                          From Lectuer # 14

www.vugujranwala.com

117 - POP transfers the word at the current top of stack (pointed to by SP) to thedestination operand and then __________ SP by two to point to the new top of stack.

1.     increments2.     dcrements3.     ++4.     --       Correct Choice : 1                          From Lectuer # 14

www.vugujranwala.com

1.     POP, ADC2.     CALL, RET3.     CALL, RET n4.     PUSH, POP       Correct Choice : 4                          From Lectuer # 14

www.vugujranwala.com

119 - To access the arguments from the stack, the immediate idea that strikes is to__________ them off the stack.

1.     PUSH2.     POP3.     CALL4.     Rrgister       Correct Choice : 2                          From Lectuer # 15

www.vugujranwala.com

120 - push bpwe are ________________

1.     sending bp copy to stack2.     making bp copy from stack3.     pushing bp on the stack4.     doing nothing       Correct Choice : 3                          From Lectuer # 15

www.vugujranwala.com

121 - Local Variables means variables that are used within the ___________________1.     Subroutine2.     Program3.     CALL4.     Label       Correct Choice : 1                          From Lectuer # 15

www.vugujranwala.com

122 - Standard ASCII has 128 characters with assigned numbers from ________.1.     1to 1292.     0 to 1273.     0 to 1284.     None of the Given       Correct Choice : 2                          From Lectuer # 16

page 19 / 23

Page 20: MCQS

www.vugujranwala.com

1.     0x602.     0x903.     0x304.     0x40       Correct Choice : 4                          From Lectuer # 16

www.vugujranwala.com

124 - Which bit is refer to the Blinking of foreground character1.     62.     73.     54.     3       Correct Choice : 2                          From Lectuer # 16

www.vugujranwala.com

125 - Which bit is refer to the Intensity component of foreground color1.     42.     53.     34.     7       Correct Choice : 3                          From Lectuer # 16

www.vugujranwala.com

126 - Which bit is refer to the Green component of background color1.     12.     53.     34.     7       Correct Choice : 2                          From Lectuer # 16

www.vugujranwala.com

127 - Which bit is refer to the Green component of foreground color1.     12.     53.     34.     7       Correct Choice : 1                          From Lectuer # 16

www.vugujranwala.com

128 - String can be indicate bye given1.     db 0x61, 0x61, 0x632.     db 'a', 'b', 'c'3.     db 'abc'4.     All of the above       Correct Choice : 4                          From Lectuer # 16

www.vugujranwala.com

129 - The first form divides a 32bit number in DX:AX by its 16bit operand and stores the___________ quotient in AX

1.     16bit2.     17bit3.     32bit

page 20 / 23

Page 21: MCQS

4.     64bit       Correct Choice : 1                          From Lectuer # 17

www.vugujranwala.com

130 - The ___________ (division) used in the process is integer division and not floatingpoint division.

1.     DIV instruction2.     ADC instruction3.     SSB instruction4.     DIVI instruction       Correct Choice : 1                          From Lectuer # 17

www.vugujranwala.com

131 - ______________(multiply) performs an unsigned multiplication of the sourceoperand and the accumulator.

1.     Multi2.     DIV3.     MUL4.     Move       Correct Choice : 3                          From Lectuer # 18

www.vugujranwala.com

132 - The desired location on the screen can be calculated with the following formulae.1.     location = ( hypos * 80 + SP ) * 32.     location = ( hypos * 80 + slocation ) * 23.     location = ( hypos * 80 + epos ) * 24.     None of the Given       Correct Choice : 3                          From Lectuer # 18

www.vugujranwala.com

133 - To play with string there are 5 instructions that are __________1.     STOS, LODS, CMPS, SCAS, and MOVS2.     MUL, DIV, ADD, ADC and MOVE3.     SSB, ADD, CMPS, ADC, and MOVS4.     None of the Given       Correct Choice : 1                          From Lectuer # 18

www.vugujranwala.com

134 - _______transfers a byte or word from register AL or AX to the string elementaddressed by ES:DI and updates DI to point to the next location.

1.     LODS2.     STOS3.     SCAS4.     MOVE       Correct Choice : 2                          From Lectuer # 18

www.vugujranwala.com

135 - ____________ transfers a byte or word from the source location DS:SI to AL or AXand updates SI to point to the next location.

1.     LODS2.     STOS3.     SCAS4.     MOVE       Correct Choice : 1                          From Lectuer # 18

page 21 / 23

Page 22: MCQS

www.vugujranwala.com

136 - _______compares a source byte or word in register AL or AX with the destinationstring element addressed by ES: DI and updates the flags.

1.     LODS2.     STOS3.     SCAS4.     MOVE       Correct Choice : 3                          From Lectuer # 18

www.vugujranwala.com

137 - ____________ repeat the following string instruction while the zero flag is set andREPNE or REPNZ repeat the following instruction while the zero flag is not set.

1.     REP or REPZ2.     REPE or REPZ3.     REPE or RPZ4.     RPE or REPZ       Correct Choice : 2                          From Lectuer # 18

www.vugujranwala.com

138 - The execution of instruction mov word [es:160], 0x1230, will print a character on thescreen at.

1.     First column of second row2.     Second column of first row3.     Second column of second row4.     First column of third row       Correct Choice : 4                          From Lectuer # 19

www.vugujranwala.com

139 - In the instruction mov word [es:160], 0x1230, 30 represents the character.1.     A2.     B3.     04.     1       Correct Choice : 3                          From Lectuer # 20

www.vugujranwala.com

140 - LES loads ______________1.     ES2.     DS3.     PS4.     LS       Correct Choice : 1                          From Lectuer # 20

www.vugujranwala.com

141 - LDS loads_______.1.     ES2.     DS3.     PS4.     LS       Correct Choice : 2                          From Lectuer # 20

www.vugujranwala.com

142 - REP allows the instruction to be repeated ____________ times allowing blocks ofmemory to be copied.

page 22 / 23

Page 23: MCQS

1.     DX2.     CX3.     BX4.     AX       Correct Choice : 2                          From Lectuer # 20

www.vugujranwala.com

143 - ___________pops IP, then CS, and then FLAGS.1.     Ret n2.     REZA3.     REPE4.     IRET       Correct Choice : 4                          From Lectuer # 21

www.vugujranwala.com

144 - ________ , Trap, Single step Interrupt1.     INT 02.     INT 13.     INT 34.     INT 0       Correct Choice : 2                          From Lectuer # 21

www.vugujranwala.com

145 - _________,NMI-Non Maskable Interrupt1.     INT 02.     INT 13.     INT 34.     INT 0       Correct Choice : 3                          From Lectuer # 21

www.vugujranwala.com

Powered by TCPDF (www.tcpdf.org)

page 23 / 23