Comp Sci Unit 5/6 Vocab

20 flashcardsby H
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
Declaring a Variable
A statement that defines a variable with a data type
2
Initializing a variable
the assignment of a value to a variable
3
code block
one or more statements that are grouped together with curly brackets {}
4
nesting
pulling statements inside of other statements
5
iteration
the process of repeating code
6
array
an ordered list of similar items
7
elements
the items stored in an array
8
index
an element's position within an array
9
instantiate
when a new instance is created using the keyword 'new'
10
immutable
cannot be changed
11
initializer list
when you create an array from known values
12
square bracket notation
used to access or change the value of an element at a particular index in an array
13
parentheses
used after the name of a method
14
zero index language
the first character of a String and the first element in an array is at index 0
15
parameter
pieces of information a method needs to run
16
exception
an event that occurs when a program is running, that disrupts its normal flow
17
method
named block of code
18
API (application programming interface)
documentation of a class to other programmers that lists the methods and properties of the class
19
type casting
the process of temporarily converting one type of date to another
20
concatenation
attaching two things side-by-side, frequently strings of text
Study all 20 cards for free