Here are some Accenture Question Papers or Accenture Solved Technical Papers or Accenture Sample Papers or Accenture Placement Papers to Prepare for Technical Interview in Accenture or for Technical Written Examination Conducted by Accenture.
Accenture Solved Technical Papers:
1) Which of the following statements is false?
a)Pointers are designed for storing memory addresses
b)Arrays are passed by value to functions
c)Both of the above are false
Answer: Both of the above are false
2) Find the output of the code snippet
char *S1 = “ABCD”;
char S2[ ] = “ABC”;
printf(“%d,%d”,sizeof(S1), sizeof(S2));
a) 3,4
b) 4,4
c) 3,3
Output: 4,4. S1 is a character pointer giving the size of the pointer variable. Second one is a character array
3) Which of the following is not true about C Programming?
C provides function oriented programming
C program can be compiled on a C++ compiler
Answer: C supports encapsulation is false. Only C++ supports encapsulation
4) What will be effect of sizeof operator on Unions?
gives the size of the biggest member
gives the size of sum of all members
gives the size of the smallest of the members
Answer: gives the size of the biggest member
5) What are identifiers and what is naming convention?
Answer : Identifiers are used for class names, method names and variable names. An identifier may be any descriptive sequence of upper case & lower case letters,numbers or underscore or dollar sign and must not begin with numbers.
6) What is the return type of program’s main( ) method?
Answer: void
7) What is the use of bin and lib in JDK?
Answer: Bin contains all tools such as javac, applet viewer, awt tool etc., whereas Lib contains all packages and variables.
The Java source code can be created in a Notepad editor.
a) True
b) False
Answer: True
9) The Java interpreter is used for the execution of the source code.
True
False
Answer: True
10) What declarations are required for every Java application?
Answer: A class and the main( ) method declarations.
11) What are the two parts in executing a Java program and their purposes?
Answer:
Two parts in executing a Java program are:
- Java Compiler and Java Interpreter.
- The Java Compiler is used for compilation and the Java Interpreter is used for execution of the application.
12) What are the three OOPs principles and define them?
Answer : Encapsulation, Inheritance and Polymorphism are the three OOPs Principles.
- Encapsulation: Is the Mechanism that binds together code and the data it manipulates, and keeps both safe from outside interference and misuse.
- Inheritance: Is the process by which one object acquires the properties of another object.
- Polymorphism: Is a feature that allows one interface to be used for a general class of actions.