Technical Questions

Q:

what are the various flags used in 8085?

Answer

Sign flag, Zero flag, Auxillary flag, Parity flag, Carry flag.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1878
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 1871
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 1868
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 1865
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 1848
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 1847
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 1834
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 1531