Explore topic-wise InterviewSolutions in .

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.

1.

Virtual memory consists of _________(a) Static RAM(b) Dynamic RAM(c) Magnetic memory(d) None of the mentionedI have been asked this question during an interview.Asked question is from Symbol Table Organization in chapter Symbol Table of Compiler

Answer» CORRECT OPTION is (a) STATIC RAM

Explanation: It does CONSIST of static RAM.
2.

Memory unit accessed by content is called ______(a) Read only memory(b) Programmable Memory(c) Virtual Memory(d) Associative MemoryThis question was addressed to me during an interview.This interesting question is from Runtime Storage Location topic in portion Symbol Table of Compiler

Answer»

The correct option is (d) Associative Memory

To explain I WOULD SAY: Associative Emory is ACCESSED by content.

3.

‘Aging registers’ are _______(a) Counters which indicate how long ago their associated pages have been Referenced(b) Registers which keep track of when the program was last accessed(c) Counters to keep track of last accessed instruction(d) Counters to keep track of the latest data structures referredI had been asked this question in examination.This intriguing question comes from Runtime Storage Location topic in chapter Symbol Table of Compiler

Answer»

The CORRECT CHOICE is (a) Counters which indicate how long AGO their associated pages have been Referenced

The EXPLANATION is: This is known as AGING.

4.

Logic gates with a set of input and outputs are arrangement of ___________(a) Computational circuit(b) Logic circuit(c) Design circuits(d) RegisterThis question was addressed to me by my college professor while I was bunking the class.The doubt is from Runtime Storage Location in chapter Symbol Table of Compiler

Answer» CORRECT ANSWER is (a) COMPUTATIONAL CIRCUIT

For EXPLANATION: The answer is computational circuit.
5.

PSW is saved in stack when there is a ________(a) Interrupt recognized(b) Execution of RST instruction(c) Execution of CALL instruction(d) All of the mentionedI have been asked this question in homework.I would like to ask this question from Runtime Storage Location topic in section Symbol Table of Compiler

Answer» RIGHT OPTION is (a) INTERRUPT recognized

Explanation: It can be INTERRUPTED.
6.

The load instruction is mostly used to designate a transfer from memory to a processor register known as _______(a) Accumulator(b) Instruction Register(c) Program counter(d) Memory address RegisterThis question was addressed to me in an internship interview.Query is from Runtime Storage Location in section Symbol Table of Compiler

Answer»

Right OPTION is (a) ACCUMULATOR

To EXPLAIN I would say: Accumulator is the process REGISTER.

7.

In a memory-mapped I/O system, which of the following will not be there?(a) LDA(b) IN(c) ADD(d) OUTThe question was asked in an internship interview.This intriguing question originated from Symbol Table Organization in section Symbol Table of Compiler

Answer» RIGHT CHOICE is (a) LDA

Explanation: There is no LDA.
8.

The multiplicand register & multiplier register of a hardware circuit implementing booth’s algorithm have (11101) & (1100). The result shall be ______(a) (812)10(b) (-12)10(c) (12)10(d) (-812)10The question was posed to me by my college director while I was bunking the class.My doubt is from Runtime Storage Location topic in section Symbol Table of Compiler

Answer»

The correct choice is (a) (812)10

The best EXPLANATION: On multiplying we GET 81210.

9.

Write Through technique is used in which memory for updating the data ___________(a) Virtual memory(b) Main memory(c) Auxiliary memory(d) Cache memoryThis question was addressed to me by my college director while I was bunking the class.This is a very interesting question from Symbol Table Organization topic in section Symbol Table of Compiler

Answer»

The CORRECT choice is (d) CACHE memory

The BEST I can explain: The ANSWER is cache memory.

10.

The addressing mode used in an instruction of the form ADD X Y is ________(a) Absolute(b) Indirect(c) Index(d) None of the mentionedI have been asked this question in my homework.My question comes from Symbol Table Organization topic in chapter Symbol Table of Compiler

Answer»

