Вы находитесь на странице: 1из 3

Welcome to Accenture Placement Paper 2009.

Here you will find Accenture Placement Paper Pattern


and Download questions of Accenture Placement Paper 2009 with Answers & Solutions.
1. include
!oid main"#
$
char s%&'()a*cd)+
char s2&%0'+
char s,&'()ef-h)+
int i+
clrscr"#+
i(strcmp"strcat"s,.ctrcpy"s2.s%##strcat"s,.)a*cd)##+
printf")/d).i#+
0
What will *e the output1
A#2o output 3# A 2on 4nte-er 5#0 D# 6ar*a-e
2. 7oo8 at the 5ode9
main"#
$
int a&'($%.2.,0.i+
for"i(0+i:,+i;;#
$
printf")/d).<a#+
a;;+
0
0
3. Which Statement is=are >rue w.r.t the a*o!e code1
4.?@ecutes Successfully & Prints the contents of the array
44.6i!es the ?rror97!alue Aequired
444.>he address of the array should not *e chan-ed
4B.2one of the A*o!e.
A#Cnly 4 3#Cnly 44 5#44 & 444 D#4B
4. study the code9
include
!oid main"#
$
const int a(%00+
int <p+
p(&a+
"<p#;;+
printf")a(/dn"<p#(/dn).a.<p#+
0
What is printed1
A#%00.%0% 3#%00.%00 5#%0%.%0% D#2one of the a*o!e
5. Which of the followin- are !alid DincludeE formats1
A#include and include&file.h'
3#include "file.h# and include
5#include &file.h' and include Dfile.hE
D#include and include Dfile.hE
6. wor8 can *e done *y F men and %0 women in 2G days. the same wor8 can *e done *y %0 children
and G women . in how many days 2 children and , men "similar to this#
7. one man or two women or three *oys can do a wor8 in HH days then one man. one women and one
*oy to-ether can fininsh the same wor8 in IIII dyas
8. "99FI%# "99FI2# "99FI,#1111.. "99FIn#(IIIIIII when nJ%000 ans is Kero
9.Study the Lollowin- Points9
a.Cne 5annot >a8e the address of a 3it Lield
*.*it fields cannot *e arrayed
c.3itILields are machine Dependant
d.3itIfields cannot *e declared as static
Which of the Lollowin- Statements are true w.r.t 3itILields
A#a.*&c 3#Cnly a & * 5#Cnly c D#All
10. What is the function of ceil"M# defined in math.h do1
A#4t returns the !alue rounded down to the ne@t lower inte-er
3#it returns the !alue rounded up to the ne@t hi-her inte-er
5#the 2e@t Hi-her Balue
D#the ne@t lower !alue
11.>he ratio *etween the radius and hei-ht of a cone is ,9H. What is the cur!ed surface area of the
cone1
%# %Gp m2
2# %2p m2
,# 9p m2
H# Data inadequate
G# 2one of these
12. A man stands on the top of a pole and ma8es an an-le of N0O on the surface of a -round. He slides
20 m down and ma8es an an-le of ,0Oat the same point. 4f he ta8es %0 seconds to reach the -round
from here. find his speed.

%# N 8m=hr
2# G 8m=hr
,# %0 8m=hr
H# F 8m=hr
G# %0.F0 8m=hr
13. Which of the followin- !alues of PnP satisfies the inIequality n2 I 2Hn ; %H, : 01
%# n : %%
2# n J %,
,# %% : n : %,
H# %% J n J %,
G# 2one of these
14. 4f 2@;y ( %%. 2y;K ( %2 and K;2@ ( F. find the !alue of 2@ ; ,y ;HK.
%# 29
2# ,,
,# 2G
H# ,9
G# 2one of these
15. What is not true a*out the followin- statements a*out Qa!a.
a# it is compiled usin- Qa!ac compiler
*# the compiled files ha!e .class e@tension.
c# such files cannot *e transfered from one comp to another.
d# they use the Qa!a interpreter
Ans9 c
16. Which of the Lollowin- is not defined in strin-.h1
A#strspn"#
3#strerror"#
5#memchr"#
D#strod"#
17.4dentify the correct ar-ument for the function call fflush"# in A2S4 59
A#stdout
3#stdin
5#stderr
D#All the a*o!e
18. Which of the Lollowin- will define a type 2CD? that is a node in a 7in8ed list1
A#struct node $2CD?<ne@t+int @+0+type def struct node 2CD?+
3#typedef struct 2CD? $struct 2CD? <ne@t+int @+0+
5#typedef struct 2CD? $2CD? <ne@t+int @+0+
D#typedef struct $2CD? <ne@t+int @+02CD?+
19. How many columns are retri!ed from this query9
S?7?5> address% RR P.P RRaddress2 RRP.P
RRaddress2 )Address) LACS (
employee+
A. ,
3. 2
5. %
D. 0
20. What is the is the result of the fallowin- 5ode
Piece(20
4nsert into ta*le A !alue"a%#9
5A?A>? >A37? 3 AS S?7?5> < LACS A+
AC773A5T +
A. >a*le 3 -ets created with the row inserted in the first statement.
3. >a*le 3 is not created
5. >a*le 3 -ets created . *ut no row -ets inserted into >a*le A
D. Aoll*ac8 throws up an e@ception .

Вам также может понравиться