InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
When using the Big Endian assignment to store a number, the sign bit of the number is stored in _____(a) The higher order byte of the word(b) The lower order byte of the word(c) Can’t say(d) None of the mentionedI had been asked this question in an international level competition.Query is from Memory Locations and Addresses topic in division Machine Instructions and Programs of Computer Architecture |
|
Answer» Correct CHOICE is (a) The higher ORDER BYTE of the word |
|
| 52. |
When we perform subtraction on -7 and -5 the answer in 2’s complement form is ________(a) 11110(b) 1110(c) 1010(d) 0010The question was posed to me in an online interview.This interesting question is from Numbers and Arithmetic Operations in section Machine Instructions and Programs of Computer Architecture |
|
Answer» Correct OPTION is (b) 1110 |
|
| 53. |
The alternate way of writing the instruction, ADD #5,R1 is ______(a) ADD [5],[R1];(b) ADDI 5,R1;(c) ADDIME 5,[R1];(d) There is no other wayThe question was asked during an online interview.My question comes from Assembly Language topic in chapter Machine Instructions and Programs of Computer Architecture |
|
Answer» Right answer is (B) ADDI 5,R1; |
|
| 54. |
The utility program used to bring the object code into memory for execution is ______(a) Loader(b) Fetcher(c) Extractor(d) LinkerThis question was addressed to me in quiz.My question is based upon Assembly Language topic in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» Correct OPTION is (a) Loader |
|
| 55. |
Can you perform an addition on three operands simultaneously in ALN using Add instruction?(a) Yes(b) Not possible using Add, we’ve to use AddSetCC(c) Not permitted(d) None of the mentionedI have been asked this question in an online interview.My question is from Instructions and Instruction Sequencing topic in section Machine Instructions and Programs of Computer Architecture |
|
Answer» The CORRECT CHOICE is (c) Not permitted |
|
| 56. |
The addressing mode which makes use of in-direction pointers is ______(a) Indirect addressing mode(b) Index addressing mode(c) Relative addressing mode(d) Offset addressing modeThis question was posed to me during an online interview.The query is from Addressing Modes in section Machine Instructions and Programs of Computer Architecture |
|
Answer» The correct answer is (a) Indirect ADDRESSING mode |
|
| 57. |
What is subroutine nesting?(a) Having multiple subroutines in a program(b) Using a linking nest statement to put many subroutines under the same name(c) Having one routine call the other(d) None of the mentionedI had been asked this question by my school principal while I was bunking the class.Question is from Subroutines and Nesting topic in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» RIGHT ANSWER is (c) Having ONE routine CALL the other Explanation: None. |
|
| 58. |
In the case of nested subroutines, the stack top is always _________(a) The saved contents of the called sub routine(b) The saved contents of the calling sub routine(c) The return addresses of the called sub routine(d) None of the mentionedI got this question in an international level competition.This interesting question is from Parameter Passing and Stack Frame in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» Right choice is (a) The saved CONTENTS of the CALLED sub routine |
|
| 59. |
The last statement of the source program should be _______(a) Stop(b) Return(c) OP(d) EndThe question was posed to me in exam.This interesting question is from Assembly Language in section Machine Instructions and Programs of Computer Architecture |
|
Answer» CORRECT choice is (d) End Easy EXPLANATION: This enables the PROCESSOR to load some other PROCESS. |
|
| 60. |
The instructions like MOV or ADD are called as ______(a) OP-Code(b) Operators(c) Commands(d) None of the mentionedI have been asked this question in an interview for job.Enquiry is from Assembly Language in section Machine Instructions and Programs of Computer Architecture |
|
Answer» The correct option is (a) OP-Code |
|
| 61. |
The two phases of executing an instruction are __________(a) Instruction decoding and storage(b) Instruction fetch and instruction execution(c) Instruction execution and storage(d) Instruction fetch and Instruction processingI had been asked this question in semester exam.My enquiry is from Instructions and Instruction Sequencing in division Machine Instructions and Programs of Computer Architecture |
|
Answer» CORRECT OPTION is (B) Instruction fetch and instruction execution Explanation: FIRST, the instructions are FETCHED and decoded and then they’re executed and stored. |
|
| 62. |
RTN stands for ___________(a) Register Transfer Notation(b) Register Transmission Notation(c) Regular Transmission Notation(d) Regular Transfer NotationThe question was posed to me during an interview for a job.Enquiry is from Instructions and Instruction Sequencing topic in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» Correct option is (a) Register TRANSFER Notation |
|
| 63. |
In a normal n-bit adder, to find out if an overflow as occurred we make use of ________(a) And gate(b) Nand gate(c) Nor gate(d) Xor gateThis question was posed to me in semester exam.My doubt stems from Numbers and Arithmetic Operations in section Machine Instructions and Programs of Computer Architecture |
|
Answer» CORRECT CHOICE is (d) XOR gate The EXPLANATION is: NONE. |
|
| 64. |
When parameters are being passed on to the subroutines they are stored in ________(a) Registers(b) Memory locations(c) Processor stacks(d) All of the mentionedThe question was asked in an international level competition.My doubt is from Subroutines and Nesting topic in division Machine Instructions and Programs of Computer Architecture |
|
Answer» RIGHT OPTION is (d) All of the mentioned For EXPLANATION I would say: In the case of, parameter PASSING the data can be stored on any of the storage space. |
|
| 65. |
The order in which the return addresses are generated and used is _________(a) LIFO(b) FIFO(c) Random(d) Highest priorityI had been asked this question during an online exam.The query is from Subroutines and Nesting topic in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» RIGHT ANSWER is (a) LIFO To EXPLAIN I WOULD say: That is the routine called first is returned first. |
|
| 66. |
When using Branching, the usual sequencing of the PC is altered. A new instruction is loaded which is called as ______(a) Branch target(b) Loop target(c) Forward target(d) Jump instructionI had been asked this question during an interview for a job.This interesting question is from Instructions and Instruction Sequencing in chapter Machine Instructions and Programs of Computer Architecture |
|
Answer» RIGHT ANSWER is (a) BRANCH target Easy EXPLANATION: NONE. |
|
| 67. |
The purpose of the ORIGIN directive is __________(a) To indicate the starting position in memory, where the program block is to be stored(b) To indicate the starting of the computation code(c) To indicate the purpose of the code(d) To list the locations of all the registers usedI had been asked this question by my college professor while I was bunking the class.Enquiry is from Assembly Language topic in division Machine Instructions and Programs of Computer Architecture |
|
Answer» RIGHT choice is (a) To indicate the starting position in memory, where the PROGRAM block is to be stored For explanation I would say: This does the FUNCTION similar to the main STATEMENT. |
|
| 68. |
While using the iterative construct (Branching) in execution _____________ instruction is used to check the condition.(a) TestAndSet(b) Branch(c) TestCondn(d) None of the mentionedI had been asked this question in an interview for job.I need to ask this question from Instructions and Instruction Sequencing topic in section Machine Instructions and Programs of Computer Architecture |
|
Answer» The CORRECT answer is (b) Branch |
|
| 69. |
In some pipelined systems, a different instruction is used to add to numbers which can affect the flags upon execution. That instruction is _______(a) AddSetCC(b) AddCC(c) Add++(d) SumSetCCThis question was addressed to me in examination.The query is from Numbers and Arithmetic Operations topic in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» RIGHT ANSWER is (a) AddSetCC For explanation: By using this INSTRUCTION the CONDITION FLAGS won’t be affected at all. |
|
| 70. |
Which method of representation has two representations for ‘0’?(a) Sign-magnitude(b) 1’s complement(c) 2’s complement(d) None of the mentionedThis question was addressed to me during an interview.I'm obligated to ask this question of Numbers and Arithmetic Operations in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» The CORRECT OPTION is (a) Sign-magnitude |
|
| 71. |
Which representation is most efficient to perform arithmetic operations on the numbers?(a) Sign-magnitude(b) 1’s complement(c) 2’S complement(d) None of the mentionedThe question was posed to me in quiz.The question is from Numbers and Arithmetic Operations in section Machine Instructions and Programs of Computer Architecture |
|
Answer» Right CHOICE is (c) 2’S complement |
|
| 72. |
Instructions which won’t appear in the object program are called as _____(a) Redundant instructions(b) Exceptions(c) Comments(d) Assembler DirectivesThis question was addressed to me during an interview.Origin of the question is Assembly Language in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» Correct choice is (d) Assembler Directives |
|
| 73. |
The appropriate return addresses are obtained with the help of ____ in case of nested routines.(a) MAR(b) MDR(c) Buffers(d) Stack-pointersThis question was addressed to me during an internship interview.I would like to ask this question from Subroutines and Nesting topic in chapter Machine Instructions and Programs of Computer Architecture |
|
Answer» RIGHT choice is (d) Stack-pointers The EXPLANATION is: The pointers are USED to point to the location on the stack where the ADDRESS is STORED. |
|
| 74. |
The instruction, Add #45,R1 does _______(a) Adds the value of 45 to the address of R1 and stores 45 in that address(b) Adds 45 to the value of R1 and stores it in R1(c) Finds the memory location 45 and adds that content to that of R1(d) None of the mentionedThis question was addressed to me in semester exam.My question is taken from Addressing Modes in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» Right option is (B) ADDS 45 to the value of R1 and STORES it in R1 |
|
| 75. |
During the transfer of data between the processor and memory we use______(a) Cache(b) TLB(c) Buffers(d) RegistersThis question was posed to me in exam.The origin of the question is Memory Locations and Addresses topic in division Machine Instructions and Programs of Computer Architecture |
|
Answer» Correct CHOICE is (d) Registers |
|
| 76. |
The assembler stores all the names and their corresponding values in ______(a) Special purpose Register(b) Symbol Table(c) Value map Set(d) None of the mentionedThis question was addressed to me in an online quiz.Question is taken from Assembly Language topic in section Machine Instructions and Programs of Computer Architecture |
|
Answer» RIGHT choice is (b) Symbol Table To explain I WOULD say: The table where the assembler stores the variable names ALONG with their CORRESPONDING MEMORY locations and values. |
|
| 77. |
Add #45, when this instruction is executed the following happen/s _______(a) The processor raises an error and requests for one more operand(b) The value stored in memory location 45 is retrieved and one more operand is requested(c) The value 45 gets added to the value on the stack and is pushed onto the stack(d) None of the mentionedThe question was asked in homework.Origin of the question is Addressing Modes in chapter Machine Instructions and Programs of Computer Architecture |
|
Answer» CORRECT choice is (b) The value stored in MEMORY location 45 is retrieved and one more operand is requested To EXPLAIN I would say: None. |
|
| 78. |
The most efficient way of handling parameter passing is by using ______(a) General purpose registers(b) Stacks(c) Memory locations(d) None of the mentionedThis question was addressed to me during an interview for a job.The above asked question is from Subroutines and Nesting in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» Correct option is (a) GENERAL purpose REGISTERS |
|
| 79. |
The return address of the Sub-routine is pointed to by _______(a) IR(b) PC(c) MAR(d) Special memory registersThe question was asked during an internship interview.This is a very interesting question from Subroutines and Nesting topic in chapter Machine Instructions and Programs of Computer Architecture |
|
Answer» Correct ANSWER is (b) PC |
|
| 80. |
__________ converts the programs written in assembly language into machine instructions.(a) Machine compiler(b) Interpreter(c) Assembler(d) ConverterThe question was asked in examination.I need to ask this question from Assembly Language topic in division Machine Instructions and Programs of Computer Architecture |
|
Answer» The correct choice is (c) Assembler |
|
| 81. |
Add #%01011101,R1 , when this instruction is executed then _________(a) The binary addition between the operands takes place(b) The Numerical value represented by the binary value is added to the value of R1(c) The addition doesn’t take place, whereas this is similar to a MOV instruction(d) None of the mentionedI have been asked this question during an interview.I'd like to ask this question from Memory Operations and Management in portion Machine Instructions and Programs of Computer Architecture |
|
Answer» CORRECT answer is (a) The binary addition between the OPERANDS takes place Easiest explanation: This PERFORMS operations in binary mode DIRECTLY. |
|