Accenture Placement Paper 6

  • Uploaded by: sri
  • 0
  • 0
  • July 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Accenture Placement Paper 6 as PDF for free.

More details

  • Words: 2,661
  • Pages: 9
Accenture Question Paper This interview was conducted for 1 year or more exp. guys in C++. 1) Firstly he asked me about the project and i was thoroughly grilled. 2) Then he asked to list the various types of storage classes and asked me to explain the scope & lifetime of each one.. (Auto,Static,Register,Extern,and also mutable(only used for classes) ) 3) Right shift/Left shift + 1's complement concepts then asked me to give the output of this:i = 10; int j = i >> 10; cout<<j; 4) Then, difference b/w char *str = "Hello"; char arr[] = "Hello"; he started asking whether following statements get complied or not; arr++; // ERROR..its like a pointer constant *(arr + 1) = 's'; cout<<arr; // o/p: Hsllo and other questions which i dont remember 5) struct Date { int yr; int day; int month; } date1,date2; date1.yr = 2004; date1.day = 4; date1.month = 12; now how will you initialize date2 (without member by member assignment) ans: date2 = date1; diff. b/w c++ structures & c structures 6)

Explain Primary Memory, Secondary Memory, Virtual Memory...etc etc..??

7)

What happens when you run a programme.. he meant what all the basic steps that O/S would take??

8)

Virtual functions/ Abstract classes/ Pointer functions

9)

Asked me to write a recurssive factorial prog.

10) Then he gave me a prob. of inheritance. Asked me how u would invoke a base class member function using derived class pointer( that func is not a virtual func. && no virtual Base class inheritance) And some other Q's which i dont remember now... I thought my performance was ok if not spectacular.. Anyway guys..this was interview..(1 hour) Accenture Question Paper Acenture Technical Questions 1. pointer to structure. 2. static variable and difference b/w(const char *p,char const *p,const char* const p). 3

pass by value & reference.

4. string library functions(syntax). 5. Write a program to compare two strings without using the strcmp() function. 6. Write a program to concatenate two strings. 7. Write a program to interchange 2 variables without using the third one. 8. Write programs for String Reversal & Palindrome check . This document was created with the trial version of Print2PDF! Once Print2PDF is registered, this message will disappear! Purchase Print2PDF at http://www.software602.com/

9. Write a program to find the Factorial of a number. 10. Write a program to generate the Fibinocci Series. 11. Searching and sorting alogorithms with complexities.

Accenture Question Paper Programming in C : Accenture IDC Recruitment Latest Paper 1.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 2.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 3.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 4.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 5.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 6.Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod() 7.Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above This document was created with the trial version of Print2PDF! Once Print2PDF is registered, this message will disappear! Purchase Print2PDF at http://www.software602.com/

8.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; 9.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 10.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 11.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 12.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:Lvalue 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 13.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); } This document was created with the trial version of Print2PDF! Once Print2PDF is registered, this message will disappear! Purchase Print2PDF at http://www.software602.com/

A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of teh Above 14.study the code: #include void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above 15.Which of the following are valid “include” formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include “file.h” D)#include and #include “file.h”

Aptitude CUSAT campus on 19th august 2004. DBMS 1. data model is a) Entity b) Constriants c) Entity relationship d) All the above ans:- c 2. Choise the correct one select emp.name ,emp.age from emp1,emp2 where emp.sno = 456; a) cluster b) non-cluster c) index d) none of these 3. What is index? a) atrendum selectio of colum ans) a 4. Match the following 1- one to one a) manager to employ 2- one to many b) employ to employ 3- many to one c) unique object 4- many to many d) employ to manager a) 1-a ,2-b ,3-c,4-d b) 1-c,2-d,3-a,4-b c) 1-c,2-a,3-d,4-b d) 1-d,2-b,3-a,4-c

ans) c

5. 1 2 3

max allen rony

222 333 444

