CPSC 120A

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/93

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.

94 Terms

1
New cards

high-level programming

human readable code

2
New cards

centralized version control

uses only one server

3
New cards

distributed version control

uses multiple servers

4
New cards

modified

changed file without commitment

5
New cards

staged

will go into next commit snapshot

6
New cards

committed

safely shared in local database

7
New cards

statement

an instruction causing the program to perform an action

8
New cards

function

a collection of statements that are executed in order

9
New cards

main

mandatory function in C++

10
New cards

identifier

name of a function

11
New cards

literal

a value placed in code

12
New cards

random access memory

where memory is stored when running a program

13
New cards

object

a region of storage that can hold a value

14
New cards

allocation

reserving storage for an object's use

15
New cards

initialization

initial value of a variable or preparing for use

16
New cards

iolibrary

input and output

17
New cards

side effect

observable effect aside from return value

18
New cards

expression

a nonempty sequence of literals, variables, operators, and operands

19
New cards

subexpression

operand expression

20
New cards

compound expression

two or more operators

21
New cards

synopsis

usage rules for writing arguments

22
New cards

man page

provides documentation

23
New cards

ellipsis

may be repeated

24
New cards

syntax

rules for writing program elements

25
New cards

declaration

needed before executing a function

26
New cards

compile error

no output from clang++ from bad syntax

27
New cards

command-line error

command prints error message

28
New cards

runtime error

program crashes while running

29
New cards

logic error

program behaves incorrectly

30
New cards

usage error

command not typed in properly

31
New cards

configuration error

environment not ready because of prior errors

32
New cards

function

splits code into modular chunks

33
New cards

returnType

defines a function

34
New cards

return

returns the value of a function

35
New cards

local variable

located in the body of a function

36
New cards

forward

tells the compiler that an identifer exists before defining it

37
New cards

header file

standardized declaration

38
New cards

syntax error

invalid statement from bad syntax

39
New cards

semantic error

error in meaning from use of incorrect functions or impossible tasks

40
New cards

stack

stores data declared in code

41
New cards

heap

stores memory not known at compile time

42
New cards

black-box testing

running a program without looking at code

43
New cards

bisection debugging

locating the section of code that produces a bug

44
New cards

integration test

testing after units are integrated

45
New cards

makefiles

files that give instructions to the compiler

46
New cards

unit

a piece of testable code

47
New cards

dissect

reading and understanding requirements

48
New cards

void

no type

49
New cards

overflow

assigning a variable type that cannot hold an integer

50
New cards

precision

number of decimal points

51
New cards

boolean

only true or false

52
New cards

static_cast

converts data from one type into another

53
New cards

magic number

a numeric literal that represents a business logic concept

54
New cards

unary operators

- returns x-1, + returns x

55
New cards

%

gives the remainder

56
New cards

++

adds 1

57
New cards

--

subtracts 1

58
New cards

&&

AND logic gate

59
New cards

||

OR logic gate

60
New cards

!

NOT logic gate

61
New cards

scalability

the ability for a software client to accommodate increasing workload

62
New cards

container

allows for the use of large numbers of objects

63
New cards

std::vector

creates a vector container

64
New cards

command line argument

an optional string argument passed to the program

65
New cards

argc

gives the number of arguments passed to the program

66
New cards

argv

gives the place of storage for argument vectors

67
New cards

auto

detects type

68
New cards

access index

a value in an array

69
New cards

vector

a set of arrays

70
New cards

break

exits the loop

71
New cards

init statement

executed once before the loop

72
New cards

iteration-expression

run after each iteration

73
New cards

do-while loop

always executes at least once

74
New cards

for statement

defines multiple variables with commas

75
New cards

continue statement

causes the current point of execution to jump to the bottom of the current loop

76
New cards

stream

a sequence of bytes that can be accessed sequentially

77
New cards

flag

a boolean variable that can be turned on and off

78
New cards

manipulator

an object placed in a stream that affects how input and output occur

79
New cards

element

an item stored contiuously within a vector

80
New cards

nesting

organizing information in layers

81
New cards

2D vector

a nested vector

82
New cards

stack and queue

data structures consisting of ordered data

83
New cards

object-oriented programming

creates data types with both properties and well-defined behaviors

84
New cards

class invariant

a condition that must be true throughout an object’s lifetime

85
New cards

class

a program-defined compound type that can have many member variables with different types

86
New cards

member function

a function of a class type

87
New cards

access function

only retrieves or changes a private variable

88
New cards

access specifiers

define visibility

89
New cards

encapsulation

groups data and functions together in classes

90
New cards

inheritance

enables new classes to reuse or extend existing classes

91
New cards

polymorphism

allows one interface to use different underlying types

92
New cards

raster graphic

an image made out of pixels

93
New cards

Mersenne Twister

most common PRNG

94
New cards

modulus

remainder from division