Technical Questions

Q:

What is process synchronization?

Answer

A situation, where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called race condition. To guard against the race condition we need to ensure that only one process at a time can be manipulating the same data. The technique we use for this is called process synchronization.

Report Error

View answer Workspace Report Error Discuss

1 1815
Q:

Have you used Threads in Servelet?

Answer

Yes, single thread module

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1815
Q:

What is relative path and absolute path?

Answer

Absolute path-- Exact path from root directory.

Relative path-- Relative to the current path.

Report Error

View answer Workspace Report Error Discuss

1 1814
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 1814
Q:

What are types of threads?

Answer

User thread


Kernel thread

Report Error

View answer Workspace Report Error Discuss

1 1812
Q:

Differ between static and dynamic RAM?

Answer

Static RAM: no refreshing, 6 to 8 MOS transistors are required to form one memory cell, information stored as voltage level in flip flop. 


Dynamic RAM: refreshed periodically, 3 to 4 transistors are required to form one memory cell, information is  stored as a charge in the gate to substrate capacitance.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 1812
Q:

C program to find the factorial of a given number

Answer

 #include<stdio.h>
int main(){
  int i=1,f=1,num;

  printf("Enter a number: ");
  scanf("%d",&num);

  while(i<=num){
      f=f*i;
      i++;
  }

  printf("Factorial of %d is: %d",num,f);
  return 0;
}

Sample output:
Enter a number: 5
Factorial of 5 is: 120

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1811
Q:

What is a job queue?

Answer

When a process enters the system it is placed in the job queue.

Report Error

View answer Workspace Report Error Discuss

0 1808