Right OPTION is (C) Index

To EXPLAIN: This addressing MODE is indexed.

11.

In signed-magnitude binary division, if the dividend is (11100)2 and divisor is (10011)2 then the result is _________(a) (00100)2(b) (10100)2(c) (11001)2(d) (01100)2The question was asked in semester exam.This interesting question is from Symbol Table Organization topic in chapter Symbol Table of Compiler

Answer»

The correct OPTION is (B) (10100)2

The BEST EXPLANATION: After division we get 20 which is 10100.

12.

A Stack-organised Computer uses instruction of __________(a) Indirect addressing(b) Two-addressing(c) Zero addressing(d) Index addressingThe question was asked during an interview for a job.My question is taken from Symbol Table Organization topic in portion Symbol Table of Compiler

Answer»

The correct CHOICE is (c) ZERO addressing

The best EXPLANATION: Zero addressing modes are used in STACK ORGANISED computer.

13.

_________ register keeps tracks of the instructions stored in program stored in memory.(a) AR (Address Register)(b) XR (Index Register)(c) PC (Program Counter)(d) AC (Accumulator)This question was posed to me at a job interview.My doubt stems from Runtime Storage Location topic in division Symbol Table of Compiler

Answer»

Right CHOICE is (c) PC (Program COUNTER)

EASY EXPLANATION: Program counter keeps a track.

14.

MIMD stands for __________(a) Multiple instruction multiple data(b) Multiple instruction memory data(c) Memory instruction multiple data(d) Multiple information memory dataThe question was posed to me during an internship interview.Origin of the question is Runtime Storage Location in portion Symbol Table of Compiler

Answer»

Right OPTION is (a) MULTIPLE instruction multiple DATA

Best EXPLANATION: MIMD stands for multiple instructions multiple data.

15.

The BSA instruction is ___________(a) Branch and store accumulator(b) Branch and save return address(c) Branch and shift address(d) Branch and show accumulatorThis question was addressed to me in an interview for internship.The doubt is from Runtime Storage Location topic in chapter Symbol Table of Compiler

Answer»

The CORRECT ANSWER is (b) Branch and SAVE return address

To EXPLAIN: BSA is branch and save return address.

16.

The circuit converting binary data in to decimal is_____(a) Encoder(b) Multiplexer(c) Decoder(d) Code converterI have been asked this question in a job interview.My doubt is from Runtime Storage Location in section Symbol Table of Compiler

Answer»

The CORRECT OPTION is (d) CODE CONVERTER

Easy EXPLANATION: It is the code converter.

17.

Cache memory acts between __________(a) CPU and RAM(b) RAM and ROM(c) CPU and Hard Disk(d) None of the mentionedThe question was posed to me in a national level competition.This is a very interesting question from Symbol Table Organization in chapter Symbol Table of Compiler

Answer» RIGHT answer is (a) CPU and RAM

To EXPLAIN: It ACTS between CPU and RAM.
18.

Generally Dynamic RAM is used as main memory in a computer system as it ____________(a) Consumes less power(b) Has higher speed(c) Has lower cell density(d) Needs refreshing circuitryThis question was posed to me by my college director while I was bunking the class.I need to ask this question from Symbol Table Organization in section Symbol Table of Compiler

Answer»

Correct OPTION is (b) Has higher SPEED

Best EXPLANATION: Because of higher speed it is Dynamic.

19.

An n-bit microprocessor has __________(a) n-bit program counter(b) n-bit address register(c) n-bit ALU(d) n-bit instruction registerThe question was asked in final exam.This interesting question is from Symbol Table Organization topic in chapter Symbol Table of Compiler

Answer»

The CORRECT CHOICE is (d) n-bit instruction REGISTER

To explain: N bit microprocessor has bit instruction register.

20.

In computers, subtraction is carried out generally by __________(a) 1’s complement method(b) 2’s complement method(c) signed magnitude method(d) BCD subtraction methodI had been asked this question during an online exam.I'm obligated to ask this question of Runtime Storage Location in division Symbol Table of Compiler

