Technical Questions

Q:

Which is the Stack used in 8085?

Answer

LIFO (Last In First Out) stack is used in 8085. in this type of Stack the last stored information can be retrieved first.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2140
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 2138
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 2137
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 2135
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 2125
Q:

Have you used Threads in Servelet?

Answer

Yes, single thread module

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2124
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 2123
Q:

What are deadlock prevention techniques?

Answer

Mutual exclusion


Hold and wait


No preemption


Circular wait

Report Error

View answer Workspace Report Error Discuss

0 2122