GaTech, CS1301, Final

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/200

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

201 Terms

1
New cards

Compound Data Type

data type in which the values are made up of components, or elements, that are themselves values

2
New cards

Immutable Type

compound data type whose elements cannot be assigned new values

3
New cards

Slice

part of a string specified by a range of indices

4
New cards

Traverse

to iterate through the elements of a set, performing a similar operation on each

5
New cards

Aliases

multiple variable that contain references to the same object

6
New cards

Clone

to create a new object that has the same value as an existing object. Copying a reference to an object creates an alias but doesn't clone the object

7
New cards

Mutable Type

data type in which the elements can be modified, all mutable types are compound types, list are mutable

8
New cards

Sequence

any data types that consist of an ordered set of elements, with each element identified by an index

9
New cards

File

named entity that contains a stream of characters

10
New cards

Algorithm

general process for solving a category of problems

11
New cards

Block

section of code under the def statement

12
New cards

Boolean Expression

an expression that returns True or False

13
New cards

Conditional Statement

a statement that evaluates some data and does something

14
New cards

Decrement

to decrease by one

15
New cards

Dictionary

collection of key-value pairs that map from keys to values, the keys can be any immutable type, and values can be any type

16
New cards

Element

part of a function

17
New cards

Evaluate

to simplify an expression by performing the operations in order to yield a single value

18
New cards

Exception

runtime error

19
New cards

Float

data type with decimals

20
New cards

Flow of Execution

order in which statements are executed during a program run

21
New cards

Function

a program that returns something

22
New cards

Global Variables

variables defined outside the program

23
New cards

Increment

to increase by one

24
New cards

Integer

python data type that holds whole numbers

25
New cards

Integer Division

operation that divides one integer by another and yields an integer, whole number numbers only

26
New cards

Iteration

to go through a set of code

27
New cards

Keyword

reserved word that is used by compiler to parse program

28
New cards

Lambda

used inside functional programming to create a small function

29
New cards

Local Variable

a variable defined inside a function

30
New cards

Modulo

%, works on integers and yields the remainder

31
New cards

Nested List

a list inside a list

32
New cards

None

special python value returned by function that have no return statement

33
New cards

Operator

special symbol that represents a simple computation like addition

34
New cards

Parameter

name used inside a function to refer to the value passed as an argument

35
New cards

Pixel

the smallest part of a picture

36
New cards

Proprioception

sensors that detect internal state, on your scribbler, getName, time and battery voltage are examples of internal sensors

37
New cards

Recursion

the process of calling a function that is currently executing

38
New cards

Robot

itsa robot

39
New cards

Runtime Error

an error that occurs when the program is run

40
New cards

Semantic Error

when the program runs correctly but doesn't do the intended function

41
New cards

Sequence

any of the data types that consist of an ordered set of elements, with each element identified by an index

42
New cards

Short Circuit Evaluation-

stuff

43
New cards

String

immutable data type

44
New cards

Syntax Error

error in a program that makes it impossible to parse

45
New cards

Type Conversion

to change data from one type to another

46
New cards

Variable

any unknown

47
New cards

Compound Data Type

data type in which the values are made up of components, or elements, that are themselves values

48
New cards

Default Value

value given to an optional parameter if no argument for it is provided in the function call

49
New cards

Docstring

string constant on the first line of a function or module definition

50
New cards

Dot Notation

use of the dot operator (.) to access functions inside a module

51
New cards

Immutable

compound data type whose elements cannot be assigned new values

52
New cards

Index

variable or value used to select a member of an ordered set, such as a character from a string

53
New cards

Optional Parameter

parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call

54
New cards

Slice

a part of a string specified by a range of indices.

55
New cards

Traverse

to iterate through the elements of a set, performing a similar operation on each

56
New cards

Whitespace

any of the characters that move the cursor without printing visible characters

57
New cards

Aliases

multiple variable that contain references to the same object

58
New cards

Clone

to create a new object that has the same value as an existing object. Copying a reference to an object creates an alias but doesn't clone the object

59
New cards

Delimiter

character or string used to indicate where a string should be split

60
New cards

Element

one of the values in a list. The bracket operator selects elements of a list

61
New cards

Index

integer variable or value that indicates an element of a list

62
New cards

List

named collection of objects where each object is identified by and index

63
New cards

List Traversal

sequential accessing of each element list

64
New cards

Modifier

a function which changes its arguments inside the function body. Only mutable types can be changed by modifiers

65
New cards

Mutable Type

data type in which the elements can be modified, all mutable types are compound types, List are mutable data types; strings are not

66
New cards

Nested List

list that is an element of another list

67
New cards

Object

thing to which a variable can refer

68
New cards

Pure Function

function which has no side effects, pure functions only make changes to the calling program through their return values

69
New cards

Sequence

any of the data types that consist of an ordered set of elements, with each element identified by an index

70
New cards

Side Effect

change in the state of a program made by calling a function that is not a result of reading the return value from the function. Side effects can only be produced by modifiers

71
New cards

Test-Driven Development

software development practice which arrives at a desired feature through a series of small, iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature

72
New cards

Argv

short for argument vector and is a variable in the sys module which stores a list of command line arguments passed to a program at run time

73
New cards

Attribute

variable defined inside a module, accessed by using the dot operator (.)

74
New cards

Command Line

sequence of characters read into the command interpreter in a command line interface

75
New cards

Command Line Argument

a value passed to a program along with the program's invocation at the command prompt of a command line interface

76
New cards

Command Prompt

a string displayed by a command line interface indicating that commands can be entered

77
New cards

Continue Statement

statement that causes the current iteration of a loop to end. The flow of execution goes to the top of the loop, evaluates the condition, and proceeds accordingly

78
New cards

Delimiter

a sequence of one or more characters used to specify the boundary between separate parts of text

79
New cards

Directory

a named collection of files, also called a folder

80
New cards

Dot Operator

(.) permits access to attributes and functions of a module

81
New cards

File

a named entity, that contains a stream of characters

82
New cards

File System

method for naming , accessing, and organizing files and the data they contain

83
New cards

Import Statement

statement which make the objects contained in a module available for use within another module

84
New cards

Jython

implementation of the python programming language written in java

85
New cards

Method

function like attribute of an object are called using dot operator

86
New cards

Mode

distinct method of operation within a computer program

87
New cards

Module

file containing Python definitions and statements intended for use in other python programs

88
New cards

Namespace

syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity

89
New cards

Naming Collision

situation in which two or more names in a given namespace cannot be unambiguously resolved

90
New cards

Non-volatile Memory

memory that can maintain its state without power, hard drives, flashdrives

91
New cards

Path

name and location of a file within a file system

92
New cards

Pydoc

documentation generator that comes with the python standard library

93
New cards

Standard Library

collection of software used as tools in the development of other software

94
New cards

Text File

file that contains printable characters organized into lines separated by newline characters

95
New cards

Volatile Memory

memory which requires an electrical current to maintain state. The main memory or Ram of a computer is volatile.

96
New cards

Tuple

data type that contains a sequence of elements of any type, like a list, but is immutable. Tuples can be used wherever an immutable type is required, such as a key in a dictionary

97
New cards

Tuple Assignment

an assignment to all of the elements in a tuple using a single assignment statement, tuple assignment occurs in parallel rather than in sequence, making it useful for swapping values

98
New cards

Algorithm

general process for solving a category of problems

99
New cards

Bug

an error

100
New cards

Byte code

intermediate language between source code and object code