Criado por Andrew Lewis
quase 4 anos atrás
|
||
This is a prewritten function that is built into a programming language.
This term describes any mechanism that accepts input, performs some operation that cannot be seen on the input, and produces output.
This part of a function definition specifies the data type of the value that the function returns, the name of the function, and any parameter variables used by the function to accept arguments.
This part of a function definition is comprised of one or more statements that are executed when the function is called.
In pseudocode, this statement causes a function to end and sends a value back to the part of the program that called the function.
This is a design tool that describes the input, processing, and output of a function.
This type of function returns either "True" or "False". Used to test a condition.
True/False: "toReal" is an example of a data type conversion function in pseudocode.
This type of error occurs when you try to assign a value of one data type to a variable of another data type.
This is a string within another string.
A module that returns a value back to the part of the program that called it.
What does "IPO" stand for?
The process of configuring programming languages for a specific country is known as _____.
The process of appending one string to the end of another string is known as _____.
_____ means that uppercase characters are distinguished from the lowercase characters.
_____ means that the case of the characters within a string is ignored.
How does a function differ from a module?
True/False: When creating a flowchart for a program that has a function, you draw a separate flowchart for each function.
What does the starting terminal read in a separate flowchart for a function?
What does the ending terminal read?
True/False: In most programming languages you can pass as many arguments into a function as you need, but you can return only one value from a function.
True/False: IPO charts provide only brief descriptions of a function's input, processing, and output, as well as the specific steps taken in the function.
True/False: The decision of whether to use an IPO chart, a flowchart, or both is often left to the programmer's personal preference.
A _____ function is a function that returns either "True" or "False". It is useful for simplifying complex conditions that are tested in decision and repetition structures.
Most programming languages provide several _____ functions. These functions typically accept one or more values as arguments, perform a mathematical operation using the arguments, and return the result.
True/False: The code for a library function must appear in a program in order for the program to call the library function.
True/False: In many languages it is an error to assign a real number to an integer variable.
True/False: In some languages you must use a library function to raise a number to a power.
True/False: Complex mathematical expressions can sometimes be simplified by breaking out part of the expression and putting it in a function.