Home Company Questions Polaris Interview Questions Polaris Interview Questions - 1

Login Form




Polaris Interview Questions - 1 Print E-mail

1. Local variables will get stored in ________

a) Stack              b) queue               c) register            d) all the above

 

2. When microprocessor encounters d HLT instruction_____

a) halts the execcution                 b) halts the execution and busses enter in to tri state                c) all the above

 

3. Which of the following interrupts has the heghest priority________

a) Rs6             b)RS7           c) INT           d) Trap

Answer :   d) trap

 

4. void main()

{

int i;for(i=1;i++;i<100)
printf("%d",i);

}

a) 10           b) 0              c)100           d) Infinite

Answer :   d) infinite

 

5. What does microprocessor does when it encounters an non maskable interrupt _______________

a) finishes d current executing instruction n then serves interrupt

b) finishes d current executing task n then serves d interrupt

c) serves d interrupt at once

d )none of these

 

6. The storage type used by microprocessor is _________

a) LIFO          b) FIFO           c) use both         d) none

Answer :  a) LIFO

 

7. Program code is stored in ________

a) Heap           b) CPU register            c) stack          d) None

 

8. void main()

{

int i;

i=(2,3);

printf("%d",i);

}

 

9. Buses in microprocessor does which of the following job ____

a) carrys the data           b) carrys the address               c) carrys the control signal             d) all the above

Answer :   d)

 

10. Register variables are stored in _______

a) heap                b) cpu register                c) stack              d) none

 

11. Use of _____________ clocking circuit is advantageous in term of use of power

a) osscillators                  b) crystal                c) none

Answer :     b)

 

12. void main()
{

int i;

for(i=0;i++;i<100)

printf("%d",i);

}

How many times does the loop executes

a) 10            b) 0           c) 100          d) infinite

Answer :          b) 0

 

13. What is the function of the kernal ____________

a) Process            b) task              c) not defined             d) none of these

 

14. A greater than B and B less than C. what is the relation between A and C ?

 

15. How many prime numbers are between 1 to 100 ?