Wilco Placement Paper : Whole Testpaper VIJAYAWADA
Wilco Placement Paper : Whole Testpaper
Wilco Placement Paper : Whole Testpaper
Wilco Placement Paper : General - other
Wilco Placement Paper : Wilco Paper Whole Testpaper
WILCO Placement Sample Question Paper
Wilco Paper
SECTION A: APPITUDE TEST 20 BITS
SECTION B: C BITS 20 BITS
SECTION C: 1 QUESTION (NOT A BIT)
IT IS LONG ANSWER
THE QUESTION IS:FIND THE NEXT PERMUTATION IN LEXICOGRAPHIC
ORDER FROM THE GIVEN PERMUTATION
NOTE: MAXIMUM QUESTIONS ARE FROM OLD QUESTION PAPERS
SECTION A:
1. THERE WERE 750 PEOPLE WHEN THE FIRST SONG WAS SUNG. AFTER EACH
SONG 50 PEOPLE ARE LEAVING THE HALL. HOWMANY SONGS ARE SUNG TO MAKE
THEM ZERO?
ANS:16
SECTION B:
1. typedef struct{
char *;
nodeptr next;
} * nodeptr;
what does nodeptr stand for?
ans:
2. 2 oranges,3 bananas and 4 apples cost Rs.15 . 3 ornages 2 bananas
1 apple costs Rs 10. what is the cost of 3 oranges, 3 bananas and
3 apples
ANs Rs 15.
3. int *x[](); means
Ans:expl: Elments of an array can,t be functions.
4. struct list{
int x;
struct list *next;
}*head;
the struct head.x =100
Ans: above is correct / wrong
expl: Before using the ptr type struct variable we have to give memory
to that .
And also when ever the struct variable is ptr then we access the
members
by "->" operator.
5.o/p=?
int i;
i=1;
i=i+2*i++;
printf(%d,i);
ans: 4
6. FILE *fp1,*fp2;
fp1=fopen("one","w")
fp2=fopen("one","w")
fputc(,A,,fp1)
fputc(,B,,fp2)
fclose(fp1)
fclose(fp2)}
a.error b. c. d.
ans: no error. But It will over writes on same file.
7.#include<malloc.h>
char *f()
{char *s=malloc(;
strcpy(s,"goodbye")}
main()
{
char *f();
printf("%c",*f()=,A,);
o/p=?
#define MAN(x,y) (x)>(y)?(x)y)
{ int i=10;j=5;k=0;
k= MAX(i++,++j)
printf(%d %d %d %d,i,j,k)}
ans:10 5 0
9) a=10;b=5; c=3;d=3;
if(a<b)&&(c=d++)
printf(%d %d %d %d a,b,c,d)
else printf("%d %d %d %d a,b,c,d);
ans:
: .............................................
10. what is o/p
#include<stdarg.h>
show(int t,va_list ptr1)
{
int a,x,i;
a=va_arg(ptr1,int)
printf("\n %d",a)
}
display(char)
{int x;
listptr;
va_star(otr,s);
n=va_arg(ptr,int);
show(x,ptr);
}
main()
{
display("hello",4,12,13,14,44);
}
a) 13 b) 12 c) 44 d) 14
.............................................
11.main()
{
printf("hello");
fork();
}
ans:
12.main()
{
int i = 10;
printf(" %d %d %d \n", ++i, i++, ++i);
}
ans:
13.#include<stdio.h>
main()
{
int *p, *c, i;
i = 5;
p = (int*) (malloc(sizeof(i)));
printf("\n%d",*p);
*p = 10;
printf("\n%d %d",i,*p);
c = (int*) calloc(2);
printf("\n%d\n",*c);
}
ans:
14.#define MAX(x,y) (x) >(y)?(x)y)
main()
{
int i=10,j=5,k=0;
k= MAX(i++,++j);
printf("%d..%d..%d",i,j,k);
}
ans:
15.#include <stdio.h>
main()
{
enum _tag{ left=10, right, front=100, back};
printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back);
}
ans:
16.main()
{
int a=10,b=20;
a>=5?b=100:b=200;
printf("%d\n",b);
}
ans:
17.#define PRINT(int) printf("int = %d ",int)
main()
{
int x,y,z;
x=03;y=02;z=01;
PRINT(x^x);
z<<=3;PRINT(x);
y>>=3;PRINT(y);
}
ans:
18.
#include<stdio.h>
main()
{
char s[] = "Bouquets and Brickbats";
printf("\n%c, ",*(&s[2]));
printf("%s, ",s+5);
printf("\n%s",s);
printf("\n%c",*(s+2));
}
ans:
19.
main()
{
struct s1
{
char *str;
struct s1 *ptr;
};
static struct s1 arr[] = { {"Hyderabad",arr+1},
{"Bangalore",arr+2},
{"Delhi",arr}
};
struct s1 *p[3];
int i;
for(i=0;i<=2;i++)
p[i] = arr[i].ptr;
printf("%s\n",(*p)->str);
printf("%s\n",(++*p)->str);
printf("%s\n",((*p)++)->str);
}
ans:
20.main()
{
char *p = "hello world!";
p[0] = ,H,;
printf("%s",p);
}
ans:
Wilco Placement Paper : Wilco Paper General - other
ADP-Wilco Placement sample question papers
ADP WILCO off-campus at vijayawada.
1.Written Test:
--------------------
This consists of 4-sections.Duration - 1Hr 20 Min
i).Aptitude-40 questions(20 from verbal 20 from
quantative)
Each question carries 1 mark
Verbal section consists 10 analogies and 10 fill
in blanks. Analogies are easy if u study verbal
reasoning by R.s Agrawal.Similarly fill in the
blanks.No synonyms or antonyms.
some of Analogies are 1.calssmates:class
2.sound:echo
3.geyser:steam
Some of Fill in blanks are
1.Unlike other creatures,who are shaped largely
by their_______
environment,human beings are products of a
culture accumulated over centuries,yet one
htat a constantly being______by infusion of
new information from everywhere.
a)harsh...unconfirmed
b)surrounding.....upheld
c)immediate...transformed
d)natural....mechanized
2)In their preface,the collection,s editor
plead that certain of the important articles
they______were published too recently for
inclusion,but in the case of many such
articles,this____is not valid.
a)discussed..replacement b)omitted..excuse
c)revised..clarification
d)disparaged..justification
e)ignored...endorsement
3)For centuries animals have been used as
___for people in experiments to asses the
effects of therapeutic and other agents that
might later be used in humans.
a)benefators b)companions c)examples
d)precedents
e)surrogates
4)The labor union and company,s
management, despite their long history of
unfailingly acerbic disagreement on nearly every
issue,have nevertheles reached an
unexpectedly____,albeit still tentative
agreement on next year,s contract
a)swift b)onerous c)hesitant d)reluctant e)
conclusive
5)Far from viewing Jefferson as a skeptical but
enlightened intellectual ,historians of the
1960,s protrayed him as ____thinker,eager to
fill young with his political orthodoxy while
censoring ideas he did not like.
a)adventurous b)a doctrine c)cynical
d)judicious e)ecletic
6)In response to the follies of todays,s
commercial and political worlds,the author
does not ____inflamed indignation ,but
rather___ the detatchment and smooth aphoristic prose
of an eighteenth-century wit
a)display...rails at b)rely on..avoids
c)supress... clings to
d)express...affects e)resorts to...spurns
Quant section consists of 20 questins.Many of them
were given from partnerships and intrest
rates topics.
ii). C question - 20 no
Each question carries 2 marks.
The questions will be little bit tough.Some of
them were asked on pointers mainly.
iii). In this section,u will be given a big program
code and analyze it
to answer 5 questions based upon it.
Each question carries 4 marks.
It is a vey big prog running 3 pages.I analyzed
it for 10 min.I found that it is on linked
lists.
This section is vey tough and consumes ur time.
iV).essay writing: u need to pen ur thoughts on an
topic in 100 words.
Topic: RESOLUTION: write ur thoughts.
Many of friends misintrepated as screen
resolution.It is wrong.
2.Interview(TECH and HR combined):
Each candidate has been interviewed for 15 min.3
favourite subjects need to be selected.