Computer/MCQS on addressing modes SET 2 Sample Test,Sample questions

Question:
 If the subroutine exceeds the private space allocated to it then the values are pushed onto _________

1.Stack

2.System heap

3.Reserve Space

4.Stack frame

Posted Date:-2021-03-14 23:19:29


Question:
 The assembler stores all the names and their corresponding values in _____

1.Special purpose Register

2.Symbol Table

3. Value map Set

4.None of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
 The instructions like MOV or ADD are called as ____

1.OP-Code

2.Operators

3.Commands

4.None of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
 The order in which the return addresses are generated and used is _________

1.LIFO

2. FIFO

3.Random

4.Highest priority

Posted Date:-2021-03-14 23:19:29


Question:
 When dealing with the branching code the assembler ___________

1.Replaces the target with its address

2.Does not replace until the test condition is satisfied

3. Finds the Branch offset and replaces the Branch target with it

4.Replaces the target with the value specified by the DATAWORD directive

Posted Date:-2021-03-14 23:19:29


Question:
In case of nested subroutines the return addresses are stored in __________

1.System heap

2.Special memory buffers

3. Processor stack

4.Registers

Posted Date:-2021-03-14 23:19:29


Question:
In the case of nested subroutines, the stack top is always _________

1. The saved contents of the called sub routine

2. The saved contents of the calling sub routine

3.The return addresses of the called sub routine

4.None of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
Instructions which won’t appear in the object program are called as ___

1.Redundant instructions

2.Exceptions

3.Comments

4.Assembler Directives

Posted Date:-2021-03-14 23:19:29


Question:
 The Instruction fetch phase ends with _______

1.Placing the data from the address in MAR into MDR

2.Placing the address of the data into MAR

3.Completing the execution of the data and placing its storage address into MAR

4.Decoding the data in MDR and placing it in IR

Posted Date:-2021-03-14 23:19:29


Question:
The alternate way of writing the instruction, ADD #5,R1 is _____

1.ADD [5],[R1];

2.ADDI 5,R1;

3.ADDIME 5,[R1];

4.There is no other way

Posted Date:-2021-03-14 23:19:29


Question:
The appropriate return addresses are obtained with the help of ____ in case of nested routines.

1.MAR

2. MDR

3.Buffers

4.Stack-pointers

Posted Date:-2021-03-14 23:19:29


Question:
The assembler directive EQU, when used in the instruction: Sum EQU 200 does ____

1.Finds the first occurrence of Sum and assigns value 200 to it

2.Replaces every occurrence of Sum with 200

3.Re-assigns the address of Sum by adding 200 to its original address

4.Assigns 200 bytes of memory starting the location of Sum

Posted Date:-2021-03-14 23:19:29


Question:
The assembler stores the object code in ______

1. Main memory

2. Cache

3.RAM

4.Magnetic disk

Posted Date:-2021-03-14 23:19:29


Question:
The condition flag Z is set to 1 to indicate _____

1.The operation has resulted in an error

2.The operation requires an interrupt call

3. The result is zero

4.There is no empty register available

Posted Date:-2021-03-14 23:19:29


Question:
The data structure suitable for scheduling processes is _______

1.List

2.Heap

3.Queue

4. Stack

Posted Date:-2021-03-14 23:19:29


Question:
The directive used to perform initialization before the execution of the code is ______

1.Reserve

2.Store

3.Dataword

4.EQU

Posted Date:-2021-03-14 23:19:29


Question:
The Instruction fetch phase ends with _______

1.Placing the data from the address in MAR into MDR

2.Placing the address of the data into MAR

3.Completing the execution of the data and placing its storage address into MAR

4.Decoding the data in MDR and placing it in IR

Posted Date:-2021-03-14 23:19:29


Question:
The last statement of the source program should be _______

1.Stop

2.Return

3.OP

4.End

Posted Date:-2021-03-14 23:19:29


Question:
The location to return to, from the subroutine is stored in _______

1.TLB

2.PC

3. MAR

4.Link registers

Posted Date:-2021-03-14 23:19:29


