2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
1st August 2014, 08:35 AM
Super Moderator
 
Join Date: Apr 2013
Re: Patni Computer Solutions placement question papers of previous years

As you want to get the Patni Computer Solutions placement question papers of previous years so here it is for you:

1. Number of Weights needed for weighing 1 to 40 kgs?
27 9 3 1 ans : 4

2. Venn diagram problem venndiagram find the formulae.
Ans. (AB+BC+CA)(A'+B'+C')

3. a+2b=6,ab=4 2/a + 1/b=?
ans : 3/2

4. age of 4 persons given in a relation find smallest age?
ans : meera

5. find floating point result
(float)25/2, float(25/2), 25/(float)2 ,25/2
ans: 1 & 3

6. find equivalent *(*(s+x)+y) == s[x][y]
ans : content of s[x][y]

7. find invalid statement : int a[3]
1. scanf("%d",a[2]);
2. scanf("%d",&a[2]);
3. scanf("%d",a);
4. all

ans : 1

8.one palindrome programme was given in recursion
ans : pal(f++,t--)

9. main program:
i=foo(2) foo(int s)
{
if(!s)
return s;
else
{ int i=5; return i}
}
ans : 5

10.Ans.
ordere of sequence fetch, decode,read
data,execute,stroe

11.
k=0 i=0j=1;
if(i0)&&(k=2) printf(k);
if(i0|| k=0)
printf(k)

ans: 2 2

12.cube is moulded as a sphere. find the ratio of cube of surface area of sphere to squareof surface area of cube. ans pi/6

13. teacher in math=4 p6=3 kmistry=3 each can take 2 subject minimum teacher needed for school
ans : 5

14. 3 vowels,4 consonents formulate string of 6 letters with a vowel in a string max no of string ?
ans: 5040

15.binnary of .6875.
0.1011

16. man walks at speed of 8 km/h 300 mtrs length train crosses man in 30 sec from back, find speed of train
ans: 44 km/hr

17. chess corner
ans : 30

18
input : " this is a line."

main()
{
char ch;
int count=0;
while((ch = getch() != '
')
{
while (ch == ' ')
ch = getch();
while((ch!=' ') && (ch!='.'))
{
count++;
ch=getch();
}
}

ans : 11

19. radius of a circle is 5cm , if we draw a rectangle of maximum size, what is the area of rectangle
ans : 50 cmsq

20.
main()
{
int i;
for(i=0;i<3;i++)
switch(i)
{
case 1: printf("%d",i);
case 2 : printf("%d",i);
default: printf("%d"i);
}
}
ans 011122


Tags
placement, previous papers

Quick Reply
Your Username: Click here to log in

Message:
Options

Thread Tools Search this Thread



All times are GMT +5. The time now is 03:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4