Flashcards
1.3
Cards in this deck (55)
- 1ArgumentsThe values that the programmer provides in the function call.
- 2Assignment OperatorThe ‘=’ character causes the compiler or interpreter to evaluate to the expression on its right and store the result in the variable(s) on its left.
- 3Block of CodeA group of program statements that are grouped together, denoted by indentation in Python.
- 4Built-in FunctionThe set of functions available to the programmer without the need to use any “import” or “include” statements.
- 5CallCode telling the interpreter or compiler to execute a function or method defined elsewhere, replacing the call with a return value if applicable.
- 6CharacterAny single typeset unit, including uppercase and lowercase letters, digits, punctuation marks, international characters like letters with Ümläüts, and special characters like tabs and carriage returns.
- 7CloneA duplicate copy.
- 8CollectionA variable or value with several elements such as a string, tuple, or list.
- 9CompilerA computer program created to read an entire program and convert it into a lower-level language and ultimately to assembly language used by the processor.
- 10Compound ConditionalA conditional with one or more logical operators used to incorporate several logical expressions.
- 11Default ValuePython allows a programmer to specify the value for an argument if the function is called without that actual argument.
- 12DiffThe set of differences between two versions of the same piece of code.
- 13DocstringA special comment located at the beginning of a program or the beginning of a function that is used to automatically create help documentation.
- 14ElementA single object or variable/value in a collection.
- 15EvaluateTo determine the result of an expression.
- 16ExceptionAn 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.
- 17FloatA native type representing rational numbers to limited precision.
- 18Flow ChartA graphic organizer that can be used to show the procedural pathways within a program.
- 19Formal ArgumentsFor internal use within a function, formal arguments are names that represent data passed to the function, discarded after the function has been executed.
- 20Function NameA unique identifier given to the function when it is defined and used again whenever the function is called.
- 21Garbage CollectionReleases memory that was used for a variable's value once the variable is no longer to be used by a program.
- 22Glass Box TestingProcess for evaluating the correctness or effectiveness of a piece of software while examining its algorithmic structure.
- 23ImmutableNot able to be changed after creation.
- 24ImportIn Python import is a key word for using one module of code from inside another module.
- 25IntA native type representing the integers, which are positive whole numbers and their opposites.
- 26InterpreterConverts a program written in a higher level language into a lower level language and executes it, beginning execution before converting the entire program.
- 27IterableA property of collections that are used to provide elements one at a time and in sequence.
- 28Least Significant BitsThe bits that contribute the smallest amount to the overall value of a binary number, including the 1s place value.
- 29LibraryA collection of modules.
- 30LoopAlgorithmic structure for performing the instructions multiple times, with each pass through the loop called an iteration. Usually controlled by a condition evaluated with each iteration.
- 31Machine CodeZeros and ones that represent simple instructions executed by a processor.
- 32ModuleAn encapsulated collection of one or more related classes, each with its own methods and attributes.
- 33Multi-line CommentDenoted by either ‘’’, or “”” 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.
- 34Multiple AssignmentPython allows a programmer to assign values to several variables at once. This may be used to store a group of values returned by a function.
- 35MutableAn object that is able to be changed after its creation.
- 36NamespaceThe set of variable and function names that have been reserved by the compiler/interpreter.
- 37Native TypeThe types of data built into a programming language, often faster and more efficient with resources.
- 38Null StringA string that contains no characters.
- 39Op CodeThe digital representation of an instruction that will be fetched, decoded, retrieved, and executed by the CPU.
- 40RegisterA very tiny part of the processor microchip that stores bits of data, typically 32 or 64 bits in modern computers.
- 41Return ValueAny value that a method or function gives back to the statement command from which the function or method is called.
- 42ScopeThe portion of a program that knows about a variable and can access its value. In Python a variable has a local scope (the variable can only be used in a function definition) or global scope (the variable can be used anywhere in the source file of code).
- 43SlicingSelecting a portion of a collection.
- 44StringA native type in Python representing a sequence of characters. Strings are both iterable and immutable.
- 45SyntaxThe grammar of a programming language, defining what specific sequences of characters are allowed, what they mean, and how they can be put together.
- 46Test SuiteA software package designed to evaluate the correctness or effectiveness of another software solution.
- 47Test-Driven DesignA software development process in which developers first create a test suite and then create the code to satisfy the test suite, e.g., Xtreme Programming.
- 48TracebackA list of code that was executed just before an exception stopped the program.
- 49TupleA native type in Python that can store a collection but cannot assign new values to individual elements.
- 50Type CastingConverting data from one type to another, e.g., from string to int, potentially losing information.
- 51UniqueWithout duplicates; a unique set of numbers is a group of numbers such that no number appears twice.
- 52ValidateEnsure that the values stored in variables are of the correct type and/or within appropriate value ranges.
- 53Variable BindingA process in which the name you give a variable is stored in a lookup table along with the memory address that the interpreter should access when the variable is referenced in the future.
- 54Version ControlA process to keep track of what changes were made to what files so that a specific version can be referred to and improvements in multiple versions can be merged together.
- 55Working DirectoryThe directory in the file system you are currently "in".
Information
- Description
- Flashcards on 1.3, created by mactastiic on 14/04/2015.
- Created by
- mactastiic
- Views
- 0
- Rating