Lesson 7: Manipulating Data with Functions Flashcards

1
Q

What is a function?

A

A function is a defined routine that returns a value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which function works for random values

A

RAND (‘distribution’, parameter1, parameter k)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What function is used to be used to identity the top three (quiz scores)/

A

LARGEST (k, value-1 <, value-2…>)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly