How can we help?

You can also find more resources in our Help Center.

Study sets matching "java computer science chapter 2"

Study sets
Classes
Users

Study sets matching "java computer science chapter 2"

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.
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
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.
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
41 terms
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
30 terms
Computer Science Java Ch 2
In Java, what data type is used to rep…
What symbol is used for concatenation?
What do we call a series of characters…
What is a name for a location in memor…
Strings
+
Escape Sequence
Variable
In Java, what data type is used to rep…
Strings
What symbol is used for concatenation?
+
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.
73 terms
Computer Science Java-Chapter 3
Accessor
Data Hiding
Garbage hiding
White space
A method designed to read or get the current state of an object
A term used to indicate that a class's internal state is hidd…
The part of the Java virtual machine that destroys an object…
Spaces, tabs, and new lines
Accessor
A method designed to read or get the current state of an object
Data Hiding
A term used to indicate that a class's internal state is hidd…
24 terms
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…
25 terms
Computer Science Java- Chapter 4
Operator written after a variable is _…
Operator written before a variable is…
The conversion of one data type to ano…
Any statement that evaluates a value i…
Postfix
Prefix
Cast
Expression
Operator written after a variable is _…
Postfix
Operator written before a variable is…
Prefix
42 terms
Computer Science Chapter 2
CPU
Transistors
RAM
ROM
-Central processing unit... -made of millions of semi conductor…
combined to form logical devices called gates
-Random access memory ... -Primary storage... -"random-access" mean…
-Read only memory... -holds initialization and hardware diagnost…
CPU
-Central processing unit... -made of millions of semi conductor…
Transistors
combined to form logical devices called gates
91 terms
Computer Science Chapter 2
programmer
antispam software
trojan horse
worm
a person who writes computer software programs also called so…
a program that blocks spam, or electronic junk mail, from an…
a type of malware disguised as a useful program or app
a self-replicating program that consumes system resources
programmer
a person who writes computer software programs also called so…
antispam software
a program that blocks spam, or electronic junk mail, from an…
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…
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).
23 terms
Java: An Introduction to Computer Science and Programming Chapter 1 Vocabulary
hardware
software
program
processor/CPU/central processing unit/…
The physical machine.
All the different kinds of programs used to give instructions…
A set of instructions for the computer.
Device inside a computer that follows a program's instructions
hardware
The physical machine.
software
All the different kinds of programs used to give instructions…
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.
33 terms
computer science vocab java
class
variable
declare
initializing
A class is the blueprint from which individual objects are cr…
Stores different types of data
Declaring the value or name of a variable.
Assigning value to a variable
class
A class is the blueprint from which individual objects are cr…
variable
Stores different types of data
35 terms
Computer Science Chapter 1 Java Terms
Computer Program
Logic
Syntax
Keywords
A set of instructions that you write to tell a computer what…
Involves executing the various statements and procedures in t…
The rules of a language.
The words that are part of a programming language.
Computer Program
A set of instructions that you write to tell a computer what…
Logic
Involves executing the various statements and procedures in t…
20 terms
Java Chapter 2
class header
class
public class
method
-beginning of class definition ... -container for application ... -…
allows data and methods to be grouped together ... -must be writ…
-only one of these per java file... -name must be the same as fi…
-group of statements that together has a name ... -part of class…
class header
-beginning of class definition ... -container for application ... -…
class
allows data and methods to be grouped together ... -must be writ…
91 terms
Computer Science Chapter 2
programmer
antispam software
trojan horse
worm
a person who writes computer software programs also called so…
a program that blocks spam, or electronic junk mail, from an…
a type of malware disguised as a useful program or app
a self-replicating program that consumes system resources
programmer
a person who writes computer software programs also called so…
antispam software
a program that blocks spam, or electronic junk mail, from an…
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
22 terms
Computer Science: Java Operators
first highest precedence
second highest precedence
third highest precedence (lowest prece…
increment operator
unary operators: +, -, !, ++, and --
binary arithmetic operators: *, /, and %
binary arithmetic operators: + and -
increases the value of the variable by one
first highest precedence
unary operators: +, -, !, ++, and --
second highest precedence
binary arithmetic operators: *, /, and %
23 terms
Computer Science: JavaScript Quiz 2
Declaration
Initialization
Untyped
Data Type
The Act of Announcing a Variable
The Act of Assigning a Value to a Variable. In JavaScript if…
A Programming Language in which, Variables can Hold any Data…
The Type of Value a Variable Holds
Declaration
The Act of Announcing a Variable
Initialization
The Act of Assigning a Value to a Variable. In JavaScript if…
26 terms
Computer science - Java
Class
object
Packages
All programs
reality/entity... exists on its own
concrete example of a class... created dynamically during progra…
similar classes organized together
Are classes
Class
reality/entity... exists on its own
object
concrete example of a class... created dynamically during progra…
14 terms
Computer Science Chapter 2 Review
=
Object
Method
Class
In the Java programming language, it means an action to repla…
Is an entity that you can manipulate in your program
Is a sequence of instructions that accesses to the data of an…
Defines the methods that you can apply to its objects.
=
In the Java programming language, it means an action to repla…
Object
Is an entity that you can manipulate in your program
22 terms
Computer Science: Java Operators
first highest precedence
second highest precedence
third highest precedence (lowest prece…
increment operator
unary operators: +, -, !, ++, and --
binary arithmetic operators: *, /, and %
binary arithmetic operators: + and -
increases the value of the variable by one
first highest precedence
unary operators: +, -, !, ++, and --
second highest precedence
binary arithmetic operators: *, /, and %
Computer Science Chapter 2 vocab
Type
Integers
Floating- Point
Double
tells you what operations you can carry out with values.
whole numbers... has no fractional part... can be negative... zero is…
describes the representation of the number in the computer as…
A number with a fractional part... A integer with a fractional p…
Type
tells you what operations you can carry out with values.
Integers
whole numbers... has no fractional part... can be negative... zero is…
29 terms
Computer Science Chapter 2
bit
kilobits (kb)
megabits (mb)
gigabits (gb)
short for binary digit; a single circuit that either contains…
1,000 bits (thousand)
1,000,000 bits (million)
1,000,000,000 bits (billion)
bit
short for binary digit; a single circuit that either contains…
kilobits (kb)
1,000 bits (thousand)
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.
72 terms
Computer Science: Java Final
17 % 1
17.0/ 4
17/4
5 + 6 * 7 %8 - 9 +17.0/4
1
4.25
4
2.25
17 % 1
1
17.0/ 4
4.25
22 terms
Computer Science Java Exceptions
ArithmeticException
ArrayIndexOutOfBoundsException
ArrayStoreException
ClassCastException
Arithmetic error, such as divide-by-zero.
Array index is out-of-bounds.
Assignment to an array element of an incompatible type.
Invalid cast.
ArithmeticException
Arithmetic error, such as divide-by-zero.
ArrayIndexOutOfBoundsException
Array index is out-of-bounds.
30 terms
Java Chapter 2
Object reference
mod operator used to find the remaider
toUpperCase
Assignment operator
stored in Object variables and denotes the memory location of…
%
Method which converts any String to uppercase equivalent by c…
an operator (=) that changes the value of the variable to the…
Object reference
stored in Object variables and denotes the memory location of…
mod operator used to find the remaider
%
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.
70 terms
Computer Science Chapter 2
Bit
Byte
Kilobyte
Megabytes
the smallest unit of data a computer can recognize; represent…
A group of 8 bits
1 thousand bytes
1 million bytes
Bit
the smallest unit of data a computer can recognize; represent…
Byte
A group of 8 bits
40 terms
Computer Science Java and Excel
Events
Functions
Brackets
Values
associate an object with an action. JavaScript uses commands…
are statements that performs tasks. Can specify parameters, t…
A pair of surrounds all statements in a function
are bits of information. Values types are Number, String, Boo…
Events
associate an object with an action. JavaScript uses commands…
Functions
are statements that performs tasks. Can specify parameters, t…
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.
28 terms
Computer Science (winter.java)
What is a compound condition?
What is a condition?
When do you use a compound condition?
&& (what is it called)
Two or more conditions working together to preform an action
Something that evaluates to be true or false
When an action is based on 2 things
Separates 2 conditions, and operator
What is a compound condition?
Two or more conditions working together to preform an action
What is a condition?
Something that evaluates to be true or false
78 terms
Computer Science: Java
What's source code?
What does JVM stand for?
What does IDE stand for?
What does the Compiler do?
Area in the text editor where code is typed
Java Virtual Machine
Integrated Development Environment
Check for errors in code
What's source code?
Area in the text editor where code is typed
What does JVM stand for?
Java Virtual Machine
209 terms
java chapter 2
Object -
Attribute -
method -
class -
represents something which we can interact with Provides a co…
are the values that an object stores internally as its state
a group of programing statements that is named and can be cal…
the model or blueprint to make an object
Object -
represents something which we can interact with Provides a co…
Attribute -
are the values that an object stores internally as its state
19 terms
JAVA Chapter 2 Vocab
algorithm
assignment operator
casting
constant
statements that describe how a problem is solved in terms of…
assigns a value to a variable (=)
the process of converting a primitive data type value into an…
a variable declared final in Java
algorithm
statements that describe how a problem is solved in terms of…
assignment operator
assigns a value to a variable (=)
28 terms
Computer Science Chapter 2
Receive input
Process information
Produce output
Store information
Accept information from outside world
Perform arithmetic or logical operations on information
Communicate information to outside world
Store and retrieve information from memory and storage devices
Receive input
Accept information from outside world
Process information
Perform arithmetic or logical operations on information
18 terms
Computer science chapter 2
A business process/system
Business Process Components: ... Activities
Business Process Components: ... Facilities
Business Process Components: Information
Business processes generate information and brings together i…
Transforms resources and information of one type into resourc…
Structure used within the business process
Activities use this to determine how to transform inputs, als…
A business process/system
Business processes generate information and brings together i…
Business Process Components: ... Activities
Transforms resources and information of one type into resourc…
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
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
22 terms
computer science chapter 2
The ________________________ property…
A PictureBox control's _______________…
A PictureBox control's _______________…
When set to ________________________,…
textalign
image
sizemode
bottomright
The ________________________ property…
textalign
A PictureBox control's _______________…
image
57 terms
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…
28 terms
Computer Science Chapter 2
Document Type Definition ... (DTD)
Element
Tags
Attributes
identifies the type of markup language used on a web page doc…
a tag combined with some sort of text or media
a tool that web developers use in the language to differentia…
added to a tag to give the element a special feature
Document Type Definition ... (DTD)
identifies the type of markup language used on a web page doc…
Element
a tag combined with some sort of text or media
19 terms
Computer Science Ch 1-2 Java Vocab
Abstraction
Attribute
Constructor
Encapsulation
When parts of the code are hidden. You do not know bow the co…
A specification that defines a property of an object, element…
What we do to create an object of the class. Ex: creating a n…
When everything an object needs to know is defined in the cla…
Abstraction
When parts of the code are hidden. You do not know bow the co…
Attribute
A specification that defines a property of an object, element…
66 terms
JAVA Chapter2
Constant
Literal constant
Numeric constant
Unnamed constant
Cannot be changed while program is running
Value taken literally at each use
As opposed to a literal constant
No identifier is associated with it
Constant
Cannot be changed while program is running
Literal constant
Value taken literally at each use
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
1 of 10