Question:
The most efficient way of handling parameter passing is by using ______

1.General purpose registers

2. Stacks

3.Memory locations

4.None of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
The most Flexible way of logging the return addresses of the subroutines is by using _______

1.Registers

2.Stacks

3.Memory locations

4. None of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
The private space gets allocated to each subroutine when _________

1.The first statement of the routine is executed

2. When the context switch takes place

3.When the routine gets called

4.When the Allocate instruction is executed

Posted Date:-2021-03-14 23:19:29


Question:
The private work space dedicated to a subroutine is called as ________

1.System heap

2. Reserve

3. Stack frame

4.Allocation

Posted Date:-2021-03-14 23:19:29


Question:
The purpose of the ORIGIN directive is ______

1.To indicate the starting position in memory, where the program block is to be stored

2.To indicate the starting of the computation code

3.To indicate the purpose of the code

4. To list the locations of all the registers used

Posted Date:-2021-03-14 23:19:29


Question:
The reserved memory or private space of the subroutine gets deallocated when _______

1.The stop instruction is executed by the routine

2.The pointer reaches the end of the space

3.When the routine’s return statement is executed

4.None of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
The return address of the Sub-routine is pointed to by ______

1.IR

2.PC

3.MAR

4.Special memory registers

Posted Date:-2021-03-14 23:19:29


Question:
The stack frame for each subroutine is present in ______

1.Main memory

2.System Heap

3.Processor Stack

4.None of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
The sub-routine service procedure is similar to that of the interrupt service routine in ________

1.Method of context switch

2.Returning

3.Process execution

4.Method of context switch & Process execution

Posted Date:-2021-03-14 23:19:29


Question:
The utility program used to bring the object code into memory for execution is _____

1.Loader

2. Fetcher

3. Extractor

4. Linker

Posted Date:-2021-03-14 23:19:29


Question:
To overcome the problems of the assembler in dealing with branching code we use ____

1.Interpreter

2.Debugger

3.Op-Assembler

4. Two-pass assembler

Posted Date:-2021-03-14 23:19:29


Question:
What is subroutine nesting?

1. Having multiple subroutines in a program

2.Using a linking nest statement to put many subroutines under the same name

3.Having one routine call the other

4.None of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
When dealing with the branching code the assembler _____

1.Replaces the target with its address

2.Does not replace until the test condition is satisfied

3.Finds the Branch offset and replaces the Branch target with it

4.Replaces the target with the value specified by the DATAWORD directive

Posted Date:-2021-03-14 23:19:29


Question:
When parameters are being passed on to the subroutines they are stored in ________

1.Registers

2.Memory locations

3.Processor stacks

4.All of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
When using Branching, the usual sequencing of the PC is altered. A new instruction is loaded which is called as ______

1.Branch target

2.Loop target

3.Forward target

4.Jump instruction

Posted Date:-2021-03-14 23:19:29


Question:
While using the iterative construct (Branching) in execution _____________ instruction is used to check the condition.

1. TestAndSet

2.Branch

3. TestCondn

4. None of the mentioned

Posted Date:-2021-03-14 23:19:29


Question:
___ directive is used to specify and assign the memory required for the block of code.

1.Allocate

2. Assign

3.Set

4. Reserve

Posted Date:-2021-03-14 23:19:29


Question:
____ the most suitable data structure used to store the return addresses in the case of nested subroutines.

1.Heap

2. Stack

3.Queue

4.List

Posted Date:-2021-03-14 23:19:29


Question:
_____ directive specifies the end of execution of a program.

1. End

2.Return

3.Stop

4.Terminate

Posted Date:-2021-03-14 23:19:29


Question:
_____ pointer is used to point to parameters passed or local parameters of the subroutine.

1. Stack pointer

2. Frame pointer

3. Parameter register

4.Log register

Posted Date:-2021-03-14 23:19:29


Question:
______ converts the programs written in assembly language into machine instructions.

1.Machine compiler

2.Interpreter

3.Assembler

4.Converter

Posted Date:-2021-03-14 23:19:29


