Software Engineering
Accenture Technical PrimermediumSoftware EngineeringArrays

Accenture Software Engineering Practice Question

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

Answer options

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

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!