it-programming-dq

Answer in 200-300 questions:

 

Look at the pseudocode below. What does the program do? Explain the purpose of each of the following statements in the pseudocode: Declare, Input, Set, Write, Call. Also, identify the global variable(s) and the local variable(s) and explain how they are used differently.

Main Module
Declare FirstName As String
Declare LastName As String
Call Get Names Module
Call Output Results Module

End Program

Get Names Module
Write “Enter the person’s first name:”
Input FirstName
Write “Enter the person’s last name:”
Input LastName

Output Results Module
Declare FullName As String
Set FullName = FirstName + ” ” + LastName

Write FullName

Thanks for installing the Bottom of every post plugin by Corey Salzano. Contact me if you need custom WordPress plugins or website design.