Flag is a flip-flop used to store the information about the status of a processor and the status of the insturction executed most recently A software or hardware mark that signals a particular condition or status A flag is like a switch that can be either on or off The flag said to be set when it is turned on
Correct Answer: stack is portion of RAM used for saving the content of Program Counter and general purpose registers LIFO stacks, also known as "push down" stacks, are the conceptually simplest way of saving information in a temporary storage location for such common computer operations as mathematical expression evaluation and recursive subroutine calling
2. Write an RTL Description for D latch and D flip flop?
Correct Answer: A blocking assignment is one in which the statements are executed sequentially, ie, first statement is executed and variable is assigned a value then second is executed and so on A non blocking assignment is one in which statements occurs conturrently, only non blocking assignments should be used in sequential circuit eg initial begin a=b; //blocking c<=a; //nonblocking d=c; // blocking end In this example firstly the value of b is assigned to a and this value is assigned to c only after execution of first statement the second and the third statements are executed simultaneously, ie value a ais assigned to c and previous value if c is assigned to d
Correct Answer: compiler is used to translate the high-level language program into machine code at a time It doesn't require special instruction to store in a memory, it stores automatically the execution time is less compared interpreter A compiler is a program that translates a source program written in some high-level programming langualge (such as Java) into machine code for some computer architecture (such as the Inter Pentium archiecture)
7. Which transistor is used in each cell of EPROM?
Correct Answer: Cache momory is a small high-speed memory it is used for temporary storage of data & information between the main memory and the CPU(center processing unit) The cache memory is only in RAM Cache memory is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM AS the microprocessor processes data, it looks in the cache memory and if it finds the data there
Correct Answer: interrupt is a signal send by external device to the processor so as to request the processor to perform a particular work A signal informing a program that an events has occurred when a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal)
10. What are the static and dynamic hazards in logic circuits?
Correct Answer: If for a short period of time circuits goes to some different logic level then it is spposed to have then it is called static hazard eg, If the final logic value of output of given circuit becomes one vent if if is supposed to be zero then it is called static-0 Hazard and vice versa Dynamic Hazard is the one in which the circuit output goes to some other logic level more than once then finally settling down to some appropriate level