Technical Questions

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 1966
Q:

What are the different types of Real-Time Scheduling?

Answer

Hard real-time systems required to complete a critical task within a guaranteed amount of time.
Soft real-time computing requires that critical processes receive priority over less fortunate ones.

Report Error

View answer Workspace Report Error Discuss

1 1965
Q:

What is an idle thread?

Answer

The special thread a dispatcher will execute when no ready thread is found.

Report Error

View answer Workspace Report Error Discuss

1 1965
Q:

What is virtual memory?

Answer

Virtual memory is hardware technique where the system appears to have more memory that it actually does. This is done by time-sharing, the physical memory and storage parts of the memory one disk when they are not actively being used.

Report Error

View answer Workspace Report Error Discuss

0 1963
Q:

What would be the output of the following program?

main()

{

  int i=2 ;

  printf ("\n%d%d", ++i, ++i );

}

Answer

Output may vary from compiler to compiler.


The order of evaluation of the arguments to a function call is unspecified.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1962
Q:

Write a c program to check whether a number is strong or not.

Answer

#include<stdio.h>
int main(){
  int num,i,f,r,sum=0,temp;

  printf("Enter a number: ");
  scanf("%d",&num);
 
  temp=num;
  while(num){
      i=1,f=1;
      r=num%10;

      while(i<=r){
         f=f*i;
        i++;
      }
      sum=sum+f;
      num=num/10;
  }
  if(sum==temp)
      printf("%d is a strong number",temp);
  else
      printf("%d is not a strong number",temp);

  return 0;
}

Sample output:
Enter a number: 145
145 is a strong number

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1962
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 1960
Q:

What are java threads?

Answer

Java is one of the small number of languages that support at the language level for the creation and management of threads. However, because threads are managed by the java virtual machine (JVM), not by a user-level library or kernel, it is difficult to classify Java threads as either user- or kernel-level.

Report Error

View answer Workspace Report Error Discuss

1 1959