More MCQS

  1. Computer fundamentals
  2. Computer Basic MCQS
  3. CCC MCQ Sample Paper 1
  4. CCC Exams MCQS Sample Paper Test 2
  5. Computer Basics MCQS Paper 1
  6. Computer Basics MCQS Paper 2
  7. FUNDAMENTALS OF COMPUTERS MCQs PART 2
  8. FUNDAMENTALS OF COMPUTERS MCQs PART 1
  9. FUNDAMENTALS OF COMPUTERS MCQs PART 3
  10. Computer mcqs smaple paper 1
  11. Computer mcqs smaple paper 2
  12. Computer mcqs smaple paper 3
  13. Fundamentals of Computers
  14. Fundamentals of Computers (New) Part 1
  15. Fundamentals of Computers (New) Part 2
  16. Computer Networks MCQ Questions
  17. Computer Networks Transition from IPV4 to IPV6
  18. Computer Fundamentals (New) Part 1
  19. Computer Fundamentals (New) Part 2
  20. Computer Fundamentals (New) Part 3
  21. Computer Fundamentals (New) Part 4
  22. Computer Fundamentals (New) Part 5
  23. Computer Fundamentals (New) Part 6
  24. Computer Fundamentals (New) Part 7
  25. Computer Fundamentals (New) Part 8
  26. Operating Systems MCQs Part 1
  27. Operating Systems MCQs Part 2
  28. OS(Computer Operating Systems) Part 1
  29. OS(Computer Operating Systems) Part 2
  30. OS(Computer Operating Systems) Part 3
  31. OS(Computer Operating Systems) Part 4
  32. OS - Computer Operating Systems Part 5
  33. OS - Computer Operating Systems Part 6
  34. OS - Computer Operating Systems Part 7
  35. MS Word MCQ Questions Part 1
  36. MS Word MCQ Questions Part 2
  37. MS Word MCQ Questions Part 3
  38. MS Word MCQ Questions Part 4
  39. MS Word MCQ Questions Part 5
  40. MS Word MCQ Questions Part 7
  41. MS Word MCQ Questions Part 6
  42. Microsoft Excel MCQ Questions Part 1
  43. Microsoft Excel MCQ Questions Part 2
  44. Microsoft Excel MCQ Questions Part 3
  45. Microsoft Excel MCQ Questions Part 4
  46. Microsoft Excel MCQ Questions Part 5
  47. Microsoft Excel MCQ Questions Part 6
  48. Microsoft Excel MCQ Questions Part 7
  49. MS PowerPoint MCQ Questions PART 1
  50. MS PowerPoint MCQ Questions PART 2
  51. MS PowerPoint MCQ Questions PART 3
  52. MS PowerPoint MCQ Questions PART 4
  53. MS PowerPoint MCQ Questions PART 5
  54. MS PowerPoint MCQ Questions PART 6
  55. MS PowerPoint MCQ Questions PART 7
  56. MS Access MCQ Questions Part 1
  57. MS Access MCQ Questions Part 2
  58. MS Access MCQ Questions Part 3
  59. MS Access MCQ Questions Part 4
  60. MS Access MCQ Questions Part 5
  61. MS Access MCQ Questions Part 6
  62. MS Access MCQ Questions Part 7
  63. MS Access MCQ Questions Part 8
  64. Query of MS Access MCQS Part 1
  65. Query of MS Access MCQS Part 2
  66. Data Structures and algorithms MCQ Questions
  67. Computer Communication and Networking Quiz
  68. Computer Graphics MCQ Quiz Questions and Answers
  69. Computer Basics Quiz Questions
  70. Computer Quiz Questions with Answers
  71. Computer Hardware MCQS Quiz
  72. MCQ Computer Organization & Architecture
  73. MCQ Computer Organisation - Input & output Organisation SET1
  74. MCQ Computer Organisation - Input & output Organisation SET2
  75. MCQ Computer Organisation - Input & output Organisation SET3
  76. MCQS on addressing modes SET 1
  77. MCQS on addressing modes SET 2
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!