Test 2 Flashcards

1
Q

File object

A

Object in a specific file

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

Method

A

Belongs to and operates with a specific object

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

Record

A

Set of data for one item

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

Field

A

Single piece of data within a record

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

Traceback

A

Error message that gives information on the exception

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

Exception handler

A

Code that prevents program to crash from an exception

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

Function

A

Group of statements in a program that perform specific task

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

Modularized program

A

Program where each task is it’s own function

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

Void Function

A

Executes the statements then terminates

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

Value returning function

A

Returns value to the statement that called it

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

Local variable

A

variable assigned to a value within a function

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

scope

A

part of the program where the variable can be accessed.

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

argument

A

piece of data sent into the argument

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

Parameter variable

A

variable that is assigned the value of an argument when the function is called

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

Global Variable

A

assignment statement written outside of all functions

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

Standard Library

A

library of pre-written functions that come with Python

17
Q

Modules

A

files that store functions of the standard library

18
Q

IPO Chart

A

Describes the Input, Processing, and Output of a function

19
Q

Boolean function

A

Returns true or false

20
Q

Repetition structure (loop)

A

Repeats the function as much as necessary

21
Q

While loop

A

While statement is true do this (pretest loop)

22
Q

Count Controlled loop

A

Iterates a specific number of times

23
Q

sentinel

A

Special character that marks the end of a sequence of variables

24
Q

Input Validation

A

Inspecting the value before being processed

25
Q

Nested loop

A

A loop that contains another loop