How can we help?

You can also find more resources in our Help Center.

Study sets matching "programming java"

Study sets
Classes
Users

Study sets matching "programming java"

28 terms
Java programming
Assign
Class
What is a parameter?
Double
to set the data of a variable (involves the equal sign).
A class describes a particular kind of object. It can contain…
A piece of information you provide in order to invoke a metho…
A type of variable (or value) that can contain fractions as w…
Assign
to set the data of a variable (involves the equal sign).
Class
A class describes a particular kind of object. It can contain…
66 terms
Java programming
Primitive data types
64-bit data types
32-bit data types
16-bit data types
byte, short, int, long, float, double, char, boolean
double and long
int and float
short and char
Primitive data types
byte, short, int, long, float, double, char, boolean
64-bit data types
double and long
41 terms
Java Programming
Java Virtual Machine
bytecode
Integrated Development Environment
Compiler
JVM
High level Java code is converted into this before it can be…
IDE
A program that converts high level code into a lower level
Java Virtual Machine
JVM
bytecode
High level Java code is converted into this before it can be…
74 terms
Java Programming
CPU
Megahertz
Computer
Output
Central Processing Unit. It is the brain of the computer. It…
1 MHZ = 1 Million pulse per second.
CPU, memory harddisk, floppy disk, monitor, printer, communic…
Monitor, printer
CPU
Central Processing Unit. It is the brain of the computer. It…
Megahertz
1 MHZ = 1 Million pulse per second.
11 terms
Java Programming - Section Two
How many semicolons should there be in…
When does a for loop know it should end?
How many cycles (or loops) will the co…
How many cycles (or loops) will the co…
It should have two. for (int i = 0; i < 10; i++){}
The middle argument (which is always a true or false) is sati…
The conversation of this for loop to a while loop is...... int i…
It will go through 5 loops.
How many semicolons should there be in…
It should have two. for (int i = 0; i < 10; i++){}
When does a for loop know it should end?
The middle argument (which is always a true or false) is sati…
10 terms
Java Programming
boolean
byte
case
final
Defines a boolean variable for the values "true" or "false" o…
Defines a byte variable representing a sequence of 8 bits.
A statement in the switch block can be labeled with one or mo…
Define an entity once that cannot be changed nor derived from…
boolean
Defines a boolean variable for the values "true" or "false" o…
byte
Defines a byte variable representing a sequence of 8 bits.
50 terms
Java Programming
Object
Fields
Methods
Methods operate on...
Consist of a state and related behavior
Variables
Functions
An objects internal state and communicate between objects
Object
Consist of a state and related behavior
Fields
Variables
11 terms
Java Programming - Section One
1. int number = 2;... 2. int otherNumber…
What do you import when you would like…
1. int number = 38;... 2. int otherNumber…
1. int number = 38;... 2. int otherNumber…
10
import java.util.*; or import java.util.Random;
It gives the remainder of 33 divided by 7.
2
1. int number = 2;... 2. int otherNumber…
10
What do you import when you would like…
import java.util.*; or import java.util.Random;
26 terms
JAVA Programming
Keywords
Punctuation
Operators
Identifiers
Reserved words in JAVA programs, have a special meaning in JA…
Semicolons are used to end a statement
Arithmetic, logical, and comparison are used to perform opera…
Used to identify variable names, method names, and class names
Keywords
Reserved words in JAVA programs, have a special meaning in JA…
Punctuation
Semicolons are used to end a statement
91 terms
Java Programming
________ represents an entity in the r…
________ is a construct that defines o…
An object is an instance of a ________
The keyword ________ is required to de…
An Object
A class
class
class
________ represents an entity in the r…
An Object
________ is a construct that defines o…
A class
48 terms
java programming
address
algorithm
American Standard Code for Information…
analog signals
The unique location of each cell in the main memory.
A step-by-step problem-solving process in which a solution is…
The most commonly used encoding scheme on personal computers.
Continuous wave forms used to represent things, such as sound.
address
The unique location of each cell in the main memory.
algorithm
A step-by-step problem-solving process in which a solution is…
23 terms
Programming Java
Explain the difference between a class…
What is the method signature of toStri…
What are the advantages of using get a…
What does a new operator do?
Class is a blueprint from which objects are created from. Obj…
Public String toString ().
Encapsulation of behavior of getting or setting, allows featu…
It instances a class by allocating memory for a new object an…
Explain the difference between a class…
Class is a blueprint from which objects are created from. Obj…
What is the method signature of toStri…
Public String toString ().
48 terms
Java Programming
API
java.util
java.lang
Scanner Methods
Application program interface.
Package.
Automatically imported.
next, nextLine, nextInt, nextDouble.
API
Application program interface.
java.util
Package.
8 terms
JAVA PROGRAMMING
A Class
Consturctor
A class name always begins with
Methods always have
a blueprint to make an object. Another word for an object in…
for the class 'makes' the object. It sets the values for the…
an uppercase letter. It cannot begin with a number or symbol.
parentheses after their name eg getCost()
A Class
a blueprint to make an object. Another word for an object in…
Consturctor
for the class 'makes' the object. It sets the values for the…
66 terms
Java programming
Primitive data types
64-bit data types
32-bit data types
16-bit data types
byte, short, int, long, float, double, char, boolean
double and long
int and float
short and char
Primitive data types
byte, short, int, long, float, double, char, boolean
64-bit data types
double and long
12 terms
Java Programming
Java class
Java object
Java method
Stride scenario programming
Information required by the comp in order to create an object
Things that you manipulate in order to have a program
followed by parentheses... A collection of ... Instructions / actio…
Mix between block and text programming
Java class
Information required by the comp in order to create an object
Java object
Things that you manipulate in order to have a program
9 terms
Java Programming
INT
boolean
char
modulo operator
is short for integer, which are all positive and negative num…
is a data type that can only be either true or false.
this data type is used to represent single characters. That i…
represented in Java by the % symbol - returns the remainder o…
INT
is short for integer, which are all positive and negative num…
boolean
is a data type that can only be either true or false.
44 terms
Java Programming
What is a class?
Difference between Class and Object
what are Algorithms?
Object
A class is like a blueprint for a kind of house in a housing…
A class is a description of a kind of thing. An object is…
Steps you take to manipulate data
Objects have states and behaviors. Example: A dog has states…
What is a class?
A class is like a blueprint for a kind of house in a housing…
Difference between Class and Object
A class is a description of a kind of thing. An object is…
25 terms
Java Programming
System.out.print()
.length()
.toUpperCase()
.toLowerCase
Ausgabedatei
Länge einer Datei
Alles groß schreiben
Alles klein schreiben
System.out.print()
Ausgabedatei
.length()
Länge einer Datei
45 terms
Java Programming
Computer
Computer task
Program
Physical components
* is a machine that manipulates data and executes lists of in…
*Gaming, computing, connecting to other computer.... *can run…
* a list of instruction to be carried out by a computer.
* is called Hardware.
Computer
* is a machine that manipulates data and executes lists of in…
Computer task
*Gaming, computing, connecting to other computer.... *can run…
45 terms
Java Programming
Argument
Bug
Class
Procedure
An argument is a value that is used by the method to perform…
When something is broken or doesn't work as intended in a sof…
Instructions that define the appearance and movement of an ob…
How an object can execute a task.
Argument
An argument is a value that is used by the method to perform…
Bug
When something is broken or doesn't work as intended in a sof…
9 terms
Java programming
Variable
Program
Compiler
Primitive
A place to store data
A series of operations that are performed on data to transfor…
Program that reads source code and outputs an equivalent piec…
A type in java used to represent simple data that can be mani…
Variable
A place to store data
Program
A series of operations that are performed on data to transfor…
17 terms
Java Programming
Computer Program
Hardware
Software
Application Program
A set of instructions that you write to tell a computer what…
Computer equipment, such as a monitor or keyboard.
Programs
A program that preforms a task for a user
Computer Program
A set of instructions that you write to tell a computer what…
Hardware
Computer equipment, such as a monitor or keyboard.
22 terms
java Programming
absolute filename
abstract class
address space
base case
A filename whose full path is unambiguously given starting fr…
A class with the abstract reserved word in its header. Abstra…
The area of virtual memory in which a process is run.
A non-recursive route through a recursive method.
absolute filename
A filename whose full path is unambiguously given starting fr…
abstract class
A class with the abstract reserved word in its header. Abstra…
17 terms
Java Programming
Class
Object
Variables
Boolean
A set of instructions (blueprint) from which an individual ob…
A set of instructions in Java that have a state and a behavio…
Code that store data.
variables that equate to true or false. A type of primitive v…
Class
A set of instructions (blueprint) from which an individual ob…
Object
A set of instructions in Java that have a state and a behavio…
16 terms
Java Programming
//I love pizza
confirm("Do you want to delete this?");
prompt("How old are you?");
Strings
comment "I love pizza"
interactively ask "Do you want to delete this?"
ask for input for how old someone is
sequences of characters, may be labels, names, content; alway…
//I love pizza
comment "I love pizza"
confirm("Do you want to delete this?");
interactively ask "Do you want to delete this?"
14 terms
Programming - Java
It returns a boolean value of true onl…
It returns a boolean value of true whe…
It will return the opposite of the exp…
Java programs can be written to follow…
&& - AND
|| - OR
! - NOT
control flow
It returns a boolean value of true onl…
&& - AND
It returns a boolean value of true whe…
|| - OR
74 terms
Java Programming
CPU
Megahertz
Computer
Output
Central Processing Unit. It is the brain of the computer. It…
1 MHZ = 1 Million pulse per second.
CPU, memory harddisk, floppy disk, monitor, printer, communic…
Monitor, printer
CPU
Central Processing Unit. It is the brain of the computer. It…
Megahertz
1 MHZ = 1 Million pulse per second.
10 terms
Java Programming
String (String str)
char charAt (int index)
int compareTo (String str)
String concat (String str)
Constructor: creates a new string object with the same charac…
Returns the character at the specified index.
Returns a number indicating whether this string comes before…
Returns a new string made up of this string added to (concate…
String (String str)
Constructor: creates a new string object with the same charac…
char charAt (int index)
Returns the character at the specified index.
23 terms
Java Programming
Declare a class
Declare a Main Method
Declare Variables
Assign Values to Variables
public class MyClass{}
public static void main(String args[]}
int a; boolean b; String s; double y;
int x = 5; String s = "hello!"; double y; y = x; y=55.7
Declare a class
public class MyClass{}
Declare a Main Method
public static void main(String args[]}
19 terms
Programming in Java
Java
C++
C
B
James Goshling; Sun Microsystems
Bjarme Stranstrop; Bell Labs
Brian Kernighan and Dennis Ritchie; Bell Labs
Ken Thompson; Bell Labs
Java
James Goshling; Sun Microsystems
C++
Bjarme Stranstrop; Bell Labs
36 terms
Java Programming
when would you prefer to use a for loo…
when a class X extends a class Y, X in…
given a line of code that converts a s…
Write a statement that will replace al…
when you know how many times you want the loop to run
methods; variables
int num= parseInt (numText)
JB1.setText("new text");
when would you prefer to use a for loo…
when you know how many times you want the loop to run
when a class X extends a class Y, X in…
methods; variables
28 terms
Java Programming
Package
Class
Variables
Primitive Data Types
A collection of folders.
Blueprint of project.
Something that holds data. Ex. Primitive Data Types and Strings
Types of variables that are reserved for java: float, double,…
Package
A collection of folders.
Class
Blueprint of project.
17 terms
Java Programming
cpu
variable
In the object oriented programming mod…
briefly explain what a compiler does
performs the fetch/decode/execute cycle
named storage location in the computer's memory. Must be decl…
data and methods
a compiler takes source code and creates byte code
cpu
performs the fetch/decode/execute cycle
variable
named storage location in the computer's memory. Must be decl…
22 terms
Java Programming
Java is used to....
What do compilers do?
You must install a _____ in order to c…
Classes in a java program consist of....
create web pages, develop large scale applications, and provi…
Translate high level language programs into machine language…
JDK (Java Development Kit)
methods and fields (Global Variables).
Java is used to....
create web pages, develop large scale applications, and provi…
What do compilers do?
Translate high level language programs into machine language…
24 terms
Java Programming
Java Package
What is MVP
What is "Add-A-Trick"
How to perform concatenation in System…
Directory Path
In product development, the minimum viable product (MVP) is a…
Add one single bit of functionality and then retest
...
Java Package
Directory Path
What is MVP
In product development, the minimum viable product (MVP) is a…
14 terms
Java programming
camelCase
PascalCase
Class body
print
Names of variables and methods that start as a lower case and…
Names of variables and methods are all uppercase.
All of the variables and methods within brackets
Prints on that specific line
camelCase
Names of variables and methods that start as a lower case and…
PascalCase
Names of variables and methods are all uppercase.
12 terms
Java Programming
Compiler
Compile-time errors
Run-time errors
Logical errors
An application that translates programs from the Java languag…
These errors are caught by the system when we compile the pro…
These errors are caught by the system when we execute the pro…
These errors are (hopefully) caught by the programmer when we…
Compiler
An application that translates programs from the Java languag…
Compile-time errors
These errors are caught by the system when we compile the pro…
20 terms
Java Programming
What is the output produced by the fol…
What is the output produced by the fol…
What type of quantities would be best…
What is the output produced by the fol…
TwoThree
One
True or False; Yes or No
******(6)
What is the output produced by the fol…
TwoThree
What is the output produced by the fol…
One
11 terms
Java Programming
Multi-Dimensional arrays?
Arrays are what kind of type?
The size of an array can be available…
What is within the Diamond Operator (…
Jagged Arrays
Reference Types
Length Property
Reference Types
Multi-Dimensional arrays?
Jagged Arrays
Arrays are what kind of type?
Reference Types
86 terms
Java Programming - Chapter 1 - Creating Java Programs
Computer program
Hardware
Software
Application software
A set of instructions that you write to tell a computer what…
General term for computer equipment.
General term for computer programs.
Performs tasks for users.
Computer program
A set of instructions that you write to tell a computer what…
Hardware
General term for computer equipment.
78 terms
Java Programming - Chapter 2
parse
constant
literal constant
numeric constant
break into component parts
values that cannot be changed during the execution of an appl…
value that is taken literally at each use
number whose value is taken literally at each use
parse
break into component parts
constant
values that cannot be changed during the execution of an appl…
12 terms
Java Programming 1
class
object
method
act method
Used to create objects.
An instance of a class. Many of these can be created from one…
Action that an object can perform after it has been created.
A special method invoked once with the Act button and repeate…
class
Used to create objects.
object
An instance of a class. Many of these can be created from one…
15 terms
Java: Object-Oriented Programming
instantiation
class
three main characteristics of objects
object
creating an object with the "new" operator, eg. str1 = new St…
a description of a possible object
identity, state, behavior
a section of memory that contains both variables (state infor…
instantiation
creating an object with the "new" operator, eg. str1 = new St…
class
a description of a possible object
153 terms
Advanced Java Programming
Class
Object
Class
Instance Variables
Definition of a type ; a plan or blueprint( i.e. Strings - de…
A specific instance of a class or a thing that fulfills the d…
Specifies the members of the objects... -Instance Variables... -Met…
Attributes of a class
Class
Definition of a type ; a plan or blueprint( i.e. Strings - de…
Object
A specific instance of a class or a thing that fulfills the d…
22 terms
Java Programming Midterm
How to get 2s complement:
A logic gate that equals:... 0 * 0 = 0... 1…
A logic gate that equals: ... 0 + 0 = 0... 0…
A logic gate that equals: ... 0 + 0 = 1... 0…
1. Turn number into binary (0s and 1s)... 2. Switch 0s and 1s.... 3…
AND Logic Gate... (Multiplication)
OR Logic Gate... (Addition)
NOR logic gate... (Opposite of OR)
How to get 2s complement:
1. Turn number into binary (0s and 1s)... 2. Switch 0s and 1s.... 3…
A logic gate that equals:... 0 * 0 = 0... 1…
AND Logic Gate... (Multiplication)
59 terms
Java Programming Symbols
Public
Class
Static
Void
A Java keyword which declares a member's access as visible to…
Defines the implementation of a particular kind of object; de…
a java keyword denotes that a member variable, or method, can…
The following method doesn't return a value.
Public
A Java keyword which declares a member's access as visible to…
Class
Defines the implementation of a particular kind of object; de…
9 terms
Java programing
Syntax
Semantic
primitive
iterative
Cú pháp
thuộc ngữ nghĩa... To learn the basic syntax and semantics of th…
nguyên sơ, nguyên thủy
nhắc lại, lặp đi lặp lại... Write short programs that use the fu…
Syntax
Cú pháp
Semantic
thuộc ngữ nghĩa... To learn the basic syntax and semantics of th…
49 terms
Object-Oriented Programming [Java]
Three Fundamental Features of OOP
Encapsulation
Inheritance
Polymorphism
Encapsulation... Inheritance... Polymorphism
An object-oriented technique in which the internal details of…
A relationship between two classes in which one class ( the s…
Declaring a variable to have one type while it refers to an o…
Three Fundamental Features of OOP
Encapsulation... Inheritance... Polymorphism
Encapsulation
An object-oriented technique in which the internal details of…
37 terms
Obj. programming Java 4
Substitutionsprinzip
Unterklasse
Oberklasse
Subtyp
Objekt der Unterklasse kann dort verwendet werden wo ein Obje…
erbt Attribute und Methoden von Oberklasse
vererbt Attribute und Methoden an Unterklasse
Unterklasse ist ein Subtyp der Oberklasse
Substitutionsprinzip
Objekt der Unterklasse kann dort verwendet werden wo ein Obje…
Unterklasse
erbt Attribute und Methoden von Oberklasse
1 of 10