python jargon Flashcards

1
Q

algorithm

A

A general process for solving a category of problems

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

argument

A

a value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.

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

body

A

the sequence of statements inside a function definition

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

composition

A

using a statement as part of a larger statement, or an expression as part of a larger expression

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

deterministic

A

pertaining to a program that does the same thing each time it runs, given the same inputs

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

dot notation

A

The syntax for calling a function in another module by specifying the module name followed by a dot (period) and the function name. (math)

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

flow of execution

A

the order in which statements are executing during a program run

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

fruitful function

A

a function that returns a value

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

function

A

a named sequence of statements that performs some useful operation. Functions may or may not take arguments and may or may not produce a result.

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

function call

A

a statement that executes a function. It consists of the function name, followed by an argument list.

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

function definition

A

a statement that creates a new function, specifying its name, parameters, and the statement it executes.

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

function object

A

A value created by a function definition. the name of a function is a variable that refers to the function object.

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

header

A

the first line of a function definition

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

import statement

A

a statement that reads a module file and creates a module object.

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

module object

A

A value created by an import statement that provides access to the data and code defined in a module

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

parameter

A

A name used inside a function to refer to the value passed as an argument.

17
Q

pseudorandom

A

Pertaining to a sequence of numbers that appear to be random, but are generated by a deterministic program.

18
Q

return value

A

The result of a function. If a function call is used as an expression, the return value is the value of the expression

19
Q

void function

A

a function that does not return a value