Syllabus

Accenture Pseudo Code Syllabus & Practice Questions

Accenture Pseudo Code assessment is a crucial component of their recruitment process, designed to evaluate a candidate's problem-solving and logical thinking skills.

Scroll down for a detailed overview and breakdown of the syllabus to guide your preparation.

Accenture Pseudo Code - Overview

Here's an overview of the Accenture Pseudo Code section:

Information Details

Total No. of Questions

18

Time Duration

90 Min (shared)

Type of Test

Non- Adaptive

Negative Marking

No

Accenture Pseudo Code Syllabus & Topics

Here's a snapshot of the Pseudo Code syllabus:

Topic No. of Questions Difficulty Importance

Programming Fundamentals

3

Medium

High

Looping

3

Medium

High

Arrays

2

Medium

High

Recursion

2

Hard

Medium

Function

2

Medium

High

Bitwise Operators

2

Hard

Medium

Increment & Decrement Operators

2

Medium

Medium

Conditional statements

2

Medium

Medium

Basics of Data Structures

2

Hard

High

Accenture Pseudo Code Questions and Answers

1.

1. What will be the output of the following pseudocode for a = 15, b = 6?

Integer myFunction(Integer a, Integer b)

Integer c

Set c = 4

b = b % c

a = a % c

return a + b

End function myFunction()

1

2

3

4

2.

2. What will be the output of the following pseudocode?

  Integer p, q, r

Set p = 8, q = 3, r = 6

if (q > r)

p = q r

Else

r = q p

End if

q = p * r

Print q

-40

15

-24

48

3.

3. What will be the output of the given function if the value 2468 is passed?

function check(input num)

if (num mod 2 == 0)

write "even no"

else

write "odd no"

end function

even no

odd no

neither

none

4.

4. What will be the output of the given function if the value 10240 is passed?

Function check(input num)

If (num % 10 == 0)

Write "divisible by 10"

Else

Write "not divisible by 10"

End function

divisible by 10

not divisible by 10

4

-4

5.

5. Determine the output of the following pseudocode

Declare Function fun (integer pointer *p);

Start

Integer p

Set p = 7

write p

fun(&p)

write p

End

Function fun (integer pointer *n)

Start function

*n = *n + 3

End function

7, 10

10, 7

7, 7

10, 10

6.

6. What will be the output of the following pseudocode?

Declare Function divideByTwo (integer *num);

Start

Integer num

Set num = 18

divideByTwo(&num)

Write num

End

Function divideByTwo (integer *n)

Start function

*n = *n / 2

End function

9

18

36

2

7.

7. What will be the output of the following pseudocode if the user enters the value of n as 6?

Read n

Set factorial to 1

While n > 0

Set factorial to factorial * n

Set n to n 1

Write factorial

6

720

120

24

8.

8. What will be the output of the following pseudocode if the user enters the value of num as 321?

Read num

Set sum to 0

While num > 0

Set digit to num mod 10

Set sum to sum + digit

Set num to num / 10

Write sum

6

12

7

13

9.

9. What will be the output of the following pseudocode if the user enters the value of n as 5?

Read n

Set fibonacci to 0

Set prev to 0

Set curr to 1

While n > 0

Set temp to curr

Set curr to prev + curr

Set prev to temp

Set n to n 1

Write curr

8

5

21

13

10.

10. What will be the output of the following pseudocode

Declare Function subtractOne (integer *num);

Start

Integer num

Set num = 20

subtractOne(&num)

Write num

End

Function subtractOne (integer *n)

Start function

*n = *n 1

End function

19

20

21

22

1 of 1

Frequently Asked QuestionsFAQ

How can I prepare for Accenture's Pseudo Code Test?

To prepare for Accenture's Pseudo Code test, focus on understanding basic programming concepts, practice pseudocode problems regularly, and review sample questions from past Accenture assessments.

What is pseudo code and why is it important for the Accenture assessment?

Pseudo code is a plain-language description of a program's steps, serving as an intermediate step before actual coding.

The Accenture assessment needs to evaluate a candidate's logical thinking and problem-solving skills without specific syntax constraints.

What are the topics covered in Pseudo Code Test?

The topics covered in Pseudo Code Test are:

  • C
  • C++
  • Java
  • OOPS Concepts

How many questions are there in the Pseudo Code Test?

The Pseudo Code Test consists of 18 questions.

What is the difficulty level of the Pseudo Code Test questions?

The difficulty level ranges from basic to moderate, focusing on fundamental programming concepts and logical problem solving.

Is there negative marking for incorrect answers in the Pseudo Code Test?

No, there is no negative marking for incorrect answers in the Pseudo Code Test.

How should I approach solving a problem presented in pseudo code during the test?

You can approach the problem in the following ways:

  • Read the problem statement thoroughly to understand the requirements.
  • Break down the problem into smaller, manageable steps.
  • Outline the solution in a structured manner, using control structures effectively.
  • Verify the pseudo code against given sample inputs or scenarios.
  • Stay calm, focus on logic, and avoid overcomplicating the solution.

Are there any specific resources or study materials recommended for preparing for the Pseudo Code Test?

Yes, for preparing for the Pseudo Code test, you can use the placement preparation website. It offers various resources like sample questions and mock tests that are tailored to help you practice for this specific section.