Select first.name from first where first.age = (select first.age from first where first.sno = 3); a) max b) allen c) rony d) noneof these 6. THERE were 3 question on same type of queries(u should be good in foreign key relationship and relationship with in a single table). 7. One question was based on INDEX 8. Also one more mapping relationship given based upon the figure. REASONING 9. Questions based upon equality of number’s …means three no’s given …… a) if all equal This document was created with the trial version of Print2PDF! Once Print2PDF is registered, this message will disappear! Purchase Print2PDF at http://www.software602.com/

b) if 1,2 same c) if 2,3 same d) none….. DAM –easy 10. Questions based upon equality of symbols …means if + means * and * means / and – means + and + means – then mean of 28*40/4+2-6 11. Question upon set theory means if 100 r selecting in maths and 90 in physics 120 in chemistry & 22 in phy& maths both ,33 in maths & chemisty both 44 in ches & phy…11 in all then

1. 2. 3. 4.

How many only in maths……. Only in physics… Only in chemistry……. How many in atleast 2……

C

12. Question on pointers 13. On file handling… 14. On functions…. 15. Structures and unions 16. From bitwise C++

17. Inheritance 18. Scope of protected 19. Static member function 20. File handling 21. Copy constructor

Accenture Question Paper There are three sections. Section 1-ENGLISH 1. In this section2 passages were there on basis of that u have to answer 10 questions (5 question each ) First passage was based on ball tempering by Indian team with mix of lagan story .In this answer of first question was (Ball tempering) the second passage was based on Gadar movie.(same story). II Synonyms: 1.Candid:ans frank 2.Specifaction :ans documentation 3. Extradite =deport 4. Cursory= scold 5. ----------= very high III .fill up the blanks with proper word(5 questions) pick the sentence which has grammatical mistake (5 questios). This document was created with the trial version of Print2PDF! Once Print2PDF is registered, this message will disappear! Purchase Print2PDF at http://www.software602.com/

Section IV-Verbal (20 questions) Here few questions are from logical reasoning (eg.)(6 questions) Sentences: ( type of question) (logical deductions) 1 i some cats are dog ii no dog is lion conclusion : i some dogs are lion ii some dog are cats options: a only i follows b either I or ii follows c none follows 2 Questions on +means *, %mean -, etc.. answers of those questions are4 and -20/3.. 3 Letter series example aabb-abda—bbaa this type one question a question of this type 4. find the next term in AM ,BA ,JM like this APTITUDE 1. It has 20 mixutre conatins mil and water in the ratio 3:5,replace 4 litres of mixture with 4 litres of water what is the final ratio of milk and water. 2. + means * and * means / and / means % what is the value of these questio 2+3*5/7 it was two question of these type. 3. The equivalent compound ratio of 5:6::7:10::6:5 ( question of this type this is not exact question). 4. Work can be done by 8 men and 10 women in 25 days, the same work can be done by 10 children and 5 women . in how many days 2 children and 3 men (similar to this) 5. One man or two women or three boys can do a work in 44 days then one man, one women and one boy together can finish the same work in ---- days 6. (998-1)(998-2)(998-3)…………..(998-n)=------- when n>1000ans is zero 7. In how many ways can a lock be opened if that lock has three digit number lock if i) The last digit is 9 ii) and sum of the first two digits is less than or equal to the last digit. numbers are from 0-9 8. If a man reduces the selling price of a fan from 400 to 380 his loss increases by 20% .cost price of fan is. 9. There are 76 persons. 53 can read hindu,46 can read times,39 can read decca and 15 can read all. if 22 can read hindu and deccan and 23 can read deccan and times then what is the number of persons who read only times and hindu………ans 18 10. In pure milk if 20% replaced by water and in this again 20% is replaced by water and again20% is replaced by water then what is the praportion of milk in that mixture This document was created with the trial version of Print2PDF! Once Print2PDF is registered, this message will disappear! Purchase Print2PDF at http://www.software602.com/

