Study sets matching "java computer science chapter 2"

Study sets
Classes
Users

Study sets matching "java computer science chapter 2"

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
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…
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
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…
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
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…
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).
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
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.
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
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…
26 terms
Computer Science: JAVA Semester 1
constructor
getter
setter
object
a method that initializes a newly instantiated object
a method that gets a property/attributes/state
a method that sets a property/attributes/state
a value of a class type (Rectangle box = new ractangle --> re…
constructor
a method that initializes a newly instantiated object
getter
a method that gets a property/attributes/state
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…
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.
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
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…
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
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…
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 %
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.
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…
Computer Science Java
keywords
primitive types
reference types
static
class, while and if are....
which are simple values stored directly in the memory location
which store addresses of objects stored somewhere else in mem…
methods not associated with any object
keywords
class, while and if are....
primitive types
which are simple values stored directly in the memory location
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)
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.
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
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
%
5 terms
Computer Science Chapter 2
Mean
Median
Mode
Standard Deviation
the arithmetic average of a set of number
the arithmetic value that occurs in the middle of a data set…
the arithmetic value that occurs most frequently in a data set
a measure of how widely the data values are dispersed from th…
Mean
the arithmetic average of a set of number
Median
the arithmetic value that occurs in the middle of a data set…
155 terms
Computer Science Java Vocabulary
Argument
Attributes
Behaviors
Class
A value that appears in a call to a method
Parts of a class that contain the current state of objects of…
Parts of a class that define what objects of that class can d…
A list of specifications that define a certain type of object…
Argument
A value that appears in a call to a method
Attributes
Parts of a class that contain the current state of objects of…
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.
Computer science chapter 2
Conputational artifact
Event driven programming
Hardware
Software
An object created by a human being that invloves the use of c…
A programming approach whereby the program's behavior is cont…
The large and small physical components that make up a comput…
The computer programs that make up a computer system such as…
Conputational artifact
An object created by a human being that invloves the use of c…
Event driven programming
A programming approach whereby the program's behavior is cont…
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
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.
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…
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
25 terms
Computer Science Chapter 2
What three factors have to be consider…
Simplex data transmission
Half duplex data transmission
Full-Duplex data transmission
1. Direction of data transmission (one way or both ways)... 2. M…
In one direction only
Both directions but not a the same time (walkie talkies)
Both directions simultaneously
What three factors have to be consider…
1. Direction of data transmission (one way or both ways)... 2. M…
Simplex data transmission
In one direction only
Java Chapter 2 Vocabulary Review
Applet
Assignment_Statement
Byte_Code
DOS_development_environment
A Java program that can be downloaded and run on a Web browser.
A method of putting values into memory locations.
The kind of object code generated by a Java compiler and inte…
A development environment that uses Notepad for the editor wi…
Applet
A Java program that can be downloaded and run on a Web browser.
Assignment_Statement
A method of putting values into memory locations.
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…
1 of 10