Logo 
Search:

Interview FAQs

Submit Interview FAQ
Home » Interview FAQsRSS Feeds
Assembly Language
Comments: 0

Explain the signals HOLD, READY and SID

HOLD indicates that a peripheral such as DMA controller is requesting the use of address bus, data bus and control bus. READY is used to delay the microprocessor read or write cycles until a slow responding peripheral is ready to send or accept data....
Posted By:Sophie Campbell      Posted On: Nov 11

C++ Programming
Comments: 0

Write an algorithm for Creating Singly Linked List in dfs (data file structure).

PROCEDURE CREATE(T)
[Where ‘head’ pointer has been caught in pointer ‘T’]

1. [Allocating memory for the node & having the value from user]

Call GETNODE (T)
DATA (T) ? ‘xyz’
LINK (T) ? 0.

2. [Checking the value & calling t...
Posted By:Francesca Hughes      Posted On: Nov 10

C++ Programming
Comments: 0

Write an algorithm for Poping the Topmost element of queue using Singly Linked List in dfs.

PROCEDURE POP_QUEUE(TOP)
[Where top of the queue has been caught in pointer ‘TOP’]

1. [Removing the top node of queue]

P <-- T
TOP <-- LINK (TOP)
Call REMOVE NODE(P)
return (TOP).

2. [FINISH]
return.
Posted By:Reginheraht Fischer      Posted On: Nov 10

Assembly Language
Comments: 0

How many machine cycles does 8085 have?

The 8085 have seven machine cycles. They are
- Opcode fetch
- Memory read
- Memory write
- I/O read
- I/O write
- Interrupt acknowledge
- Bus idle
Posted By:Adalicia Fischer      Posted On: Nov 08

C++ Programming
Comments: 0

Identify the variables, which are local to the following function

int calc(int p, int n)
{
int q;
q=pow(p,n);
return(q);
}


Options

a) p and n
b) p,n, and q
c) q
d) Cannot be determined without the main() function


Answer : b) p,n, and q
Posted By:Adalgar Fischer      Posted On: Nov 08

C++ Programming
Comments: 0

What is stack in dfs (data file structure)?

Stack is a type of linear list in which insertion and deletion of an element takes place at one end. It’s basically work on the principle of LIFO.
Posted By:Joel Evans      Posted On: Nov 05

  23  24  25  26  27  28  29  30  31  32  33