11. After 10 years A will be twice the age of B before 10 years.and now if the difference is 9 years between them then what is the age of B after 10 years ans 49 12. Races and games ---- 2 questions from this chapter like (A beats B by 10 meters and B beats C by 15 metres the A beats C by ) 13. In the year 1990 there are 5000 men 3000 women 2000 boys .in 1994 men are increased by 20% women are increased by ratio of boys and women (this type of question but some what difficult I mean it takes too much time to solve) better to go through the following chapters in both Objective arithmetic and Quantitative Aptitude by RS Aggarwal, ratio and praportion (4 questions), ages (3 ques ), races and games,time and distance ,time and work, percentages. GD

For GD Per team 8 members and they tell us to choose a topic of our own interest The topics we faced are :

1> Advantages and disadvantages of Internet 2> Betting in cricket should legalized or not 3> Education system in India 4> A discussion on Iraq and America war

Technical Interview Technical Interview 

1

Abt Ur project .(u will be grilled by them)



Be confidence. (They will check ur temper by asking some questions)



Abt software development life cycle



Abt ur interest area in computer field



Abt memory management in Operating System



Abt Unix basic commands



Abt doubly linked list



Fibonacci series and palindrome program in C



Abt Gates (Be prepare on Digital Circuit Logic Design)



Abt complier design (phases)



bt TCP&IP and OSI Model.



Abt OOPS concepts.

Technical Interview 

2

What is the need of normalization in data base. This document was created with the trial version of Print2PDF! Once Print2PDF is registered, this message will disappear! Purchase Print2PDF at http://www.software602.com/



1-5 all normalize forms( from many they directly asked 4th and 5th normanilise..(mostly from m.c.a.’s)



What is semafore in o.s.



What is paging and demand paging.



How memeory works in a computer system.



How recursion works in c



Which data structure used in recursion.



deference between structure n union.



What is erp…..(accenture having work in erp…as we m.c.a’s having erp in 3rd sem so…the person highlighted or wrote sth in resume ,they asked abt erp from them only).



What is reengineering in erp



If u have too much cash in ur hand, then what u will do in behalf of the company…..

Interview 3 I have attended the Week-End Accenture interview in Hyd. (I am afraid, its not for freshers). I was interviewed for about an hour or so.Here are the various questions:-This interview was conducted for 1 year or more exp. guys in C++. 

Firstly he asked me about the project and i was thoroughly grilled.



Then he asked to list the various types of storage classes and asked me to explain the scope & lifetime of each one.. (Auto,Static,Register,Extern,and also mutable(only used for classes) )



Right shift/Left shift + 1's complement concepts then asked me to give the output of this: i = 10; int j = i >> 10; cout<<j;



Then, difference b/w char *str = "Hello"; char arr[] = "Hello"; he started asking whether following statements get complied or not; arr++; // ERROR..its like a pointer constant *(arr + 1) = 's'; cout<<arr; // o/p: Hello



struct Date { int yr; int day; int month; } date1,date2; date1.yr = 2004; date1.day = 4; date1.month = 12; now how will you initialize date2 (without member by member assignment) ans: date2 = date1; diff. b/w c++ structures & c structures



Explain Primary Memory, Secondary Memory, Virtual Memory...etc etc..??

This document was created with the trial version of Print2PDF! Once Print2PDF is registered, this message will disappear! Purchase Print2PDF at http://www.software602.com/



What happens when you run a programme.. he meant what all the basic steps that O/S would take??



Virtual functions/ Abstract classes/ Pointer functions



Asked me to write a recursive factorial prog.



Then he gave me a prob. of inheritance. Asked me how u would invoke a base class member function using derived class pointer( that func is not a virtual func. && no virtual Base class inheritance)

This document was created with the trial version of Print2PDF! Once Print2PDF is registered, this message will disappear! Purchase Print2PDF at http://www.software602.com/

Related Documents


More Documents from "sri"

Snuping Spyware
December 2019 79
Ngantuk Ngedite.docx
April 2020 15
Field Bus Guide
June 2020 17
10.pdf
December 2019 27
09 (3).pdf
December 2019 27