Technical Questions

Q:

What are system calls?

Answer

System calls provide the interface between a process and the operating system. System calls for modern Microsoft windows platforms are part of the win32 API, which is available for all the compilers written for Microsoft windows.

Report Error

View answer Workspace Report Error Discuss

1 1772
Q:

What are types of threads?

Answer

User thread


Kernel thread

Report Error

View answer Workspace Report Error Discuss

1 1771
Q:

What is SCSI?

Answer

SCSI - Small computer systems interface is a type of interface used for computer components such as hard drives, optical drives, scanners and tape drives. It is a competing technology to standard IDE (Integrated Drive Electronics).

Report Error

View answer Workspace Report Error Discuss

0 1771
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 1770
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 1769
Q:

Have you used Threads in Servelet?

Answer

Yes, single thread module

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1768
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 1767
Q:

What is flag?

Answer

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.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1767