AP CSA - Unit 1

0.0(0)
Studied by 1 person
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/55

Last updated 5:35 AM on 11/14/22
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

56 Terms

1
New cards
software engineer
a person who designs, develops, and tests software for home, school, and business use
2
New cards
class header
consists of the class keyword and the name of the class
3
New cards
integrated development environment (IDE)
a software application for writing, compiling, testing, and debugging program code
4
New cards
software
a collection of instructions that is run by a computer
5
New cards
source code
a collection of programming commands
6
New cards
syntax
the rules for how a programmer must write code for a computer to understand
7
New cards
syntax error
a mistake in the code that does not follow a programming language's syntax
8
New cards
attribute
a characteristic of an object
9
New cards
behavior
an action that an object can perform
10
New cards
bug
an error in the code
11
New cards
class
a programmer-defined blueprint from which objects are created
12
New cards
constructor
a block of code that has the same name as the class and tells the computer how to create a new object
13
New cards
debugging
finding and fixing problems in an algorithm or program
14
New cards
instantiate
to call the constructor to create an object
15
New cards
object
an instance of a class
16
New cards
object-oriented programming
an approach to creating and using models of physical or imagined objects
17
New cards
package
a collection of similar classes
18
New cards
state
the attributes of an object that are represented by its instance variables
19
New cards
Procedural Abstraction
allows a programmer to use a method by knowing what the method does even if they do not know how the method was written
20
New cards
void method
a method that performs an action but does not return a value
21
New cards
argument
a value passed to a method or constructor when the method or constructor is called
22
New cards
dot operator
used to call a method in a class
23
New cards
method
a named set of instructions to perform a task
24
New cards
parameter
a variable in the method or constructor signature that defines the type of value to receive when the method or constructor is called
25
New cards
boolean
a primitive data type that can be either true or false
26
New cards
if statement
a conditional statement that only executes when the condition is true
27
New cards
condition
determines whether or not to execute a block of code
28
New cards
conditional statement
a statement that only executes when a condition is true
29
New cards
logic error
an error that occurs when the code runs but does not do what was expected
30
New cards
return
to exit a method and go back to the point in the program that called it with the requested value or information
31
New cards
super keyword
a keyword used to refer to the superclass
32
New cards
constructor signature
the first line of the constructor which includes the public keyword, the constructor name, and the values to specify when an object is created
33
New cards
inheritance
an object-oriented programming principle where a subclass inherits the attributes and behaviors of a superclass
34
New cards
sublcass
a class that extends a superclass and inherits its attributes and behaviors
35
New cards
superclass
a class that can be extended to create subclasses
36
New cards
method signature
consists of a name and parameter list
37
New cards
code review
the process of examining code and providing feedback to improve the quality and functionality of the program
38
New cards
comment
a text note that is ignored by the compiler to explain or annotate the code
39
New cards
documentation
written descriptions of the purpose and functionality of code
40
New cards
programming style
a set of guidelines for formatting program code
41
New cards
while loop
a control structure which executes a block of code repeatedly as long as a condition is true
42
New cards
Algorithm
a set of instructions to solve a problem or accomplish a task
43
New cards
control structure
a conditional or iteration statement which affects the flow of a program
44
New cards
efficent
getting the best outcome with the least amount of waste
45
New cards
infinite loop
a loop where the Boolean expression always evaluates to true
46
New cards
iteration statement (loop)
a control structure that repeatedly executes a block of code
47
New cards
pseudocode
a plain language description of the steps in an algorithm
48
New cards
NOT (!) operator
a logical operator that returns true when the operand is false and returns false when the operand is true
49
New cards
if-else statement (two-way selection statement)
specifies a block of code to execute when the condition is true and a block of code to execute when the condition is false
50
New cards
logical operator
an operator that returns a Boolean value
51
New cards
concatenation
joining two strings together
52
New cards
Method Decomposition
the process of breaking a problem down into smaller parts to write methods for each part
53
New cards
Edge Case
a bug that occurs at the highest or lowest end of a range of possible values or in extreme situations
54
New cards
redundant code
code that is unnecessary
55
New cards
inheritance hierarchy
where a class serves as a superclass for more than one subclass
56
New cards
Open Source Code
code that is freely available for anyone to use, study, change, and distribute