#1
31st July 2014, 01:13 PM
| |||
| |||
Accenture placement question papers
Can you please provide placement question paper of Accenture?
|
#2
1st August 2014, 10:32 AM
| |||
| |||
Re: Accenture placement question papers
Here I am providing the list of few questions of placement question paper of Accenture which you are looking for . .Study the Following Points: a. One Cannot Take the address of a Bit Field b. Bit fields cannot be arrayed c. Bit-Fields are machine Dependant d. Bit-fields cannot be declared as static Which of the Following Statements are true w.r.t Bit-Fields A) a,b&c B) Only a & b C) Only c D) All What kind of sorting is this:SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,..n-1 2.[For each pass, get small value] min=i; repeat for j=i+1 to N do { if K[j] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A) Bubble Sort B) Quick Sort C) Selection Sort D) Merge Sort What is the function of ceil(X) defined in math.h do? A) It returns the value rounded down to the next lower integer B) it returns the value rounded up to the next higher integer C) the Next Higher Value D) the next lower value When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above Which of the Following is not defined in string.h? A) strspn() B) strerror() C) memchr() D) strod() Which of these statements are false w.r.t File Functions? i) fputs() ii) fdopen() iii) fgetpos() iv) ferror() A) ii B) i,ii C) iii D) iv Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A) It will compile & nothing will be printed when it is executed B) It will compile but not link C) The compiler will generate an error D) The compiler will generate a warning Identify the correct argument for the function call fflush() in ANSI C: A) stdout B) stdin C) stderr D) All the above Which of the Following will define a type NODE that is a node in a Linked list? A) struct node {NODE*next;int x;};type def struct node NODE; B) typedef struct NODE {struct NODE *next;int x;}; C) typedef struct NODE {NODE *next;int x;}; D) typedef struct {NODE *next;int x;}NODE; Look at the Code: #include void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd") ); printf("%d",i); } What will be the output? A) No output B) A Non Integer C) 0 D) Garbage Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; }} Which Statement is/are True w.r.t the above code? I. Executes Successfully & Prints the contents of the array II. Gives the Error: value Required III. The address of the array should not be changed IV. None of the above. A) Only I B) Only II C) II & III D) IV What is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A) Error in Defining Macro B) a=1.12, b=3.14 C) a=3.14, b=1.12 D) None of the Above |
#3
3rd August 2014, 01:32 PM
| |||
| |||
Accenture placement question papers
Can you please provide placement question paper of Accenture?
|
#4
4th August 2014, 09:30 AM
| |||
| |||
Re: Accenture placement question papers
Here I am providing the list of few questions of placement question paper of Accenture which you are looking for . Study the Following Points: a. One Cannot Take the address of a Bit Field b. Bit fields cannot be arrayed c. Bit-Fields are machine Dependant d. Bit-fields cannot be declared as static Which of the Following Statements are true w.r.t Bit-Fields A) a,b&c B) Only a & b C) Only c D) All What is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A) Error in Defining Macro B) a=1.12, b=3.14 C) a=3.14, b=1.12 D) None of the Above What is the function of ceil(X) defined in math.h do? A) It returns the value rounded down to the next lower integer B) it returns the value rounded up to the next higher integer C) the Next Higher Value D) the next lower value A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these What kind of sorting is this:SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,..n-1 2.[For each pass, get small value] min=i; repeat for j=i+1 to N do { if K[j] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A) Bubble Sort B) Quick Sort C) Selection Sort D) Merge Sort Identify the correct argument for the function call fflush() in ANSI C: A) stdout B) stdin C) stderr D) All the above Which of the Following is not defined in string.h? A) strspn() B) strerror() C) memchr() D) strod() Which of the Following will define a type NODE that is a node in a Linked list? A) struct node {NODE*next;int x;};type def struct node NODE; B) typedef struct NODE {struct NODE *next;int x;}; C) typedef struct NODE {NODE *next;int x;}; D) typedef struct {NODE *next;int x;}NODE; Which of these statements are false w.r.t File Functions? i) fputs() ii) fdopen() iii) fgetpos() iv) ferror() A) ii B) i,ii C) iii D) iv Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A) It will compile & nothing will be printed when it is executed B) It will compile but not link C) The compiler will generate an error D) The compiler will generate a warning Look at the Code: #include void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd") ); printf("%d",i); } What will be the output? A) No output B) A Non Integer C) 0 D) Garbage Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; }} Which Statement is/are True w.r.t the above code? I. Executes Successfully & Prints the contents of the array II. Gives the Error: value Required III. The address of the array should not be changed IV. None of the above. A) Only I B) Only II C) II & III D) IV |
#5
23rd February 2015, 02:05 PM
| |||
| |||
Re: Accenture placement question papers
I am looking for the Accenture Placement Question Paper . Will you please provide it ?
|
#6
23rd February 2015, 02:43 PM
| |||
| |||
Re: Accenture placement question papers
Here I am providing the list of few questions of Accenture Placement Question Paper which you are looking for . 1. I sow her -__ airport At , on , in , across 2. Masi specialises __ plesent ,well balanced wines into, about ,in, with 3. By the time I arrived __ the pub she all ready left in, on , at, into 4. erbiage the act of doing something the use many words witout nessecity a vegitable non of the above 5. frutful means justify futile efficient productive 6. aestheically means tastlessly artistically hazardously colurfully 7. ___panda & white tiger are in denger species ? a ,an ,the ,none 8. __ doctor who you met yesterday was my father ? a, an, the, none 9. __ university of its status does’nt eevn need to advertise ? a, an, the , none of the article reqiuered 10.45students , 12 in debate only ,22 in singing only how many in both ? 9 ,11 ,25 ,45 11.10 play cabaddi,20 play kho kho only ,5 both how many in total ? 35,28 ,40,can’t say 12.100 spoke english, 40 speek french ,20 both at least one? 110,100,140,120 13.200 total 125 like piza 115 berger both? 15,40,72,80 14.10 friends meet for movie 20 for picnic and 5 for games 4 for m& pic 2 for m&g 0 for p&g 2 for all hoe many are students? 11,16,25,35 15.A poll poniting towards east by accident started to point towards south. A man was travelling thing west what is the actual dir ?N,S,E ,W 16.Sagar was riding bike towards north,turned left road 1 km turnes towrds left &road 2km found himself 1km west of starting how far did he road north? 1,2,3,5 17.600 to be seated.10benches are less.so 2 more persons are required to be seated in each bench.so how many benches. 209 36 44 60 18.Selling a ac gains 25% on SP.what %gain on CP. 15 25 33.33 47.5 19.Students from different universities. A speaks hindi and bengali. B hindi and english. C english and bengali. D tamil and hindi E bengali and tamil 20.Interpretor between C and D A only B only E only A ,B and E 21.Can't speak without interpretor B&E A&B A&C B&E 22.5 children were born on the same day but on different years in b/w 1999 - 2003 . Abhya is younger than dinesh and frahan vaskar is naughtiest of all. girish is older than dinesh and farhan. If Abhay is born in 2002, then in which year farhan is born : 1999-2002 2000- 2001 1999, 2000, 2001 2003 23.Order in which childrens are born ? B,D,G,F,A G,D,B,F,A G,A,B,D,F F,B,D,A,G 24.* = +, / = *, + =- , - = / 2/9*11+10- 8 A) 20.8 B) 27.8 C) 27.8 D) 25.8 25.*= -, /=+,+=/,-=* 12/20*4+80-4=31.8 20*4/4+80-4=-8.2 12*4/20+12-4=-12 4*12/4+80-4=-8 26.------stores a log of changes made to db,which are then written to _,which are then written to _,which is used if db recovery is necc. a) db buffer share pool b) program global area,shared pool c) system global area,large pool d) redo log buffer,online redo log 27.----means allowing objects of difference types to be considered as examples of a higher level set : ans: Generalization 28.The primary characteristic of key field is that it must be unique 29.Manager-------------- --emp managed by ansne of many recursive relationship 30.If a member initialiser is not provided for a member object of a class .The object - is called a) static fn b) non static fn c) default constructor d) none 31.class constest { private: const int i; public: constest():i(10) } 32.Inheritance b) abstract base class c) specifies a way to to define a const member data d) none 33.Iimplement polymorphism when by object belonging to different class can respond to the same message in diff ways. a) late binding b)dynamic binding c) dynamically created object d) virtual fun 34.Member function---------- and ----------- set and reset the format state of flags. a) set,reset b) set,get c) set, unset d) set ,unsetf 35.#include<iostream.h> struct abc { int i; abc(int j) { i=j;} public: void display() { cout<<i;} } void main() { abc ob(10); ob.disp(); } a)10 b) error : constructor is not accessible c) abc: i not accessible d)none 36.# include<iostream.h> class sample { public : sample(int **pp) { p=pp;} int **p; int **sample:: *ptr=&sample :; 37. In a file A...Z characters are written.if we open the file using fopen and lseek(fp,-10,2); c=getc(fp); printf("%c",c); what will be the output.? Ans . Y.(please verify Here last parameter is the integer value to seel_end 38.Same question with lseek(fp,10,0); c=getc(fp); printf("%c",c); ans. 11th character will be printed "K" verify. 39.Theory question about far pointers. Hint: Far pointers are 4 bytes in size and local pointers are 2 bytes in size. important: i saw in a previous question paper of accenture which is in the chetana database, some lady wrote that size of an integer in C is 2 bytes and for C++ it is 4 bytes. This is absurd.The size of types is entirely dependent on the compiler used.for DOS Turbo C sizeof int is 2 and float is 4 bytes for windows borland C,C++ size of int is 4 bytes for linux gcc, size of int is 2 bytes. All these depends on the Operating system.Please keep this in mind. 40.Now some questions about extern variables. 41.#include<stdio.h> main() { char str[]={"hell"}; int i; for(i=0;i<5;i++) printf("%c%c%c%c\n",str[i],i[str],*(str+i),*(i+str)); getch(); } ans. hhhh eeee llll llll note that str[i] and i[str] are the same.in the question paper, the original word is "hello". 42.Which of the following is not defined in string.h strtod,memchr,strspn,strchr ans . strtod.(defined in STDLIB.H) it is used to convert a string to double. 43.Questions on macros with arguments .same pattern given in TEST UR C SKILLS eg.#define SQUARE(x) x*x main() { ....... y=SQUARE(2+3); printf("%d",y); } ans. when the macro expands we get 2+3*2+3 = 2+6+3 =11.11 is the correct answer not 25. 44.Remember an inline function does type checking and so it is better than a macro a question on this. 45.Some memory is allocated using memalloc and then realloc is called. and now to write the size of the variable.better learn memalloc and realloc. what it does and syntax. |