Answer» CORRECT OPTION is (b) 2’s complement method

Easy explanation: Subtraction DONE by 2’s complement.
21.

Von Neumann architecture is __________(a) SISD(b) SIMD(c) MIMD(d) MISDI had been asked this question in an international level competition.This is a very interesting question from Symbol Table Organization topic in section Symbol Table of Compiler

Answer» CORRECT option is (a) SISD

Easiest EXPLANATION: It is single INSTRUCTION single data.
22.

The average time required to reach a storage location in memory and obtain its contents is called __________(a) Latency time(b) Access time(c) Turnaround time(d) Response timeThe question was posed to me in an online quiz.Question is taken from Runtime Storage Location in section Symbol Table of Compiler

Answer»

The correct answer is (b) ACCESS TIME

Easy explanation: Access time is the time from the start of ONE STORAGE device access to the time when the next access can be STARTED.

23.

The circuit used to store one bit of data is known as __________(a) Encoder(b) OR gate(c) Flip Flop(d) DecoderThe question was posed to me in an online quiz.This is a very interesting question from Symbol Table Organization topic in chapter Symbol Table of Compiler

Answer»

The correct answer is (C) Flip Flop

Easiest EXPLANATION: Flip flop is 1 bit circuit.

24.

The main memory in a Personal Computer (PC) is made of __________(a) Cache memory(b) Static RAM(c) Dynamic Ram(d) Cache memory & RAMI have been asked this question during an interview for a job.My question comes from Symbol Table Organization in chapter Symbol Table of Compiler

Answer»

The correct option is (d) CACHE memory & RAM

Easy EXPLANATION: It is made up of cache memory and RAM.

25.

In a program using subroutine call instruction, it is necessary ___________(a) Initialize program counter(b) Clear the accumulator(c) Reset the microprocessor(d) Clear the instruction registerThe question was posed to me in my homework.The query is from Symbol Table Organization topic in portion Symbol Table of Compiler

Answer»

The correct ANSWER is (d) Clear the INSTRUCTION register

Best EXPLANATION: It is mandatory to clear the instruction register.

26.

In a vectored interrupt ____________(a) The branch address is assigned to a fixed location in memory(b) The interrupting source supplies the branch information to the processor through an interrupt vector(c) The branch address is obtained from a register in the processor(d) None of the mentionedI had been asked this question in an online quiz.This interesting question is from Symbol Table Organization in portion Symbol Table of Compiler

Answer»

The correct answer is (b) The INTERRUPTING source SUPPLIES the BRANCH INFORMATION to the PROCESSOR through an interrupt vector

For explanation: It branches to process the interrupt.

27.

Cache memory works on the principle of _________(a) Locality of data.(b) Locality of memory(c) Locality of reference(d) Locality of reference & memoryThe question was asked in an internship interview.My doubt stems from Symbol Table Organization topic in section Symbol Table of Compiler

Answer»

Correct option is (C) LOCALITY of reference

To explain I WOULD SAY: CACHE works on Locality of reference.

28.

The instruction ‘ORG O’ is a ______(a) Machine Instruction(b) Pseudo instruction(c) High level instruction(d) Memory instructionI got this question in an online quiz.This intriguing question comes from Runtime Storage Location in section Symbol Table of Compiler

Answer»

Right option is (B) PSEUDO INSTRUCTION

For EXPLANATION: It is a pseudo instruction.

29.

Translation from symbolic program into Binary is done in __________(a) Two passes(b) Directly(c) Three passes(d) Four passesThe question was asked in exam.This intriguing question originated from Runtime Storage Location in section Symbol Table of Compiler

Answer» CORRECT CHOICE is (a) TWO passes

The best explanation: Two passes are required.
30.

_________ register keeps track of the instructions stored in program stored in memory.(a) AR (Address Register)(b) XR (Index Register)(c) PC (Program Counter)(d) AC (Accumulator)The question was asked at a job interview.Origin of the question is Symbol Table Organization topic in section Symbol Table of Compiler

