You are on page 1of 5

Accenture Placement Papers of Old Years | Sample | Previous |

Model
Q1- If a variable is a pointer to a structure, then which of the following operator is used to
access data members of the structure through the pointer variable?
a) .
b) &
c) *
d) ->
ANS (d)
Q2- Which bitwise operator is suitable for turning off a particular bit in a number?
a) && operator
b) & operator
c) || operator
d) ! operator
ANS (b)
Q3- Which bitwise operator is suitable for checking whether a particular bit is on or off?
a) && operator
b) & operator
c) || operator
d) ! operator
ANS (b)
Q4- In C, if you pass an array as an argument to a function, what actually gets passed?
a) Value of elements in array
b) First element of the array
c) Base address of the array
d) Address of the last element of array
ANS (c)

Q5- What will happen if in a C program you assign a value to an array element whose
subscript exceeds the size of array?
a) The element will be set to 0.
b) The compiler would report an error.
c) The program may crash if some important data gets overwritten.
d) The array size would appropriately grow.
ANS (c)
Q6- In which numbering systems can the binary number 1011011111000101 be easily
converted to?
a) Decimal system
b) Hexadecimal system
c) Octal system
d) No need to convert
ANS (b)
Q7- How will you free the allocated memory?
a) remove(var-name);
b) free(var-name);
c) delete(var-name);
d) dalloc(var-name);
ANS (b)
Q-8 What is the similarity between a structure, union and enumeration?
a) All of them let you define new values
b) All of them let you define new data types
c) All of them let you define new pointers
d) All of them let you define new structures
ANS (b)
Q9- Which of the following cannot be checked in a switch-case statement?
a) Character

b) Integer
c) Float
d) enum
ANS (c)
Q10- Which of the following function sets first n characters of a string to a given character?
a) strinit ()
b) strnset ()
c) strset ()
d) strcset ()
ANS (b)
Q11- Albert Einstein was _____ famous scientist. Einstein won _______ Nobel Prize in
Physics in 1921.Einstein left his country and lived in _______ States until he died in 1955.
a) A, the, an
b) A, the, the
c) A, an, the
d) An, an, the
Ans (b)
Q12- If f(x) = (x - 50), what is the value of f(-5) ?
a) 75
b) 25
c) 0
d) -25
Ans: (b)
Q13- A piece of ribbon 4 yards long is used to make bows requiring 15 inches of ribbon for
each. What is the maximum number of bows that can be made?
a) 8
b) 9
c) 10

d) 11
Ans: (b)
Q14- What should come in place of the question-mark (?)
992 1056 ? 1190 1260 1332
a) 1112
b) 1082
c) 1134
d) None of these
Ans: (d)
Q15- This train travels from London ______ Paris.
a) at
b) to
c) over
d) below
Ans: (b)
Q16- BCB, DED, FGF, HIH, ___
a) JKJ
b) HJH
c) IJI
d) JHJ
ANS (a)
Q17- DEF, DEF2, DE2F2, _____, D2E2F3
a) DEF3
b) D3EF3
c) D2E3F
d) D2E2F2
ANS (d)

Q18- The average of 20 numbers is zero. Of them, at the most, how many may be greater
than zero?
a) 0
b) 1
c) 10
d) 19
ANS (d)
Q19- A person crosses a 600 m long street in 5 minutes. What is his speed in km per
hour?
a) 3.6
b) 7.2
c) 8.4
d) 10
ANS (b)
Q20- Find the correctly spelt words
a) Efficient
b) Treatmeant
c) Beterment
d) Employd
ANS (a)
MORE QUESTIONS@ http://privatejobshub.blogspot.in/2015/01/accenture-placementpapers-2014.html

You might also like