Respuesta :

CPED

This is an incomplete question. The question I was able to find as the complete one is as follows:

Match the following terms and definitions

  • stack diagram
  • flow of execution
  • local variable
  • function call
  • header

-The order in which statements are executed during a program run. Answer 1

-The first part of a compound statement, begins with a keyword and ends with a colon ( : ) Answer 2

-A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses. Answer 3

-A variable defined inside a function that can only be used inside its function. Answer 4

-A graphical representation of functions, their variables, and the values to which they refer. Answer 5

Answer with Explanation:

  1. Flow of Execution: The order in which statements are executed during a program run. This is done from top to bottom which means the statement written first is executed first.
  2. Header: The first part of a compound statement, begins with a keyword and ends with a colon ( : ). A header is given usually at the top. It can contain libraries being used in the program body.
  3. Function Call:  A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.  It is used to perform specific functions that are defined before calling a function. A program can be called as many times as needed.
  4. Local Variable: A variable defined inside a function that can only be used inside its function. A local variable with same name can be used inside two different functions but they are needed to be defined first.
  5. Stack Diagram: A graphical representation of functions, their variables, and the values to which they refer. It is the tool for knowing the state of program at the time given.

i hope it will help you!