Python 221 Terms

5.0(2)
studied byStudied by 82 people
5.0(2)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/62

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

63 Terms

1
New cards

Argument

A value sent into a function.

2
New cards

Arithmetic operators

Operators such as +, -, *, //, %, used for arithmetic calculations.

3
New cards

ASCII

A subset of the Unicode Character set mapping the set of keyboard characters to integers that can be stored in the computer

4
New cards

Assignment operator

The operator = which is used to assign a value to an object.

5
New cards

Assignment statement

A statement setting a variable to a value.

6
New cards

Binary operators

Operators needing two operands, such as +, -, *, /, %.

7
New cards

Byte

The smallest addressable unit of memory. 8 bits make a byte.

8
New cards

Bit

A binary digit, 8 bits make a byte.

9
New cards

High-level language

A programming language designed to be relatively easy for people to understand and use.

10
New cards

Algorithm

A set of steps which, when followed, give a solution to a problem.

11
New cards

Blueprint

A term used to describe the nature of a class which creates multiple copies of itself

12
New cards

Boolean expression

An expression that evaluates to true or false.

13
New cards

Comments

Non-executing text which a programmer inserts in the program to explain and document the code.

14
New cards

Concatenation

Putting two strings together to form one

15
New cards

Concatenation operator

The operator + which concatenates two strings.

16
New cards

Debugging

Removing syntax or grammar, run-time, and logical errors from a program.

17
New cards

Divide and conquer

A method of problem solving which breaks the problem into smaller pieces to make it easier to solve.

18
New cards

Escape sequence or escape characters

Characters that override the meaning of the code to allow for insertion of special characters

19
New cards

Execute

To run a program.

20
New cards

Floating-point type

Numbers with a decimal point.

21
New cards

Parameter

A placeholder in a method used to stand in for the argument.

22
New cards

Identifier

A programmer-created name of a variable.

23
New cards

Infinite loop

A loop which has no exit.

24
New cards

Information hiding

Creating a method which can be used without knowledge of its design or implementation.

25
New cards

Increment

Adding one to a variable during processing, usually in a loop.

26
New cards

Integer type

A whole number without a decimal point.

27
New cards

Keyword or reserved word

A word reserved by Python that cannot be used as an identifier.

28
New cards

Logic error

An error not caught by the interpreter.

29
New cards

Logical operators

Operators used in a logical expression, such as

30
New cards

Loop

A programming mechanism to control repeated execution of a block of code.

31
New cards

Loop control variable

A variable used to control a loop.

32
New cards

Machine language

The language that the computer can understand directly.

33
New cards

Nested loop

A loop within a loop.

34
New cards

Off-by-one error

A loop which misses the number of repetitions by one.

35
New cards

Overloading

Having two or more method definitions with the same method name.

36
New cards

Parameter

A placeholder that is filled with an argument when a function is called.

37
New cards

Precedence rules

The default order in which operators are performed.

38
New cards

Program

A set of programmer-written instructions for the computer to follow

39
New cards

Pseudocode

Python-like code and English statements used to write the program's algorithm.

40
New cards

Relational operators

Operators used in a logical expression, such as

41
New cards

Relational expression

An expression which evaluates to true or false.

42
New cards

Repetition

One of the fundamental control mechanisms which repeats a block of code.

43
New cards

Reserved word or keyword

Words with pre-defined meaning which cannot be used as user identifiers.

44
New cards

Return value

The value returned by a function.

45
New cards

Robust

A program which does not crash because it tests input for correctness.

46
New cards

Run-time errors

Errors caught by the computer when the program is running.

47
New cards

Selection

Also known as branching, one of the fundamental control mechanisms used to choose a logical path.

48
New cards

Self-documenting code

Choosing descriptive variable names to aid in program understanding.

49
New cards

Sentinel

An end-of-data marker, indicating the end of a loop.

50
New cards

Sequence

One of the fundamental control mechanisms, execution of instructions one after another with no branching or repetition.

51
New cards

Software

Programs.

52
New cards

Source code

A program written in a high-level language.

53
New cards

Stepwise refinement

A method of problem solving which breaks the problem into smaller pieces to make it easier to solve.

54
New cards

String

A sequence of characters.

55
New cards

Syntax error

A problem with a program's grammar

56
New cards

Top-down design

A method of problem solving which breaks the problem into smaller pieces to make it easier to solve.

57
New cards

Trace

An important debugging and programming tool, which consists of doing a desk check on code; following the logical path of the code.

58
New cards

Unary operator

An operator which takes only one operand.

59
New cards

Un-initialized

A variable which has not yet been given a value.

60
New cards

User-friendly

A program which provides a good user interface.

61
New cards

User interface

Provides the client the necessary information to use the program or method.

62
New cards

Variable

A user-created identifier to hold an object which can change during the course of the program.

63
New cards

Variable declaration

Telling the computer to create a memory location for an object.