Created
Oct 2, 2025
Last Modified
6 months ago

Accenture (Cognitive + Technical Assessment)

Accenture ASE & AASE – Round 1 (Cognitive + Technical Assessment)

Format: 90 MCQs | Duration: 90 mins
Sections Covered: English Ability, Critical Reasoning, Problem Solving, Abstract Reasoning, MS Office, Pseudo Code, Networking, Security, Cloud.


Q1. Conversion with power of 8

text
n = 127, i = 0, s = 0
while (n > 0)
   r = n % 10
   p = 8^i
   s = s + p*r
   i++
   n = n / 10
return s

What is value of s?
(a) 27 (b) 87 (c) 187 (d) 120
💡 Hint: Looks like converting a number from base-10 digits into base-8 value.


Q2. Series using factorial

text
N = 20, s = 0, f = 1
for i = 1 to N:
   f = f * i
   s = s + (i / f)
return s

Value of s?
(a) 3.789456 (b) 2 (c) Infinite loop (d) 80
💡 Hint: It’s summing fractions with factorials in denominator (like e-series).


Q3. Fibonacci printing

text
limit = 6
n1 = 0, n2 = 1, n3 = 1, count = 1
while count <= limit
   count++
   print n3
   n3 = n1 + n2
   n1 = n2
   n2 = n3

Output?
(a) 112358 (b) 12358 (c) 123581321 (d) 12358132
💡 Hint: This is Fibonacci, starting with 1,1,....


Q4. Digit divisibility check

text
number = 2630
even_counter = 0
num_remainder = number
while(num_remainder)
   digit = num_remainder % 10
   if digit != 0 AND number % digit == 0
       even_counter++
   num_remainder = num_remainder / 10
return even_counter

Value of even_counter?
(a) 3 (b) 4 (c) 2 (d) 1
💡 Hint: Count digits that divide the whole number.


Q5. Space complexity

text
int sum(int A[], int n) {
  int sum=0, i;
  for(i=0;i<n;i++) sum+=A[i];
  return sum;
}
sizeof(int)=2 bytes

Space required?
(a) 2n+8 (b) 2n+4 (c) 2n+2 (d) 2n
💡 Hint: Array space + variables.


Q6. Recursive sum function

text
function(a=8,b=9):
 if(a<b) return function(b,a)
 else if(b!=0) return a + function(a,b-1)
 else return 0

Output?
(a) 56 (b) 88 (c) 72 (d) 65
💡 Hint: Recursion simulates multiplication.


Q7. Simple arithmetic

text
m=9, n=6
m=m+1 → 10
n=n-1 → 5
m=m+n → 15
if(m>n) print m else print n

Output?
(a) 5 (b) 6 (c) 10 (d) 15
💡 Hint: Straight-line execution.


Q8. Summation loop

text
f=6, g=9, sum=0
if(g>f)
  for(n=f; n<g; n++) sum+=n
print sum

Output?
(a) 21 (b) 15 (c) 9 (d) 6
💡 Hint: Add numbers 6,7,8.


Q9. Multiplication by repeated addition

text
a=56, b=876, t=0
while(b!=0) 
   t=t+a
   b=b-1
return t

Value of t?
(a) 490563 (b) 49056 (c) 490561 (d) None
💡 Hint: It’s just a*b.


Q10. Modulus function

text
a=9, b=7
c=2
b=b%c → 1
a=a%c → 1
return a+b

Output?
(a) 17 (b) 5 (c) 2 (d) -5
💡 Hint: Just reduce mod 2.


Q11. Bitwise shift

text
value=1, n=45
num = num >> 1
num = num + value
print num

Options: (a) 44 (b) 0 (c) 1 (d) 12
💡 Hint: Careful—num not initialized! Might default to 0.


Q12. Array manipulation

text
m=1, j=1
a={0,1,0}
a[0]=a[0]+a[1]=1
a[1]=a[1]+a[2]=1
a[2]=a[2]+a[0]=1
if(a[0]) a[j]=5
m=m+a[j]
print m

Output?
(a) 3 (b) 2 (c) 6 (d) 4
💡 Hint: Array gets modified step by step.


Q13. Array subtraction

text
a={5,9,7,3,1}, b={2,4,6,8,10}
c[k] = a[k]-b[k]
print all c[k]

Output?
(a) 7 13 13 11 11
(b) 3 5 1 -5 -9
(c) -3 -5 -1 5 9
(d) None
💡 Hint: Do element-wise subtraction.


Q14. Conditional swaps

text
a=8,b=6,c=4
if(a>b) a=b else b=a
if(c>b) c=b else b=c
print a+b+c

Options: (a) 13 (b) 17 (c) 14 (d) 23
💡 Hint: Compare and replace carefully.


Q15. Nested if with XOR

text
a=1,b=1,c=7
a=a+b=2
if(a+b) 
    if(b+(c^a)) 
         a=2
         b=a
print a+b+c

Options: (a) 11 (b) 6 (c) 12 (d) 22
💡 Hint: Remember ^ is bitwise XOR.


Q16. MS Excel Insert tab

Which group is NOT under Insert?
(a) Charts (b) Text (c) Sort & Filter (d) Tables
💡 Hint: Sort & Filter belongs to Data tab.


Q17. Nested loop tricky

text
p=1,q=1
for r=0..2
  for s=-4..-2
     p=p+2
     if(p>r) continue
     p=1
     if(p>s) break
print p+q

Options: (a) 13 (b) 24 (c) 35 (d) 20
💡 Hint: Watch continue & break impact.


Q18. Triangle validation

text
a=30,b=60,c=90
sum=180
if(sum==180 && all nonzero) print "Success" else "Fail"

Options: (a) Success (b) None (c) Error (d) Fail
💡 Hint: Valid triangle condition.


Q19. The XML-based and macro-enabled file format for Excel 2007-2013 which stores VBA macro code or Excel 4.0 macro sheets should be saved with which extension?
(a) xlsm ✅
(b) xlsx
(c) xlsb
(d) xltx


Q20. What is the difference between a Trojan and a Virus?
(a) A Virus replicates itself while a Trojan does not ✅
(b) They are different names for the same thing
(c) None of the mentioned options
(d) A Virus starts as a Trojan and spreads later


Q21. Which of the following functions is used to create a drop-down box in selected cells?
(a) Data > Conditional Formatting
(b) Data > Data Validation ✅
(c) Pivot Table
(d) Data > Filter


Q22. Which of the following key resides on all stations as in AP and client devices in a 4-way handshake?
(a) Pairwise Transient Key
(b) Pairwise Master Key ✅
(c) Group Master Key
(d) Group Temporal Key


Q23. Which of the following is not the benefit of the cloud if you chose Platform as a service?
(a) Management of Middleware
(b) All of the mentioned options
(c) Management of Data ✅
(d) Management of Runtime


Q24. Which of the following payment options is best suited for small businesses in cloud?
(a) pay-as-you-go ✅
(b) pay-and-use
(c) pay-per-use
(d) None of the mentioned options


Q25. Which of the following is correct based on the below statements?

  • A. Clouds offer limited data storage capacity to users.

  • B. Clouds offer unlimited data storage capacity to users.

  • C. In both data center and cloud, there is a third party involved in managing data but the cloud has more data theft.

  • D. In both data center and cloud, there is a third party involved in managing data but the data center has more data theft.

(a) Only A and D
(b) Only B and C ✅
(c) Only B and D
(d) Only A and C