Home
Subjects
Textbook solutions
Create
Study sets, textbooks, questions
Log in
Sign up
Upgrade to remove ads
Only $35.99/year
AP Computer Science A vocabulary
STUDY
Flashcards
Learn
Write
Spell
Test
PLAY
Match
Gravity
Terms in this set (80)
access specifier
public or private
argument
a value passed to a method
array
a static data type holding a homogeneous sequence of values
assign
give a value to a variable
bit
a binary digit, 0 or 1
boolean
true or false
byte
a set of 8 bits
call/invoke
executing a method
cast
convert a value to another type
class
a related set of fields and methods
comment
/, /* */, and /** */
compile
translate Java code into low-level bytecode
compile-time
taking place between pressing 'run' and execution
compound assignment
+=, -=, *=, /=, or %=
concatenate
combine, usually referring to combining strings
console
the prompt where output appears and input is entered
constructor
a special method automatically run when you create a new object
control structure
if, for, while, for-each
debug
identify and resolve errors
declare
allocate memory to a variable and identify its type
decrement
decrease by one
documentation/specification
comments or separate files indicating the function of a method or class
double
a rational value
driver class
the first class run, which contains the main method
error
a fatal program state, like OutOfMemoryError
escape sequence
special character combination; \n, \", \\
exception
a sometimes-fatal program state, like ArithmeticException
expression
a set of values and operators that evaluates to a single value
field
a variable representing a property of a class
final variable/constant
a variable defined with the 'final' keyword whose value is fixed
floating-point
a numeric value containing a decimal point
getter/accessor
a method that retrieves fields in a class
header
the first line of a class, method, or control structure; e.g., 'public int add2(int x)' or 'if (a || b)'
immutable
cannot be changed
import
allow for use of non-standard Java features
increment
increase by one
index
a specific position/slot in a string or array
infinite loop
a loop that will never terminate
initialize
declare and assign a value at once
input
values entered by the user
instance
an implementation of a class
instantiate
create a new instance
int
an integral value
iterate
cycle through each value in a sequence
keyword
a special Java term (usually stylized as bold in Eclipse); boolean, class, double, else, final, for, if, import, int, new, package, private, public, return, static, void, while
logic
using boolean values with &&, ||, and !
loop
a repeating control structure; for, while, for-each
main method
the starting point of the program; its signature is static main(String[])
memory
the set of all stored values and objects in a program
method
a named, independent block of code
mutable
can be changed
nesting
control structures inside of other control structures
null
a special value representing a missing value
object
a variable holding a non-primitive type
operator
arithmetic, comparison, logical, assignment
output
values displayed by the program
overload
making methods with the same name but different signatures
package
a related group of classes
parameter
a variable representing a method's input
postcondition
a set of statements that should be true after executing a method
precondition
a set of statements that can be assumed to be true prior to executing a method
primitive
int, double, and boolean
private
only accessible within its class
public
accessible from anywhere in the program
return
pass on a value to a parent method
runtime
taking place after the source has compiled
scope
the block in which a variable is defined
setter/mutator
a method that changes fields in a class
short-circuit evaluation
a method of evaluating boolean logic used by Java that allows coders to avoid exceptions
signature
a unique identifier held by all methods; includes its name and parameter types; e.g. main(String[])
source
the code in a program
statement
an individual instruction followed by a semicolon
string
a sequence of characters, wrapped in quotes
syntax
the organization of words and symbols in the source code
traverse
iterate through an array
truncate
remove the end of a number or string
type
the primitive type or class that defines a variable
variable
a name associated with a type and value
void
indicates a method returns no value
wrapper class
a class that "wraps" a primitive type; Integer, Double, and Boolean
Sets with similar terms
AP CSA Flash Cards
45 terms
Scripting and Programming Foundations
93 terms
CS - Chapter 7
60 terms
Final Review Questions
94 terms
Sets found in the same folder
AP Computer Science A Review 4
25 terms
AP Computer Science A - Review 1
47 terms
AP Computer Science A Chapter 7-9
45 terms
AP Computer Science A - Review 2
62 terms
Other sets by this creator
c plus plus
17 terms
C++ Plus Data Structures
414 terms
AP Computer Science A
62 terms
AP Computer Science A: Operators
22 terms
Verified questions
VOCABULARY
From the list below, supply the words needed to complete the paragraph. Some words will not be used. Dastardly, gist, entity, jaded, ogre, bandy, charisma. The ______ athlete, accustomed to winning first place, wanted to be happy with her third-place trophy, but deep down, she felt that months of intensive training had gone to waste. On the bus ride home, she refused to _____ compliments or even joke about the race with her teammates. She could think only about the _______ runner who intentionally tripped her early in the race and likely cost her the win. Myra could not believe that such an unsportsmanlike _______ was allowed to compete in track meets.
VOCABULARY
From the list below, supply the words needed to complete the paragraph. Some words will not be used. dogmatic, extraneous, abet, coerce, gregarious, meticulous, divulge. Mr. Knight learned the _____ art of watchmaking during a three-year stay in Switzerland more than forty years ago. Since that time, he has spent countless evenings in his basement workshop assembling the tiny, complex machines. As a[n] _____ grandfather, Mr. Knight often invites his grandchildren to his shop, where they watch with amazement through a large magnifying glass and see a newly assembled pocket watch tick for the first time. "Watches are such perfect machines; there's no room for _____ parts or over-engineering. And then, to see such a tiny machine operate under its own power-it amazes me every time." When asked about his thoughts on the mass production techniques of modern watches, Knight revealed his _____ belief that Old World skills made watches much more valuable. "Oh, yes, the new watches are inexpensive and readily available, which fills the practical need, but they lack the sentiment and the many hours of craftsmanship that should go into a fine piece of jewelry." "These watches," he says as he points to a sparkling display cabinet, "have character." Mr. Knight hopes someday to _____ the many secrets of his trade to his youngest grandson, who can then carry on the family tradition for years to come.
VOCABULARY
From the list below, supply the words needed to complete the paragraph. Some words will not be used. Primeval, exuberance, dote, tenure, laminate, hovel, substantiate. During Dr. Rigby's _____ as the team leader at the archaeological dig, she found the remains of a 3,000-year-old doll that had probably been _____ on by a child living in the clean, _____ forest circling the. mountain. In addition, the team found evidence that the ancient tribe knew how to _____ weapons and tools by hammering layers of steel together to add strength, but the laboratory would have to test the tools in order to _____ the theory.
VOCABULARY
From the list below, supply the words needed to complete the paragraph. Some words will not be used. charlatan, levity, naive, bask, enraptured, fickle, hoax, mundane, amicable. When the _____ citizens of Reynoldsville finally realized that their forty-cent bottles of miracle sap contained nothing more than licorice extract and whiskey, they formed a lynch mob and searched for the _____ who had sold the fake elixir. Unfortunately, Colonel Britton, the quack they were looking for, had already taken his wagon and quietly left town before dawn. He rode nonstop for a full day until, in his usual routine, he pulled far off the trail and spent a day restocking his miracle sap, occasionally breaking to partake of some himself. _____ by the beautiful scenery of the Black Hills, Britton didn't waste his opportunity to _____ in the low autumn sun for the remainder of the afternoon. While most of his clientele were desensitized to the beauty of nature after spending harsh lives in it, Britton never once considered his private outings to be _____ if he didn't spend at least a few hours enjoying nature every week, he had trouble maintaining his _____ demeanor whenever he rolled into a new town. If Britton didn't at least appear to be happy, people were not going to purchase his tonic, whether it was a[n] _____ or not. His customers were very _____ about spending their money; if they had even the slightest notion that Britton's product was a scam, they would not buy it.
Other Quizlet sets
Tháng
12 terms
Money and Banking Study Guide
40 terms
Ch 3. Cardiopulmonary system pg 118 H
14 terms
Psych Exam #5
12 terms