Technical Questions

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 1924
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 1922
Q:

Point out the error, if any, in the following program.

main()

{

    int i = 4, j = 2;

    switch(i)

    {

     case 1 :

       printf (''\n To err is human, to forgive is against company policy.");

        break;

      case j :

       printf (''\n if you have nothing to do, don't do it here.");

       break;

    }

}

Answer

Constant expression required in the second case, we cannot use j.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1908
Q:

How would you eliminate the warning generated on complaining the following program?

main()

{

  char far *scr;

  scr = 0xB8000000;

  *scr = 'A';

}

Answer

Use the typecast scr = (char far *) 0xB8000000;

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1900
Q:

What is a data register and address register?

Answer

Data registers - can be assigned to a variety of functions by the programmer. They can be used with any machine instruction that performs operations on data.
Address registers - contain main memory addresses of data and instructions or they contain a portion of the address that is used in the calculation of the complete addresses.

Report Error

View answer Workspace Report Error Discuss

0 1896
Q:

What is the difference between Compiler and Interpreter?

Answer

An interpreter reads one instruction at a time and carries out the actions implied by that instruction. It does not perform any translation. But a compiler translates the entire instructions.

Report Error

View answer Workspace Report Error Discuss

1 1888
Q:

How does the browser know to go to a certain IP address When you enter a domain like google.com?

Answer

When we enter a URL such as google.com then It searches through local DNS cache, if nothing is there, it queries the ISP's DNS server to resolve the URL.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1876
Q:

In blanking operation clearance is provided on

A) Punch B) Either on punch or die depending upon designer's choice
C) Die D) Half on the punch and half on the die
 
Answer & Explanation Answer: A) Punch

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Hardware
Exam Prep: AIEEE

3 1698