Study sets matching "ap computer chapter 2 java"

Study sets
Classes
Users

Study sets matching "ap computer chapter 2 java"

AP Computer Science: Chapter 2 - Introducing Java
Algorithm
Argument
Bytecode
Class
A set of steps that outline how to solve a problem.
Data passed to a method for processing.
Compiled Java source code.
The description of an object.
Algorithm
A set of steps that outline how to solve a problem.
Argument
Data passed to a method for processing.
52 terms
AP Computer Science: Chapter 2 - Introducing Java
Algorithm
Argument
Bytecode
Class
A set of steps that outline how to solve a problem.
Data passed to a method for processing.
Compiled Java source code.
The description of an object.
Algorithm
A set of steps that outline how to solve a problem.
Argument
Data passed to a method for processing.
Java AP Computer Science A: Chapter 2 (Group 1)
object
attributes
method
class
Represents a real object in a problem; it has a state and set…
Values an object stores internally representing it's state
A group of programming statements
Blueprint for an object
object
Represents a real object in a problem; it has a state and set…
attributes
Values an object stores internally representing it's state
88 terms
AP computer science Chapter1 java software solutions, AP Computer Science: Chapter 2 - Introducing Java
GUI
Operating System
User interface
Program
the user interface for most modern OS and applications(ex: wi…
main software of the computer
allows user to interact with the machine
a series of instructions that hardware executes
GUI
the user interface for most modern OS and applications(ex: wi…
Operating System
main software of the computer
12 terms
Computer Science 2 AP; Java
Main Method
Delimiters
Syntax
Print
Required method in every Java program.
Creates a Program Block, such as curly brackets which begin a…
The rules governing the formation of statements in a programm…
Doesn't leave an extra blank line.
Main Method
Required method in every Java program.
Delimiters
Creates a Program Block, such as curly brackets which begin a…
AP JAVA Chapter 2
JAVA API
Class header
Class definition
Access specifier
collection of prewritten classes and methods
name of class example: public class simple
combination of methods that can be used as a blueprint to cre…
controls where the class can be accessed from
JAVA API
collection of prewritten classes and methods
Class header
name of class example: public class simple
49 terms
AP Computer Science - Java Review
bit
byte
object-oriented approach
Graphical User Interface (GUI)
A binary digit.
A sequence of bits used to encode a character in memory.
Approach used in more modern computer languages such as C++,…
A means of communication between human beings and computers t…
bit
A binary digit.
byte
A sequence of bits used to encode a character in memory.
55 terms
JAVA Chapter 2
Algorithm
Argument
Bytecode
Class
A set of steps that outline how to solve a problem.
Data passed to a method for processing.
Compiled Java source code.
The description of an object.
Algorithm
A set of steps that outline how to solve a problem.
Argument
Data passed to a method for processing.
10 terms
AP Computer Science - Java Review
bit
byte
statement
variable
A binary digit.
A sequence of bits used to encode a character in memory.
An individual instruction in a program.
A memory location, referenced by an identifier, whose values…
bit
A binary digit.
byte
A sequence of bits used to encode a character in memory.
36 terms
Java Software Solutions AP Computer Science Chapter 4 Terms (EJ)
Attributes
State of being
Class
Members
The properties that describe an object
what an object's properties define
the model, pattern or blueprint from which an object is created
the declarations of the data that will be stored in each inst…
Attributes
The properties that describe an object
State of being
what an object's properties define
25 terms
AP Computer Science- Java Methods
int compareTo (String str)
boolean equals (String str)
int indexOf (String str)
int length()
Returns a number indicating whether this string comes before,…
Returns true or false when comparing strings
Returns the position of the first character in the first occu…
Returns the number of characters in this string
int compareTo (String str)
Returns a number indicating whether this string comes before,…
boolean equals (String str)
Returns true or false when comparing strings
18 terms
AP Computer Science Chapter 5 Vocab/Java
Accumulator
Breakpoint
Counter
Debugger
A variable that is incremented by various amounts
A statement selected where execution will be suspended
A variable that is incremented by a fixed amount
A tool included with some compilers for debugging
Accumulator
A variable that is incremented by various amounts
Breakpoint
A statement selected where execution will be suspended
14 terms
Think Java Chapter 2
declare (a variable)
variable
value
declaration
Naming a variable and giving it a type.
A named storage location for a value.
Data that can be stored in a variable.
A statement that creates a variable and determines its type.
declare (a variable)
Naming a variable and giving it a type.
variable
A named storage location for a value.
44 terms
Chapter 1: Hello World and Java Concepts (AP Computer Science)
Hardware
Software
primary memory
secondary memory
Physical equipment
Program that provides functionality
random access memory (RAM), read only memory (ROM)
Also known as auxiliary storage: CD-ROM, DVD-ROM, hard drives…
Hardware
Physical equipment
Software
Program that provides functionality
49 terms
AP Computer Science - Java Review
bit
byte
object-oriented approach
Graphical User Interface (GUI)
A binary digit.
A sequence of bits used to encode a character in memory.
Approach used in more modern computer languages such as C++,…
A means of communication between human beings and computers t…
bit
A binary digit.
byte
A sequence of bits used to encode a character in memory.
AP Computer Science Chapter 2
Primitive data
Data type
Object's attributes
Behavior
Common values such as numbers and characters; The different k…
A set of values and operations - what we can do with those op…
Values it stores internally, representing it's state; These v…
Defined by the methods of an object
Primitive data
Common values such as numbers and characters; The different k…
Data type
A set of values and operations - what we can do with those op…
33 terms
AP Computer Science Chapter 2 Terms
object reference
object
state
behavior
A variable that represents an object.
Something that is created or manipulated by the program.
The description of an object.
The different functions of an object.
object reference
A variable that represents an object.
object
Something that is created or manipulated by the program.
36 terms
AP computer science Chapter1 java software solutions
GUI
Operating System
User interface
Program
the user interface for most modern OS and applications(ex: wi…
main software of the computer
allows user to interact with the machine
a series of instructions that hardware executes
GUI
the user interface for most modern OS and applications(ex: wi…
Operating System
main software of the computer
Java Software Solutions AP Computer Science Chapter 4 Terms
Attributes
State of being
Object's behavior
Class
The properties that describe an object
what an object's properties define
what the object does
the model, pattern or blueprint from which an object is created
Attributes
The properties that describe an object
State of being
what an object's properties define
24 terms
computer science 7th edition chapter 2 java
constant
variable
data type
primitive type
describes the values that cannot be changed during the execut…
is a named memory location that you can use to store a value
describes the type of data that can be stored there, how much…
is a simple datât type. Java's are byte, short, int, long, fl…
constant
describes the values that cannot be changed during the execut…
variable
is a named memory location that you can use to store a value
24 terms
Java Chapter 2
Applet
assignment operator
assignment statement
byte code
A Java program that can be downloaded and run on a Web browser
The symbol =, which is used to store a value in a variable.
A statement using the assignment operator.
Executed by the java virtual machine, code that gets created…
Applet
A Java program that can be downloaded and run on a Web browser
assignment operator
The symbol =, which is used to store a value in a variable.
AP Computer Science Chapter 2
double
int
boolean
string literal
Floating point data type, stored using 64 bits.
Integer data type, stored using 32 bits.
Used to represent two values, true and false. Can't be change…
The character string that appears inside double quotation mar…
double
Floating point data type, stored using 64 bits.
int
Integer data type, stored using 32 bits.
CS Java Chapter 2
Assignment
Compile-time Error
Concatenate
Declaration
A statement that gives a value to a variable
An error in the code that makes it impossible to compile. Als…
To join two values, often strings, from end to end
A statement that makes a new variable, and specifies its type
Assignment
A statement that gives a value to a variable
Compile-time Error
An error in the code that makes it impossible to compile. Als…
33 terms
AP Computer Science Chapter 2
double
int
boolean
string literal
Floating point data type, stored using 64 bits.
Integer data type, stored using 32 bits.
Used to represent two values, true and false. Can't be change…
The character string that appears inside double quotation mar…
double
Floating point data type, stored using 64 bits.
int
Integer data type, stored using 32 bits.
AP Java Chapter 2 Test
software development kit
compiler
java virtual machine
java runtime environment
This tool is used for rapid application development using Jav…
This tool translate computer program in human computer langua…
cornerstone of the programming language and is the component…
Included with SDK and includes enough functionality to run Ja…
software development kit
This tool is used for rapid application development using Jav…
compiler
This tool translate computer program in human computer langua…
AP Computer Science Chapter 2
Primitive data
Data type
Object's attributes
Behavior
Common values such as numbers and characters; The different k…
A set of values and operations - what we can do with those op…
Values it stores internally, representing it's state; These v…
Defined by the methods of an object
Primitive data
Common values such as numbers and characters; The different k…
Data type
A set of values and operations - what we can do with those op…
43 terms
AP Java Unit 2
Data
Data Type
Primitive Type
Integer
Facts, figures, or information that is stored or used by a co…
A classification identifying one of various types of data. (E…
A basic data type that is predefined by a programming languag…
A number system that only contains whole, non decimal numbers…
Data
Facts, figures, or information that is stored or used by a co…
Data Type
A classification identifying one of various types of data. (E…
AP Computer Science: Ch. 2 Introduction to Java
platform independent
bytecode
Java Virtual Machine (JVM)
compiler
program source code created on one type of computer platform…
low level-level code file that cannot execute as a regular ma…
Bytecode is understood, and executed, by a Java interpreter,…
to translate the program source code created by the programme…
platform independent
program source code created on one type of computer platform…
bytecode
low level-level code file that cannot execute as a regular ma…
AP computer science Chapter1 java software solutions
GUI
Operating System
User interface
Program
the user interface for most modern OS and applications(ex: wi…
main software of the computer
allows user to interact with the machine
a series of instructions that hardware executes
GUI
the user interface for most modern OS and applications(ex: wi…
Operating System
main software of the computer
50 terms
AP Computer Science Rapid Review - Java Fundamentals
Variables
Primitive Data Types
Variable Names
Variable Names
Store data and must be declared with a data type
int, boolean, double
may begin with a letter, dollar sign, or underscore
can't begin with a number
Variables
Store data and must be declared with a data type
Primitive Data Types
int, boolean, double
35 terms
AP Computer Science Chapter 2
double
int
boolean
string literal
Floating point data type. This variable is stored using 64 bi…
Integer data type. Variable stored using 32 bits- 1 bit used…
This is used to represent only two values: true and false. ca…
The character string that appears inside double quotation marks
double
Floating point data type. This variable is stored using 64 bi…
int
Integer data type. Variable stored using 32 bits- 1 bit used…
66 terms
Java Chapter 2
applet
assignment operator
byte code
DOS development
Java program that can be downloaded/run on any Web browser
=, stores value in variable
code generated by Java compiler and interpreted by JVM
software tools that allow for the steps of Java programming w…
applet
Java program that can be downloaded/run on any Web browser
assignment operator
=, stores value in variable
Think AP Java Computer Science Vocabluary
execute
condition
expression
Boolean expression
process by which a computer preforms the instructions of a co…
evaluates to be true or false
represents a single value to computated
when this expression is evaluated it is true or false
execute
process by which a computer preforms the instructions of a co…
condition
evaluates to be true or false
AP Computer Science - Think Java Ch. 1
algorithm
bug
class
comment
A sequence of steps that specifies how to solve a problem
Programming errors
A collection of methods
A piece of text that explains the code
algorithm
A sequence of steps that specifies how to solve a problem
bug
Programming errors
19 terms
AP Computer Science Chapter 2
Assignment
Compile-Time Error
Conactenate
Declaration
A statement that gives a value to a variable.
An error in the source code that makes it impossible to compi…
To join two values, often strings, end-to-end.
A statement that creates a new variable and specifies its type.
Assignment
A statement that gives a value to a variable.
Compile-Time Error
An error in the source code that makes it impossible to compi…
33 terms
Java Methods Chapter 2
internet, email, databases, word proce…
efficiency; not suer friendly; fast al…
programmer writes source code
translates source code into object code
software applications examples
What was the emphasis on in the 1950s regarding software deve…
editor
compiler
internet, email, databases, word proce…
software applications examples
efficiency; not suer friendly; fast al…
What was the emphasis on in the 1950s regarding software deve…
76 terms
Chapter 2 Java
arithmetic operators
assignment
assignment operator
associativity
operators that are used to perform calculations with values
the act of providing a value for a variable
the equal sign ( = ); any value to the right of the equal sig…
the order in which operands are used with operators
arithmetic operators
operators that are used to perform calculations with values
assignment
the act of providing a value for a variable
14 terms
AP Computer Science Chapter 2
Data Type
Expression
Evaluation
Operator
A name for a category of data values that are all related, as…
A simple value or set of operations that produces a value.
The process of obtaining the value of an expression.
A special symbol (like + or *) that is used to indicate an op…
Data Type
A name for a category of data values that are all related, as…
Expression
A simple value or set of operations that produces a value.
22 terms
Think Java Vocabulary Chapter 2
variable
value
declaration
type
A named storage location for values. All variables have a typ…
A number, string, or other data that can be stored in a varia…
A statement that creates a new variable and specifies its type.
Mathematically speaking, a set of values. The type of a varia…
variable
A named storage location for values. All variables have a typ…
value
A number, string, or other data that can be stored in a varia…
AP Computer Science Building Java Programs Chapter 8: Classes
Object-Oriented Programming (OOP)
Object
State
Behavior
Reasoning about a program as a set of objects rather than as…
A programming entity that contains state (data) and behavior…
A set of values (internal data) stored in an object.
A set of actions an object can perform, often reporting or mo…
Object-Oriented Programming (OOP)
Reasoning about a program as a set of objects rather than as…
Object
A programming entity that contains state (data) and behavior…
39 terms
AP Computer Science Chapter 2
control structure
definite loop
indefinite loop
type-safe language
a syntactic structure that controls other statements. Example…
a loop in which you know, before the loop starts, exactly how…
a loop in which you do not know, before the loop starts, exac…
a language in which you must explicitly declare the type of a…
control structure
a syntactic structure that controls other statements. Example…
definite loop
a loop in which you know, before the loop starts, exactly how…
33 terms
Java Chapter 2
Data type
boolean
int
double
A name for a category of data values that are all related. Ex…
A data type of logical values (true, false).
A data type of integers (whole numbers).
A data type of real numbers (1/2, 99.9, -0.1).
Data type
A name for a category of data values that are all related. Ex…
boolean
A data type of logical values (true, false).
39 terms
Chapter 2: Methods and Parameters (AP Computer Science)
returntype
void
garbage collection
assignment operator
a datatype or class that is given from a method, there is alw…
empty returntype with null value
automated process that removes unused variables to free up me…
sets an object, variable, etc. to a value, the equals symbol
returntype
a datatype or class that is given from a method, there is alw…
void
empty returntype with null value
33 terms
AP Computer Science Chapter 2 Terms
A variable that represents an object.
Something that is created or manipulat…
The description of an object.
The different functions of an object.
object reference
object
state
behavior
A variable that represents an object.
object reference
Something that is created or manipulat…
object
20 terms
Java Chapter 2 Vocab
constant
literal constant
unnamed constant
variable
variable name cannot be changed while program is running
a value taken literally at each use
no identifier is associated with it
a named memory location, used to store a value, cam pm;y hold…
constant
variable name cannot be changed while program is running
literal constant
a value taken literally at each use
79 terms
AP Computer Science Chapter 2
object
attributes
method
class
basic part of a Java program
the values stored internally by an object, representing its s…
a group of programing statements that is give a name so that…
a model/blueprint from which an object is created
object
basic part of a Java program
attributes
the values stored internally by an object, representing its s…
29 terms
AP Computer Science Chapter 4 Vocab/Java terms
Boolean expression
Compound Boolean expression
Conditional control structure
Decision structure
An expression that evaluates to true or false.
An expression that includes more than one boolean expression.
A statement that branches program flow depending on a conditi…
A statement that branches program flow depending on a conditi…
Boolean expression
An expression that evaluates to true or false.
Compound Boolean expression
An expression that includes more than one boolean expression.
Think Java Chapter 2
assignment
compile-time error
concatenate
declaration
A statement that gives a value to a variable.
An error in the source code that makes it impossibleto compil…
To join two values, often strings, end-to-end.
A statement that creates a new variable and speci es its type.
assignment
A statement that gives a value to a variable.
compile-time error
An error in the source code that makes it impossibleto compil…
chapter 2 big java
objects
in java you build programs for
method
what is method of System.out
have a particular behavior ... - can manipulate to get certain e…
objects
consists of a sequence of instructions that can access the da…
println
objects
have a particular behavior ... - can manipulate to get certain e…
in java you build programs for
objects
58 terms
Java/AP Computer Science Review
What are the primitive data types in J…
What is the import for the Math librar…
Math.sqrt(#);
Math.abs(#);
Boolean, int, double, String, and char
import java.lang.Math;
Takes the square root of the number you specified
Takes the absolute value of the number you specified
What are the primitive data types in J…
Boolean, int, double, String, and char
What is the import for the Math librar…
import java.lang.Math;
1 of 10