Technical Questions

Q:

Different IP address on same network?

Answer

There are two IP address assigned to each device on a Wi-Fi network.


 


An Internal (Private) and an External (Public) IP address.


 


Internal IP address is used for communication between Your computer and a smartphone or whatever devices that are connected to that Wifi network. This is unique for each. If they are same the system cannot differentiate between each device.


 


While, the External IP address is that visible to the the internet - the websites, the internet connected Apps so on. By default, Routers with NAT (all routers today have it) assign same Public IP address to all devices under its network.

Report Error

View answer Workspace Report Error Discuss

9 1670
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 1668
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 1663
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 1660
Q:

What are the different functions of Scheduler?

Answer

Scheduler deals with the problem of deciding which of the process in the ready queue is to be allocated the CPU. Short Term Schedulers, Long Term Schedulers

Report Error

View answer Workspace Report Error Discuss

1 1660
Q:

What are types of threads?

Answer

User thread


Kernel thread

Report Error

View answer Workspace Report Error Discuss

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

What is Marshalling?

Answer

The process of packaging and sending interface method parameters across thread or process boundaries.

Report Error

View answer Workspace Report Error Discuss

1 1657