Technical Questions

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 1649
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 1649
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 1647
Q:

What is Program counter?

Answer

Program counter holds the address of either the first byte of the next instruction to be fetched for execution of the address of the next byte of a multi byte instruction, which has not been completely fetched. In both the cases it gets incremented automatically one by one as the instruction bytes get fetched. Also Program register keeps the address of the next instruction.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 1647
Q:

What are the major flags in 8086?

Answer

In 8086 Carry flag, Parity flag, Ausiliary caarry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1644
Q:

What is a deadlock?

Answer

Deadlock is a situation where a group of processes are all blocked and none of them can become unblocked until one of the other becomes unblocked. The simplest deadlock is two processes each of which is waiting for a message from the other.

Report Error

View answer Workspace Report Error Discuss

1 1643
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 1643
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 1640