Honors Programming 1 (2026-2027)

5.0(2)
Studied by 95 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/92

encourage image

There's no tags or description

Looks like no tags are added yet.

93 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

a java file and the 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
holds 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
algorithm
a procedure or formula (to solve a problem)
50
New cards
logical operators
checks two boolean values to determine if an expression is true or false (&&, ||)
51
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
52
New cards
pseudocode
informal description of the operating principle of a computer program intended for human reading rather than machine reading
53
New cards
flowchart
diagram of the sequence of operations in a computer program
54
New cards
pill (rounded rectangle)
start/end of program
55
New cards
rectangle
task or action
56
New cards
diamond
decision (yes or no / true or false)
57
New cards
parallelogram
input or output
58
New cards
syntax error
one or more characters incorrectly placed in a command that causes a failure in execution
59
New cards
compile-time error
error that occurs when code is compiled and is typically a result of a syntax error
60
New cards
runtime error
problem that occurs while programming is running and not caught by compiler
61
New cards
logic error
mistake in source code that results in unexpected behavior
62
New cards
compareTo()
compares two strings lexicographically with the value based on the Unicode value of each character in the string
63
New cards
lexicographical
dictionary or “alphabetical” order
64
New cards
keyword
one of 50 reserved terms that have a special function and a set definition in the Java programming language
65
New cards
scope
the region of a computer program where the name binding of a variable is valid
66
New cards
length()
returns an int representing the total number of characters in the String
67
New cards
charAt()
returns the nth character in the String
68
New cards
bit
(shortened version of binary digit) basic unit of information in computing representing on or off, yes or no, true or false, positive or negative, 1 or 0, etc
69
New cards
binary code
coding system using the binary digits 0 and 1 to represent a letter, digit, or other character in a computer
70
New cards
base 2 numeral system
represents numeric values using two different symbols (0 and 1)
71
New cards
base 10 numeral system
represents numeric values using 10 different symbols (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9)
72
New cards
byte
unit of information consisting of eight bits
73
New cards
nibble
unit of information consisting of four bits (half byte)
74
New cards
octal
a positional numeral system with a base of 8
75
New cards
base 8 numeral system
represents numeric values using 8 different symbols (0, 1, 2, 3, 4, 5, 6, and 7)
76
New cards
base 1 numeral system
represents numeric values using one symbol
77
New cards
hexadecimal
a positional numeral system with a base of 16
78
New cards
base 16 numeral system
represents numeric values using 16 different symbols (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F)
79
New cards
structured programming
all programs are composed of 3 control structures
80
New cards
control structures
way to specify the order of executing the statements
81
New cards
sequential
executed in the order written
82
New cards
selectional
based on conditions, different statements are executed
83
New cards
iterational
statements are executed repeatedly
84
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
85
New cards
exception
event that disrupts the normal flow of a program's instructions
86
New cards
thread
independent path of execution within a program
87
New cards
do
used in conjunction with while to create a loop that executes a block of code once before testing an expression
88
New cards
for
used to create a loop which specifies a variable initialization, a boolean expression, and an incrementation
89
New cards
break
used to terminate program execution in the current loop body
90
New cards
continue
resume program execution at the end of the current loop body
91
New cards
parameter
variable declared in method definition required for method call
92
New cards
return
used to finish the execution of a method and can be followed by a value required by the method definition
93
New cards
array
series of values/objects that are all the same size type