-->



Polaris Placement Paper



Section 1.
1)
void main()
{
int i;
i=(2,3);
printf("%d",i);
}
a) 2
b) 3
c) garbage value.
d)none of these.
Ans : b)3.

2)
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
Ans : b)0

3)
void main()
{
int i;
for(i=1;i++;i<100)
printf("%d",i);
}
How many times does the loop executes
a) 10
b) 0
c)100
d)Infinite
Ans : d)infinite

4)
void main()
{
char c[ ]="cdef";
printf("%d %d",sizeof(c),strlen(c));
}
a) 5 4
b) 4 5
c) 2 5
d) none of these
Ans: a) 5 4

5) Local Variables will get stored in ____________.
a) Stack
b) Queue
c) Register
d) All the above.
Ans: b) Queue (not sure)

6) Register variables are stored in _________ .
a) Heap
b) CPU Register
d) None
Ans : b) CPU Rgister

7) Program code is stored in_______________
a) Heap
b) CPU Register
d) None
Ans : a)Heap (not sure)

8) Which of the following interrupts has the highest priority __________
a) RS6
b) RS7
c) INT
d) Trap
Ans: Trap

9)What is the function of the kernel__________
a) Process
b) Task
c) Not Defined
d) none of these

10)What does Microprocessor does When it encounters an non maskable interrupt______________
a) Finishes the current executing instruction and then serves theinterrupt.
b) Finishes the current executing task and then serves the interrupt.
c) Serves the interrupt at once.
d) none of the above
Ans : a)Finishes the current executing instruction and then serves the interrupt.(Not sure)

11)The storage type used by micro processor is________________
a) LIFO
b) FIFO
c) Uses Both alternatively d)none.
Ans : a)LIFO.

12)Using of ___________ clocking circuit is asvantageous in terms of usage of power.
a) Oscillaor
b) Crystal
c) none
Ans : b)Crystal

13)When microprocessor encounters the HLT instruction _______________
a) Halts the executions.
b) Halts the executions and busses enter into tri state.
d) All the above.

14)Busses in Microprocessor Does which of the following job(s)
a) Carrys the data.
b) Carrys the address.
c) Carrys the control signal.
d) All the above.
Ans : d)All the above.
Polaris placement paper

Polaris
placement paper-1

Polaris placement paper

Polaris
placement paper-3