Software Engineering
Accenture Technical PrimermediumSoftware Engineering05 Arrays

Accenture Software Engineering Practice Question

Choose the correct Pseudo code to store names in an array and display a name. a. BEGIN INPUT name DECLARE name [20] PRINT name END b. BEGIN INPUT name DECLARE name [20] END PRINT name c. BEGIN DECLARE name [20] INPUT name PRINT name END d. BEGIN INPUT name PRINT name DECLARE name [20] END

Answer options

A
BEGIN INPUT name DECLARE name [20] PRINT name END
B
BEGIN INPUT name DECLARE name [20] END PRINT name
C
BEGIN DECLARE name [20] INPUT name PRINT name END
D
BEGIN INPUT name PRINT name DECLARE name [20] END

Correct answer: BEGIN DECLARE name [20] INPUT name PRINT name END

Explanation

Quick AnswerThe correct answer is BEGIN DECLARE name [20] INPUT name PRINT name END because it directly addresses the core logic of Software Engineering.

Correct answer: BEGIN DECLARE name [20] INPUT name PRINT name END.

Related Accenture Software Engineering questions

Practice more Accenture Software Engineering questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!