Accenture Latest Placement paper 2013

Which is the parameter that is added to every non-static member function when it is called?
Answer: 'this' pointer

What is a binary semaphore? What is its use?
Answer:A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.

What is thrashing?
Answer:It is a phenomenon in virtual memory schemes when the processor spends most of its time swapping pages, rather than executing instructions. This is due to an inordinate number of page faults.


What are turnaround time and response time?

Answer:Turnaround time is the interval between the submission of a job and its completion. Response time is the interval between submission of a request, and the first response to that request.


What is data structure?


Answer: A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data.

List out the areas in which data structures are applied extensively?


Answer: The name of areas are:

Compiler Design,


Operating System,


Database Management System,


Statistical analysis package,


Numerical Analysis,


Graphics,

Artificial Intelligence,


Simulation


What are the major data structures used in the following areas : RDBMS, Network data model & Hierarchical data model.


Answer: The major data structures used are as follows:

RDBMS - Array (i.e. Array of structures)


Network data model - Graph


Hierarchical data model - Trees


What is the data structures used to perform recursion?


Answer: Stack. Because of its LIFO (Last In First Out) property it remembers its 'caller' so knows whom to  return when the function has to return. Recursion makes use of system stack for storing the return  addresses of the function calls.
Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent  iterative procedures are written, explicit stack is to be used.


Predict the output or error(s) for the following:


void main()
int const * p=5;
printf("%d",++(*p));
Answer:


Compiler error: Cannot modify a constant value.
Explanation: p is a pointer to a "constant integer". But we tried to change the value of the "constant  
integer".
char s[ ]="man";
for(i=0;s[ i ];i++)
printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]);


Answer:

nnnn
as s[i].
main()
{
else
}
 
Explanation:s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the same idea. Generally array name  


is the base address for that array. Here s is the base address. i is the index number/displacement from the  


base address. So, indirecting it with * is same as s[i]. i[s] may be surprising. But in the case of C it is same  


float me = 1.1;


double you = 1.1;


if(me==you)


printf("I love U");


printf("I hate U");


Answer:


I hate U


Explanation: For floating point numbers (float, double, long double) the values cannot be predicted exactly.  


Depending on the number of bytes, the precession with of the value represented varies. Float takes 4 bytes  


and long double takes 10 bytes. So float stores 0.9 with less precision than long double.


Rule of Thumb:


Never compare or at-least be cautious when using floating point numbers with relational operators (== , >,  


<, <=, >=,!= ).


List out few of the Application of tree data-structure?


Answer: The list is as follows:


The manipulation of Arithmetic expression,


Symbol Table construction,


Syntax analysis.


List out few of the applications that make use of Multi linked Structures?


Answer: The applications are listed below:


Sparse matrix,


Index generation.


In tree construction which is the suitable efficient data structure?


Answer: Linked list is the efficient data structure.




What is the type of the algorithm used in solving the 8 Queens problem?


Answer: Backtracking


In RDBMS, what is the efficient data structure used in the internal storage representation?


Answer: B+ tree. Because in B+ tree, all the data is stored only in leaf nodes, that makes searching easier.  


This corresponds to the records that shall be stored in leaf nodes.


Whether Linked List is linear or Non-linear data structure?


Answer: According to Access strategies Linked list is a linear one.


According to Storage Linked List is a Non-linear one.


Previous Year Questions


What is dangling pointer in c?


In C++, what is the difference between method overloading and method overriding?


What methods can be overridden in Java?


What are the defining traits of an object-oriented language?


Write a program that ask for user input from 5 to 9 then calculate the average?


 What is the diffrence between a "assignment operator" and a "copy constructor"?


Explain the popular multiprocessor thread-scheduling strategies.?


What is a trap and trapdoor?


What is time-stamping?


How are the wait/signal operations for monitor different from those for semaphores?


Top HR - Interview Questions and Answer for Accenture new Campus Recruitment 2012 | Download


free HR interview Questions with Answers


Sample HR  Interview Questions From Experienced Candidate | Accenture Previous year interview


Questions


Don't just read these questions--practice and rehearse the answers. Don't let the company interview be the  


first time you have actually formulated an answer in spoken words. It is not enough to think about them in  


your head--practice! Sit down with a friend, a significant other, or your roommate (an especially effective  


critic, given the amount of preparation to date) and go through all of the questions. Make the most of every  


single interview opportunity by being fully prepared!


Here are some of the standard questions that you can expect in the Interview!!!


Tell me about yourself.


This is the first question, you can expect during any interview you face. This usually is a question to start  


the communication and set the ball rolling for the interview. You can answer this question by providing  


some information about your work experience, technologies you have worked upon, educational  


qualifications. If you are a fresh graduate, you can provide some information about your family also.


The trick is to put the full stop at the right place to provoke the next question you want. For e.g. “Recently I  


developed a website using Drupal. It was quite an interesting but challenging job which I enjoyed.”


What do you want to do with your life?


Do you have any actual work experience?


How would you describe your ideal job?


Why did you choose this career?


When did you decide on this career?


What goals do you have in your career?


How do you plan to achieve these goals?


If you have never lead in the past, how would you do it in this role?


If you know how to do the work and you have the right attitude, you can lead. Many times you will find  


yourself leading unofficially in the current role - it is more important to have the leadership traits. So, you  


can say that, I know the job well and I have the qualities which need me to lead here. So, I think I am ready  


to move on to a more challenging and responsible positions like this.  


If you face a problem with your own performance, what would you do?


The purpose here is to see if you are able to identify the problems with your own performance and take  


corrective measures. To answer this question, you can say something like, "If I face a problem with my own performance, I will try to estimate how big is the problem, what is causing the problem and then take action on each of the listed things."

How do you evaluate success?

Describe a situation in which you were successful.

What do you think it takes to be successful in this career?

What accomplishments have given you the most satisfaction in your life?

If you had to live your life over again, what would you change?

Would your rather work with information or with people?

Are you a team player?

What motivates you?
Why should I hire you?
Are you a goal-oriented person?

Tell me about some of your recent goals and what you did to achieve them.

What are your short-term goals?

What is your long-range objective?

What do you see yourself doing five years from now?

Where do you want to be ten years from now?

Do you handle conflict well?

What major problem have you had to deal with recently?

Do you handle pressure well?

What is your greatest strength?

What is your greatest weakness?

If I were to ask one of your professors to describe you, what would he or she say?

Why did you choose to attend your college?

What changes would you make at your college?

How has your education prepared you for your career?

What were your favorite classes? Why?

Do you enjoy doing independent research?

Comments

Popular posts from this blog

Tips 01) self introduction in an interview

Computer Science Terminology

Why Failure Is Good for Success