Upgrade to remove ads
CSP - 1.4 Key Terms
Terms in this set (46)
Includes the entire directory pathway to get to the specified file, as opposed to the relative filename that is specified only from the current working directory.
The values that the programmer provides in the function call.
Data associated with an object.
Part of a pixel's data that tells how opaque or transparent that color should appear when the graphics card calculates how to render the image on screen.
An Application Programming Interface is a way programmers share their code with other programmers. In object-oriented libraries, an API specifies the methods of each class.
An ordered collection of elements of the same type.
A variable, one of which is possessed by each object in a class, storing a value specific to that object as an instance of the class.
A rectangle that encloses part of an image.
Code telling the interpreter or compiler to execute a function or method defined elsewhere, replacing the call with a return value if applicable.
An exception (or error) caught by lines of code if it is handled instead of being passed to parent programs. If an exception is not caught, the operating system catches it.
An abstraction defining a type of object, with methods (instructions that can be executed) and attributes (variables to store data).
A computer program created to read an entire program and convert it into a lower-level language and ultimately assembly language used by the processor.
A method for creating an object in a class.
The value of an argument if the function is called without that actual argument.
A special comment located at the beginning of a program or the beginning of a function, used to automatically create help documentation.
Escape sequences or escape character
Allow a programmer to display characters that might otherwise be difficult for the programmer to enter or display, such as tabs, quotes, and new lines. Generally an escape sequence begins with the '\' character.
An error or other message raised by the interpreter or compiler to indicate a special circumstance that should be handled by an exception handler. If an exception is not handled, the program will stop and report the error.
For internal use within a function, formal arguments are names that represent data passed to the function, discarded after the function has been executed.
A unique identifier given to the function when it is defined and used again whenever the function is called.
A Graphical User Interface, currently the dominant method for designing human-computer interaction.
An event such as mouse input in a graphical user interface, or such as an error or exceptions, triggers the execution of an event handler or exception handler.
A single object of a particular class.
Process of creating an object, an instance of a class; creates space in memory for the new object and binds a name for the object with the object's data in memory.
To determine intermediate values between data points.
A way to pass arguments to a function or method inPython. By providing the keyword, the arguments may be provided in any order.Mutable objects like lists arepassed by reference(meaning that the function might change them). Immutable objects like numeric types, strings, and tuples arepassed by value(meaning that if they are changed inside the function, it has no effect outside the function). This is an important but advanced distinction not covered in the course, mentioned here only because of the conflicting term.
A collection of modules.
Information about data, such as when, how, or by whom the data were collected or what software was used to manipulate the data.
Instructions executed for a particular object.
An encapsulated collection of one or more related classes, each with its own methods and attributes.
Denoted by''',these can generate docstrings and allow the programmer to leave notes in code that span several lines without having to type '#' at the beginning of each line.
An object that is able to be changed after its creation. InPythonincludes lists and dictionaries. Strings, for example, areimmutable, and a variable can only be assigned to a new value rather than changed in the same memory location.
The set of variable and function names that have been reserved by the compiler/interpreter.
An element in a tree.
A specific instance of a class with a specific set of values for its own attributes that is able to execute any methods defined in its class.
A paradigm for programming in which code describes a class with methods, including a method for creating an object in the class.
Cannot be seen through; the opposite of transparent.
Overriding a default
Providing a value for an argument in a function when the function has been defined with a default value for the argument, causingPythonto use the value provided instead of the default.
Short for picture element; it is a single dot of color.
An effect created by attempting to display an image at a high enough resolution that individual pixels can be differentiated.
A filename and a path for getting to the file's directory, starting from the current working directory
Any value that a method or function gives back to the statement command from which the function or method is called.
The top level of a file structure. The folder that contains all other folders.
A field within cryptography; uses images to hide data.
A list of function calls that were made before an exception stopped the program.
A data structure in which each node has exactly one parent, with the exception of the root node, which has no parent.
Ensure that the values stored in variables are of the correct type and/or within appropriate value ranges.
YOU MIGHT ALSO LIKE...
Lesson 1.4 Images and Object-Oriented Libraries -…
COP3503 Lectures 1-12
Exam 2 Computer Science
OTHER SETS BY THIS CREATOR
Unit 5 - Applications of Integration
Unit 4 - Integration
MTH107 Unit 1 - Sampling and Data
Unit 3 - Applications of Differentiation