2010 Polaris Placement Paper:

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. Local Variables will get stored in ____________.

a) Stack b) Queue c) Register d) All the above.

4 Register variables are stored in _________ .

a)Heap b)CPU Register c) d)None

Ans : b) CPU Rgister

5. Program code is stored in_______________

a)Heap b)CPU Register c) d)None

Ans : a)Heap(not sure)

6. Which of the following interrupts has the highest priority__________

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

Ans:Trap

7. What is the modulation used to transmit sound in TV signal?

8. What is double integration of a unit step signal?

9. What is motor is used in ceiling fan & washing m/cs: In electric traction?

10. What is 8255?

11. {
int a[]={10,20,30,40,50};

fun(a+1);

}

fun(int *p)

{ for(int i=1;i<=3;i++)

printf("%d",*(p+i));}

12. #define ADD(X,Y) X+Y
main()
{
#undef ADD(X,Y);
fun();
}
fun()
{
int y=ADD(3,2);
printf("%d",y);
}
o/p?
Runtime error(linker error): _add undefined in module

13. Which of the following is illegal
(a)void v;
(b)void *v;
(c)void **v;
(d)all are legal

int a[]={10,20,30,40,50};
fun(a+1);
}
fun(int *p)
{
for(int i=1;i<=3;i++)
printf("%d",*(p+i));
}

14. FTP is carried out in ___________ layer ?



15. in diesel engine the comp. ratio is ______ then expansion ratio(more,equal,less,...)

16 . carbon help in the improving __ of steel(ductility,malliability,hardness,machinability)

17
. pig iron is manufacture in --------blast farness

18. what is the effect of increase arc lenght in building

19. Find the sum 72, 70, 68,66,......................40?

20 .I was born on August 11. Mohan is younger to me by 11 days. This year Independence Day falls on Monday. The day on which Mohan's birthday will fall this year will be

(1) Monday
(2) Tuesday
(3) Sunday
(4) Thursday