Honors Programming 1 (2025-2026)

5.0(1)
studied byStudied by 102 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/73

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.

74 Terms

1
New cards
rule
required items for a program to compile/run
2
New cards
convention
items not required to compile, but generally accepted programming practices
3
New cards
naming convention
consistent, structured plan for naming things
4
New cards
camel case
the naming convention where the first letter of each additional word is capitalized with no spaces between words (Ex: camelCase)
5
New cards
upper camel case
the naming convention where the first letter of each word is capitalized with no spaces between words (Ex: CamelCase)
6
New cards
editor
used to write and manipulate source code
7
New cards
compiler
transforms source code written in a programming language into another computer language
8
New cards
Integrated Development Environment (IDE)
software application that provides comprehensive development tools to programmers
9
New cards
object
code that represents real and imaginary things in a program
10
New cards
class
blueprint/template for creating objects (describes the states and behaviors)
11
New cards
method
behaviors (actions) of an object
12
New cards
field
stores the states/attributes of an object
13
New cards
public
used in the declaration of a class, method, or field that can be accessed by the members of any class
14
New cards
void
method modifier that returns nothing
15
New cards
argument
input by users or other methods
16
New cards
arithmetic operators
used in mathematical expressions in the same way that they are used in algebra ( +, -, *, /, %, ++, -- )
17
New cards
relational operators

return true or false ( > < >= <= != ==)

18
New cards
numeric literal
a sequence characters made of digits and up to one decimal point that may be preceded by a plus or minus sign
19
New cards
string literal
a sequence of characters enclosed in quotation marks
20
New cards
string concatenation
the operation of joining character strings end-to-end
21
New cards
comment
explanation or annotation in the source code of a program ignored by the computer
22
New cards
escape sequence
a combination of characters starting with a backslash (\) and placed within quotes with meaning beyond the literal characters
23
New cards
modulus
remainder of the division of one number by another
24
New cards
modulo
arithmetic operator (%) that returns the remainder of integer division
25
New cards
variable
memory location paired with a symbolic name that can hold a value used in a program
26
New cards
constant
variable that cannot be altered once initialized
27
New cards
identifier
user-defined name of a program element (variable name, method name, etc.)
28
New cards
declaration
identifying the name of an item you plan to use later in the program
29
New cards
initialization
assigning the original value to a variable, constant, or array
30
New cards
final
modifier to define an entity that cannot be changed nor derived from once initialized
31
New cards
assignment operator
assigns the value on its right to a variable or element on its left ( = )
32
New cards
primitive data type
type with predetermined memory size to hold the value of variables
33
New cards
byte
integers from -128 to 127 (Size 8 bit)
34
New cards
short
integers from -32,768 to 32,767 (Size 16 bit)
35
New cards
int
integers from -2,147,483,648 to 2,147,483,647 (Size 32 bit)
36
New cards
long
integers from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 (Size 64 bit)
37
New cards
float
real numbers from 3 .4e–038 to 3.4e+038 (Size 32 bit) roughly 6-7 decimal digits
38
New cards
double
real numbers from 1 .7e–308 to 1.7e+308 (Size 64 bit) roughly 15-16 decimal digits
39
New cards
boolean
true/false, (Size 1 bit)
40
New cards
char
single Unicode character (Size 16 bit)
41
New cards
reference data type
does not hold the value of a variable, but just a reference to a different memory location with the value
42
New cards
documentation
written text that accompanies software that explains how it works or how to use it
43
New cards
pseudocode
informal description of the operating principle of a computer program intended for human reading rather than machine reading
44
New cards
package
groups for organization within Java programming
45
New cards
import
used at the beginning of a source file to specify classes or entire Java packages to be referred to later
46
New cards
if
used to create a statement which tests a boolean expression
47
New cards
else
used in conjunction with if to create statement which tests a boolean expression
48
New cards
equals()
compares the target values that are referenced in the variable's memory location
49
New cards
truth table
mathematical table used in logic in connection with boolean functions which sets out the functional values of logical expressions on each of their functional arguments
50
New cards
structured programming
all programs are composed of 3 control structures
51
New cards
control structures
way to specify the order of executing the statements
52
New cards
sequential
executed in the order written
53
New cards
selectional
based on conditions, different statements are executed
54
New cards
iterational
statements are executed repeatedly
55
New cards
pill
represents the start/end of a program in a flowchart
56
New cards
rectangle
represents a task or action in a flowchart
57
New cards
diamond
represents a decision in a flowchart
58
New cards
parallelogram
represents input or output in a flowchart
59
New cards
algorithm
a procedure or formula (to solve a problem)
60
New cards
runtime error
problem that occurs while programming is running and not caught by compiler
61
New cards
syntax error
one or more characters incorrectly placed in a command that causes a failure in execution
62
New cards
logic error
mistake in source code that results in unexpected behavior
63
New cards
compile-time error
error that occurs when code is compiled and is typically a result of a syntax error
64
New cards
compareTo()
compares two strings lexicographically with the value based on the Unicode value of each character in the string
65
New cards
lexicographical
dictionary or "alphabetical" order
66
New cards
while
used to create a loop which tests a boolean expression and executes the block of statements associated with the loop if the expression evaluates to true
67
New cards
keyword
one of 50 reserved terms that have a special function and a set definition in the Java programming language
68
New cards
exception
event that disrupts the normal flow of a program's instructions
69
New cards
thread
independent path of execution within a program
70
New cards
do
used in conjunction with while to create a loop that executes a block of code once before testing an expression
71
New cards
scope
the region of a computer program where the name binding of a variable is valid
72
New cards
length()
returns an int representing the total number of characters in the String
73
New cards
charAt()
returns the character in a String at a given parameter
74
New cards
for
used to create a loop which specifies a variable initialization, a boolean expression, and an incrementation