Vocabulary Flashcards

To learn the vocabulary used in Introductory Python Programming

1
Q

Argument or Parameter

A

Data that a function or statement needs in order to operate

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

Assignment

A

Gives or assigns a value to a variable

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

Section of code which is grouped together through Indentation

A

Block or Suite

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

Translates a program written in a high-level language into a low-level language so it can execute.

A

Compiler

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

Conditional or Conditional Statement

A

Statement that contains an if or if/else or if/elif/else. Used to determine a True or False condition.

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

The process of identifying and rectifying errors within a program.

A

Debugging

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

def

A

Defines a function.

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

Python code that produces a value of any data type.

A

Expression

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

float

A

A floating point number, a number with a decimal value

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

for loop

A

A statement that iterates over an iterable object, assigning each element to a local variable for use by the following block

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

function

A

A named sequence of code that has a specific purpose and can utilize arguments.

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

function call

A

An invocation of a function with arguments.

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

Executes a block of code once when a condition is true.

A

if statement

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

Cannot be modified after its created.

A

immutable

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

import

A

Used to import libraries whose functions or variables can then be used in the current program.

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

indentation

A

Python uses indentation to define or delimit blocks.

17
Q

int

A

An integer (whole number) of unlimited magnitude.

18
Q

Execute a program by translating it one line at a time.

A

interpret

19
Q

iterable

A

An object containing a grouping of objects, like lists and strings.

20
Q

An iterable data type containing a grouping of objects, potentially of mixed data types.

A

list

21
Q

object-oriented

A

Refers to programming languages that focus on Objects and their modification instead of procedures.

22
Q

Slice

A

Taking a portion of a sequence or iterable.

23
Q

str

A

A character string: a sequence of characters, it is an iterable, can include numbers, letters, and other symbols. Enclosed by either double or single quotes.

24
Q

statement

A

Can refer to any line of code or specifically a line of code in a suite, or block.

25
Q

Variable

A

A named storage location, like a bin, for strings and numbers and other data types. The equal sign (=) is used to assign values to variables.

26
Q

Executes a block of code as long as its condition is true.

A

while loop

27
Q

concatinate

A

to merge two strings together into a new string.