Answer»

Correct answer is (C) PC (Program COUNTER)

EASIEST EXPLANATION: Program Counter keeps track of the NEXT instruction.

31.

The time interval between adjacent bits is called the __________(a) Word-time(b) Bit-time(c) Turnaround time(d) Slice timeI have been asked this question in homework.The above asked question is from Runtime Storage Location topic in section Symbol Table of Compiler

Answer»

Right ANSWER is (B) BIT-time

The BEST explanation: Bit time is the INTERVAL time here.

32.

If memory access takes 20 ns with cache and 110 ns without it, then the ratio (cache uses a 10 ns memory) is __________(a) 93%(b) 90%(c) 88%(d) 87%This question was addressed to me in a national level competition.My doubt stems from Symbol Table Organization in division Symbol Table of Compiler

Answer»

Right choice is (B) 90%

The EXPLANATION is: The answer is 90%.

33.

A floating point number that has an O in the MSB of mantissa is said to have __________(a) Overflow(b) Underflow(c) Important number(d) UndefinedI had been asked this question during an online interview.My doubt stems from Runtime Storage Location topic in division Symbol Table of Compiler

Answer» RIGHT ANSWER is (B) UNDERFLOW

Explanation: It is an underflow CONDITION.
34.

Logic X-OR operation of (4ACO) H & (B53F) H results __________(a) AACB(b) 0000(c) FFFF(d) ABCDThis question was addressed to me during an internship interview.My question comes from Symbol Table Organization topic in division Symbol Table of Compiler

Answer»

Correct answer is (c) FFFF

The EXPLANATION is: Xoring the TWO operands we get FFFF.

35.

A k-bit field can specify any one of __________(a) 3k registers(b) 2k registers(c) K2 registers(d) K3 registersThis question was posed to me in exam.I need to ask this question from Runtime Storage Location topic in division Symbol Table of Compiler

Answer»

The CORRECT OPTION is (b) 2k registers

For explanation I would say: 2k is the ANSWER.

36.

A three input NOR gate gives logic high output only when _____________(a) One input is high(b) One input is low(c) Two input are low(d) All input are highI have been asked this question in examination.My question is taken from Runtime Storage Location in section Symbol Table of Compiler

Answer»

Correct OPTION is (d) All input are HIGH

Easy EXPLANATION: All INPUTS are high.

37.

If the main memory is of 8K bytes and the cache memory is of 2K words. It uses associative mapping. Then each word of cache memory shall be __________(a) 11 bits(b) 21 bits(c) 16 bits(d) 20 bitsI have been asked this question during an interview for a job.The doubt is from Symbol Table Organization topic in section Symbol Table of Compiler

Answer»

The correct CHOICE is (c) 16 BITS

Best explanation: Each should be 8*2=16 bits.

38.

When CPU is executing a Program that is part of the Operating System, it is said to be in __________(a) Interrupt mode(b) System mode(c) Half mode(d) Simplex modeI had been asked this question in an online interview.This question is from Symbol Table Organization topic in division Symbol Table of Compiler

Answer»

Right CHOICE is (B) SYSTEM MODE

The explanation: It is in System Mode.

39.

N bits in operation code imply that there are ___________ possible distinct Operators.(a) 2n(b) 2^n(c) n/2(d) n2I got this question in exam.This interesting question is from Runtime Storage Location topic in portion Symbol Table of Compiler

Answer»

Right option is (B) 2^n

For explanation I WOULD say: 2^n POSSIBLE combinations.

40.

A group of bits that tell the computer to perform a specific operation is known as ________(a) Instruction code(b) Micro-operation(c) Accumulator(d) RegisterThe question was asked in an interview for job.The above asked question is from Runtime Storage Location in section Symbol Table of Compiler

Answer»

Correct CHOICE is (a) INSTRUCTION code

Best EXPLANATION: Instruction code is the SET of SPECIFIC tasks to be performed.