Technical Questions

Q:

What is a device queue?

Answer

A list of processes waiting for a particular I/O device is called device queue.

Report Error

View answer Workspace Report Error Discuss

0 1632
Q:

Where's MBR located on the disk?

Answer

Main Boot Record is located is sector 0, track 0, head 0, cylinder 0 of the primary active partition.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1632
Q:

What is SMP?

Answer

To achieve maximum efficiency and reliability a mode of operation known as symmetric multiprocessing is used. In essence, with SMP any process or threads can be assigned to any processor.

Report Error

View answer Workspace Report Error Discuss

1 1631
Q:

What are * and? when using them for wildcards in windows?

Answer

* - any characters, aribitary among


? - single character

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1629
Q:

What is cycle stealing?

Answer

We encounter cycle stealing in the context of Direct Memory Access (DMA). Either the DMA controller can use the data bus when the CPU does not need it, or it may force the CPU to temporarily suspend operation. The latter technique is called cycle stealing. Note that cycle stealing can be done only at specific break points in an instruction cycle.

Report Error

View answer Workspace Report Error Discuss

0 1628
Q:

What is mutex?

Answer

Mutex is a program object that allows multiple program threads to share the same resource, such as file access, but not simultaneously. When a program is started a mutex is created woth a unique name. After this stage, any thread that needs the resource must lock the mutex from other threads while it is using the resource. the mutex is set to unlock when the data is no longer needed or the routine is finished.

Report Error

View answer Workspace Report Error Discuss

1 1627
Q:

What is meant by a bus?

Answer

A bus is a group of conducting lines that carriers data, address, & control signals.


A bus is two or many wire communication method. A bus which communicate between two active devices, it may transfer address, data etc..

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1626
Q:

Why we use do-while loop in c?

Answer

It is also called as post tested loop. It is used when it is necessary to execute the loop at least one time. Syntax:

do {
Loop body
} while (Expression);

Example:

int main(){
    int num,i=0;  
    do{
         printf("To enter press 1\n");
         printf("To exit press  2");
         scanf("%d",&num);
         ++i;
         switch(num){
             case 1:printf("You are welcome\n");break;
             default : exit(0);
         }
    }
    while(i<=10);
    return 0;
}

Output: 3 3 4 4

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1624