How can we help?

You can also find more resources in our Help Center.

Study sets matching "java computer science"

Study sets
Classes
Users

Study sets matching "java computer science"

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
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 %
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 %
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.
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…
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
49 terms
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
103 terms
Computer Science - Java
semicolon
\n
\t
3 4
All java statements are terminated with a __________.
What is the newline character?
What is the tab character?
What is the output? System.out.print ( 3 + " " + 4 );
semicolon
All java statements are terminated with a __________.
\n
What is the newline character?
10 terms
Computer science Java
Class
Object
Constructor
Public (class)
A templatw that descrives behaviour/state that the object of…
An object is an instance of a class in which objects exhibit…
Job of this is to assign sensible values to the data fields o…
Is access specifier which sets accessibility of classes, meth…
Class
A templatw that descrives behaviour/state that the object of…
Object
An object is an instance of a class in which objects exhibit…
12 terms
Java Computer Science
Java Development Kit
Java Runtime Environment
Java Source Code
Java Byte Code
A software development environment used for developing Java a…
Run a program
code that you the programmer writes
is the instruction set of the Java virtual machine.
Java Development Kit
A software development environment used for developing Java a…
Java Runtime Environment
Run a program
38 terms
Computer Science Intro to Java
CPU
Memory
RAM
Secondary
central processing unit... brain of computer... communicates betwee…
RAM... Secondary
fast... memory lost when turned off... memory chips
cheaper... keeps data when turned off... dvd/flashdrive
CPU
central processing unit... brain of computer... communicates betwee…
Memory
RAM... Secondary
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…
20 terms
Computer Science (Java)
Concatenation
String literal
Substring
\"
" " + variable name + " "
"This is a String"
String.substring(x,y)
Escape character for "
Concatenation
" " + variable name + " "
String literal
"This is a String"
39 terms
Computer Science Think Java
Single most important skill for a comp…
Program
input
output:
problem solving
sequence of instructions that specifies how to perform a... comp…
Get data from the keyboard, a file, a sensor, or some other d…
Display data on the screen, or send data to a file or other d…
Single most important skill for a comp…
problem solving
Program
sequence of instructions that specifies how to perform a... comp…
21 terms
Computer Science: The Java World
Java
A Java program consists of one or more…
class/class file
project
refers to both a programming language as well as the componen…
A Java program consists of one or more class files.
group of instructions organized in a specific way
- refers to all of the files associated with your program... 1.…
Java
refers to both a programming language as well as the componen…
A Java program consists of one or more…
A Java program consists of one or more class files.
28 terms
Computer Science- Java 1
3 GENERATION OF PROGRAMMING LANGUAGES?
Gen. 1: Machine Languages
Gen. 2: Assembly Languages
Gen. 3: High Level Languages
Machine, assembly, high level
- used only binary digits... -programmers toggled switches on th…
-uses mnemonic symbols for data ... -an assembler translates the…
-easy to write, read and understand... -a compiler translates to…
3 GENERATION OF PROGRAMMING LANGUAGES?
Machine, assembly, high level
Gen. 1: Machine Languages
- used only binary digits... -programmers toggled switches on th…
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.
57 terms
Computer Science (11 JAVA)
Name 4 naming conventions for variables
How do you declare and initialize an a…
How do you sort your array
How do you sort arrays in reverse order
Cannot be a java keyword... Cannot start with a capital... Cannot c…
int [] mark = new int[] {1, 2, 3}... mark = new int[3] after dec…
Arrays.sort(yourArray)
Arrays.sort(yourArray, Collections.reverseOrder())
Name 4 naming conventions for variables
Cannot be a java keyword... Cannot start with a capital... Cannot c…
How do you declare and initialize an a…
int [] mark = new int[] {1, 2, 3}... mark = new int[3] after dec…
31 terms
Computer Science and Java
What is a program?
What is an interpreter?
What is a compiler?
What is a source code?
A sequence of instructions that specifies how to perform a co…
Reads a high-level program and executes it, translating line…
Reads the entire program and translates it completely before…
A program in a high-level language, before being compiled.
What is a program?
A sequence of instructions that specifies how to perform a co…
What is an interpreter?
Reads a high-level program and executes it, translating line…
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.
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…
76 terms
Computer Science Final - JavaScript
"String".length;
+, -, *, /, %, ()
//
JavaScript
gives the number of characters in a string, counting spaces
addition, subtraction, multiplication, division, and modulus…
comments out a single line of text so the computer will ignor…
a programming language that makes websites respond to user in…
"String".length;
gives the number of characters in a string, counting spaces
+, -, *, /, %, ()
addition, subtraction, multiplication, division, and modulus…
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
43 terms
Computer Science Quiz - Alice & Java
Mouse events
Keyboard events
Program Event
Keys are chosen for their
Triggered when user clicks on an object
Triggered when the user presses a key on key board
Triggered by actions taking place within program
Memory values and convenient positions
Mouse events
Triggered when user clicks on an object
Keyboard events
Triggered when the user presses a key on key board
33 terms
Java Exam - 2015 Computer Science
What is printed out by this program?…
for (int x =1; int x <= 2; x++) {... for…
What is 40 % 3?
A _________ translates programs writte…
Bleebop three times, then 42
1122
1
compiler
What is printed out by this program?…
Bleebop three times, then 42
for (int x =1; int x <= 2; x++) {... for…
1122
11 terms
Computer Science: Java Week 1
What is a computer program?
What is an algorithm?
What four functions do computer progra…
What are the five components in comput…
an algorithm performed on a computer
a set of instructions
Input, Process, Output and Storage
Keywords, identifiers, operators, punctuation, syntax
What is a computer program?
an algorithm performed on a computer
What is an algorithm?
a set of instructions
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
28 terms
Java computer science final exam
Class
Object
State
Behavior
blueprint of an object
They make something out of your class
Is the value of the object
The methods the object has
Class
blueprint of an object
Object
They make something out of your class
51 terms
Computer Science Interview Java Questions
What is JVM?
What is the most important feature of…
What do you mean by platform independe…
What is the difference between a JDK a…
The Java interpreter along with the runtime environment requi…
Java is a platform independent language.
Platform independence means that we can write and compile the…
JDK is Java Development Kit which is for development purpose…
What is JVM?
The Java interpreter along with the runtime environment requi…
What is the most important feature of…
Java is a platform independent language.
129 terms
Computer Science Java Curriculum 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…
155 terms
Computer Science Java Curriculum 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…
148 terms
Computer Science Java Curriculum Vocabulary
Argument
Attributes
Behaviours
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…
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.
21 terms
Exploring Computer Science Java Vocab
Class
Public
Private
Object
Blueprint for a object.
Allows other objects to access (encapsulation).
Restricts access to the class (encapsulation - information hi…
Instance of a class.
Class
Blueprint for a object.
Public
Allows other objects to access (encapsulation).
156 terms
Computer Science Java Curriculum - Vocabulary JLC
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…
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?
+
32 terms
Summer 2016 - Computer Science: Java
applications
applets
application software
syntax
stand-alone programs that run without the aid of a web browse…
small applications that require the use of a Java enabled web…
the programs that make the computer useful to the user
strict rules
applications
stand-alone programs that run without the aid of a web browse…
applets
small applications that require the use of a Java enabled web…
65 terms
Computer Science JavaScript and Excel
JavaScript
Event
Function
brakets{}
Everything has chronological order... Always starts with: <scrip…
Associate an object with an action. ... Something that happens... A…
Statements that performs tasks. ... Set of things happening as a…
Pair of surrounds all statements in a function
JavaScript
Everything has chronological order... Always starts with: <scrip…
Event
Associate an object with an action. ... Something that happens... A…
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…
43 terms
Computer Science SL: Java Programming
Computer Program
Hardware
Software
Application Software
A set of instructions that you write to tell a computer what…
Computer equipment (monitor, keyboard, etc.)
The computer's programs are the software
A program that performs a task for a user (such as calculatin…
Computer Program
A set of instructions that you write to tell a computer what…
Hardware
Computer equipment (monitor, keyboard, etc.)
32 terms
Computer Science Exposure to Java Review
United Nations uses ___ translators to…
Java was created to be a _____________…
What kind of translators are used by J…
The Byte Code is to Java as The Englis…
Two
Platform Indpendent
Compiler and Interpreter translators
The United Nations
United Nations uses ___ translators to…
Two
Java was created to be a _____________…
Platform Indpendent
39 terms
Java Arrays AP Computer Science
Definition of an array
Syntax for initializing an array
Syntax for array element access
What field returns the number of eleme…
An array is a sequence of values of the same type. They can h…
typeName[] arrayReference = new typeName[length]... Ex. double[]…
arrayReference[index]... Ex. data[2]
The length field. It is an instance variable of the array.
Definition of an array
An array is a sequence of values of the same type. They can h…
Syntax for initializing an array
typeName[] arrayReference = new typeName[length]... Ex. double[]…
11 terms
Computer Science II (Java) Final
start()
sleep()
join()
synchronized()
causes a thread to begin execution of its run method.
Causes the currently executing thread to sleep (temporarily c…
Causes the current thread to wait for the thread that join wa…
forces a only one at a time behavior on objects and methods w…
start()
causes a thread to begin execution of its run method.
sleep()
Causes the currently executing thread to sleep (temporarily c…
33 terms
Computer Science I - Intro to Java
Figure 2-1 above represents a(n) _____…
When your java source code is compiled…
What type of dialog boxes did we use f…
What are the data types we will be foc…
GUI
.class
-Message Dialog... -Input Dialog
String, double, int, boolean
Figure 2-1 above represents a(n) _____…
GUI
When your java source code is compiled…
.class
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.
21 terms
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
48 terms
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
1 of 10