Lesson 7: Manipulating Data with Functions Flashcards
1
Q
What is a function?
A
A function is a defined routine that returns a value.
2
Q
What is the syntax for a function?
A
function (argument1, argument2, …);
- function name
- arguments in parentheses
- arguments are separated by COMMAS.
- ends with semicolon
3
Q
What is a CALL routine?
A
CALL routine
- performs computation or system manipulation
BUT
- it does NOT return a value;
- it ALTERS column values
4
Q
Which function works for random values
A
RAND (‘distribution’, parameter1, parameter k)
5
Q
What function is used to be used to identity the top three (quiz scores)/
A
LARGEST (k, value-1 <, value-2…>)
6
Q
A