Python 221 Terms

studied byStudied by 79 people
5.0(2)
Get a hint
Hint

Argument

1 / 62

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

63 Terms

1

Argument

A value sent into a function.

New cards
2

Arithmetic operators

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

New cards
3

ASCII

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

New cards
4

Assignment operator

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

New cards
5

Assignment statement

A statement setting a variable to a value.

New cards
6

Binary operators

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

New cards
7

Byte

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

New cards
8

Bit

A binary digit, 8 bits make a byte.

New cards
9

High-level language

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

New cards
10

Algorithm

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

New cards
11

Blueprint

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

New cards
12

Boolean expression

An expression that evaluates to true or false.

New cards
13

Comments

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

New cards
14

Concatenation

Putting two strings together to form one

New cards
15

Concatenation operator

The operator + which concatenates two strings.

New cards
16

Debugging

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

New cards
17

Divide and conquer

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

New cards
18

Escape sequence or escape characters

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

New cards
19

Execute

To run a program.

New cards
20

Floating-point type

Numbers with a decimal point.

New cards
21

Parameter

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

New cards
22

Identifier

A programmer-created name of a variable.

New cards
23

Infinite loop

A loop which has no exit.

New cards
24

Information hiding

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

New cards
25

Increment

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

New cards
26

Integer type

A whole number without a decimal point.

New cards
27

Keyword or reserved word

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

New cards
28

Logic error

An error not caught by the interpreter.

New cards
29

Logical operators

Operators used in a logical expression, such as <=, >=, <, >, ==.

New cards
30

Loop

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

New cards
31

Loop control variable

A variable used to control a loop.

New cards
32

Machine language

The language that the computer can understand directly.

New cards
33

Nested loop

A loop within a loop.

New cards
34

Off-by-one error

A loop which misses the number of repetitions by one.

New cards
35

Overloading

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

New cards
36

Parameter

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

New cards
37

Precedence rules

The default order in which operators are performed.

New cards
38

Program

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

New cards
39

Pseudocode

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

New cards
40

Relational operators

Operators used in a logical expression, such as <=, >=, ==, <, >.

New cards
41

Relational expression

An expression which evaluates to true or false.

New cards
42

Repetition

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

New cards
43

Reserved word or keyword

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

New cards
44

Return value

The value returned by a function.

New cards
45

Robust

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

New cards
46

Run-time errors

Errors caught by the computer when the program is running.

New cards
47

Selection

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

New cards
48

Self-documenting code

Choosing descriptive variable names to aid in program understanding.

New cards
49

Sentinel

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

New cards
50

Sequence

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

New cards
51

Software

Programs.

New cards
52

Source code

A program written in a high-level language.

New cards
53

Stepwise refinement

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

New cards
54

String

A sequence of characters.

New cards
55

Syntax error

A problem with a program's grammar

New cards
56

Top-down design

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

New cards
57

Trace

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

New cards
58

Unary operator

An operator which takes only one operand.

New cards
59

Un-initialized

A variable which has not yet been given a value.

New cards
60

User-friendly

A program which provides a good user interface.

New cards
61

User interface

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

New cards
62

Variable

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

New cards
63

Variable declaration

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

New cards

Explore top notes

note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 25 people
... ago
5.0(2)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 29 people
... ago
5.0(1)
note Note
studied byStudied by 67 people
... ago
4.7(3)
note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 34 people
... ago
5.0(1)
note Note
studied byStudied by 4699 people
... ago
5.0(6)

Explore top flashcards

flashcards Flashcard (69)
studied byStudied by 6 people
... ago
5.0(2)
flashcards Flashcard (81)
studied byStudied by 24 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (75)
studied byStudied by 43 people
... ago
5.0(2)
flashcards Flashcard (335)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 11 people
... ago
5.0(1)
flashcards Flashcard (30)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (33)
studied byStudied by 28 people
... ago
5.0(1)
robot