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"

31 terms
Alice with Java Programming
Orient To
Turn to Face
PointAt
MoveTo
when two objects must move together the orientation of the ob…
causes one object to pivot around until its front is facing s…
can be used to align two objects from the center of one to th…
Useful for moving an object in relation to the location of an…
Orient To
when two objects must move together the orientation of the ob…
Turn to Face
causes one object to pivot around until its front is facing s…
20 terms
Anki Java Terms (programming)
//
prompt
bug
\n
Comment (??) ignore the elephant
Asks the user a question
An error in the code
New line
//
Comment (??) ignore the elephant
prompt
Asks the user a question
63 terms
Programming & Java Unit 1
Four main functions of a computer
Computer Program
Software
Input Devices
Input, process, store, output information.
...
...
Keyboard, mouse, microphone, touch screen, USB
Four main functions of a computer
Input, process, store, output information.
Computer Program
...
17 terms
Programming Interview Questions- Java
Difference between & and &&
What is the difference between procedu…
What are Encapsulation, Inheritance an…
What is the difference between Assignm…
& is bitwise. && is logical.... & evaluates both sides of the o…
a) In procedural program, programming logic follows certain p…
Encapsulation is the mechanism that binds together code and d…
Assignment can be done as many times as desired whereas initi…
Difference between & and &&
& is bitwise. && is logical.... & evaluates both sides of the o…
What is the difference between procedu…
a) In procedural program, programming logic follows certain p…
10 terms
Java Programming Terms
primitive data
object
class
naming rules in java
the basics building blocks of all data in java - stores 1 val…
complex data consisting of one or more data fields and one or…
the blueprint to making objects
names start with a letter, can contain numbers, but can't con…
primitive data
the basics building blocks of all data in java - stores 1 val…
object
complex data consisting of one or more data fields and one or…
64 terms
01 Final Java Programming
What is an array?
A 100-element int array referenced by…
A 25-element double array referenced b…
What would the valid index values be i…
A data structure that can hold multiple values of the same da…
int[] employeeNumbers = new int[100];
double[] payRates = new double[25];
0,1,2,3
What is an array?
A data structure that can hold multiple values of the same da…
A 100-element int array referenced by…
int[] employeeNumbers = new int[100];
19 terms
Java Programming Terms
Use website for reference
+
-
*
https://en.wikipedia.org/wiki/List_of_Java_keywords... https://w…
Addition
Substration
Multiplication
Use website for reference
https://en.wikipedia.org/wiki/List_of_Java_keywords... https://w…
+
Addition
85 terms
Java Programming - Chapter 1
method
software
machine code
computer program
self contained block or program code, similar to procedure
general term for computer programs
another term for machine language
set of instructions that you write to tell a computer what to…
method
self contained block or program code, similar to procedure
software
general term for computer programs
8 terms
Java programming Study Guide
Three features of every object-oriente…
Appropriate comment block
Appropriate comment for describing a c…
Explain the difference a Java complier…
Inheritance, polymorphism, and encapsulation
/*... *Averagejava... *Calculates test averages ... */
/** ... *The AverageScores class display......... */
A Java compiler is used to translate source code to byteocode…
Three features of every object-oriente…
Inheritance, polymorphism, and encapsulation
Appropriate comment block
/*... *Averagejava... *Calculates test averages ... */
36 terms
Java Programming Chapter 4
block
outer block
inner block
nested
code between a pair of curly braces
block of code outside of another
block of code within another block
describes the state/position of an inner block
block
code between a pair of curly braces
outer block
block of code outside of another
28 terms
Java Programming - Chapter 1 - Introduction to Java
class
file
main
main method
Everything belongs to a ____________. No global variables or…
Each class must be in its own ________, eponymously named. So…
Each class may have a _______.
To execute the ____________ in the foo class, give the comman…
class
Everything belongs to a ____________. No global variables or…
file
Each class must be in its own ________, eponymously named. So…
49 terms
Java Programming Chapter 3
method
invoke
call
calling method
program module that contains a series of statements that carr…
to execute a method
to execute a method
makes a method call that invokes or calls a method
method
program module that contains a series of statements that carr…
invoke
to execute a method
17 terms
Java Programming StudyGuide
Algorithum
Argument
Bytecode
Comment
A set of steps that outline how to solve a problem.
Data passed to a method for processing.
Complied Java source code.
Text that provides information to the reader of program code.
Algorithum
A set of steps that outline how to solve a problem.
Argument
Data passed to a method for processing.
20 terms
Building Java Programs - Chapter 1
Algorithm
Program
Digital
Binary Number
A step-by-step description of how to accomplish a task.
A list of instructions to be carried out by a computer.
Based on numbers that increase in discrete increments, such a…
A number composed of just 0s and 1s, also known as a base-2 n…
Algorithm
A step-by-step description of how to accomplish a task.
Program
A list of instructions to be carried out by a computer.
20 terms
Java Programming Quiz 1
The Java compiler translates Java sour…
________ is software that interprets J…
One byte has ________ bits.
The main method header is written as:
Java bytecode
Java virtual machine
8
public static void main(String[ ] args)
The Java compiler translates Java sour…
Java bytecode
________ is software that interprets J…
Java virtual machine
14 terms
Java Programming 2
call this method: ... public void foo()
call this method: ... public int foo()
call this method: ... public void foo(int…
call this method: ... public boolean foo()
foo();
int n = foo();
foo(5);
if(foo()) { turn(180); }
call this method: ... public void foo()
foo();
call this method: ... public int foo()
int n = foo();
20 terms
Java Programming Quiz 3
What is the value of the following exp…
The following code displays ________.…
The "less than or equal to" comparison…
What is the printout of the following…
true
just right
<=
bbb
What is the value of the following exp…
true
The following code displays ________.…
just right
12 terms
Java Programming 3
parameter
return value
return type
statement
Information passed to a method.
A value returned by a method with a non-void return type. Exa…
Kind of information returned by a method. Examples: boolean,…
A legal Java sentence. Examples: method call statements, retu…
parameter
Information passed to a method.
return value
A value returned by a method with a non-void return type. Exa…
30 terms
Java Programming Midterm
________ is the physical aspect of the…
________ is the brain of a computer.…
One byte has ________ bits.... A) 16 ... B)…
The main method header is written as:…
D) Hardware
D) CPU
D) 8
A) public static void main(String[ ] args)
________ is the physical aspect of the…
D) Hardware
________ is the brain of a computer.…
D) CPU
20 terms
Java Programming Quiz 2
________ is the Java assignment operat…
Which statement imports the Scanner cl…
Every letter in a Java keyword is in l…
A variable must be declared before it…
=
import java.util.Scanner;
True
True
________ is the Java assignment operat…
=
Which statement imports the Scanner cl…
import java.util.Scanner;
14 terms
Java Basics 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
19 terms
Java Object Oriented Programming
Class
Object
state
behavior
a group of objects that has common properties. It is a templa…
An entity that has state and behavior; also known as an insta…
represents the various data (values) of an object. ... Example:…
the functionality of an object.... Example: a dog might bark, wa…
Class
a group of objects that has common properties. It is a templa…
Object
An entity that has state and behavior; also known as an insta…
37 terms
Java programming ch 1
Cross platform
Applications
Applet
Cpu
Can run on various computer systems
Stand-alone without web browser help, local
Rare, small, secure
Performs the fetch, decode and execute cycle
Cross platform
Can run on various computer systems
Applications
Stand-alone without web browser help, local
20 terms
Java Programming Quiz 4
A variable defined inside a method is…
All Java applications must have a meth…
Analyze the following code.... public cl…
Analyze the following code:... class Tes…
a local variable
public static void main(String[ ] args)
The program cannot compile because the compiler cannot determ…
The program displays long followed by 5.
A variable defined inside a method is…
a local variable
All Java applications must have a meth…
public static void main(String[ ] args)
16 terms
java Programming Quiz 6
________ represents an entity in the r…
________ is a construct that defines o…
________ is invoked to create an object.
The keyword ________ is required to de…
An object
A class
A constructor
class
________ represents an entity in the r…
An object
________ is a construct that defines o…
A class
20 terms
Java Programming Quiz 5
What is the representation of the thir…
If you declare an array double[ ] list…
If you declare an array double[ ] list…
How many elements are in array double[…
a[2]
2.0
3
5
What is the representation of the thir…
a[2]
If you declare an array double[ ] list…
2.0
49 terms
Java Programming - Chapter 1 - Introduction to Java and Variables
Java
Usage of Java
Where is Java used?
Java Standards
Java is an Object Oriented, platform-independent programming…
Applets running in browsers (client side) that supports inter…
1. Stand-alone programs... - some Java programs can run outside…
The Java Standard is set by Sun Microsystems... Java compilers…
Java
Java is an Object Oriented, platform-independent programming…
Usage of Java
Applets running in browsers (client side) that supports inter…
14 terms
Java Programming language
Class
Constructor
Method
Parameter
Blueprint for how a data structure should function
Instructs the class to set up the initial state of an object
Set of instructions that can be called on an object
Values that can be specified when creating an object or calli…
Class
Blueprint for how a data structure should function
Constructor
Instructs the class to set up the initial state of an object
38 terms
Object-Oriented Programming [Java]
3 Fundamental Features of OOP
encapsulation
inheritance
polymorphism
1) encapsulation... 2) inheritance... 3) 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…
3 Fundamental Features of OOP
1) encapsulation... 2) inheritance... 3) polymorphism
encapsulation
an object-oriented technique in which the internal details of…
42 terms
Programming Java : Chapter 1
Hardware Components
The CPU (central processing unit)
Fetch/Decode/Execute cycle
main memory
- central processing unit (CPU)... -main memory... -secondary stora…
-consists of the control unit and the arithmetic and logic un…
-the CPU fetches, from main memory, the next instruction in t…
- aka the RAM (random access memory)... -holds the sequences of…
Hardware Components
- central processing unit (CPU)... -main memory... -secondary stora…
The CPU (central processing unit)
-consists of the control unit and the arithmetic and logic un…
68 terms
Java Programming Midterm
Java
Source Code
Class
Convention
The programming language that we are studying
File with a .java file extension
Where Java code is written
Established practice
Java
The programming language that we are studying
Source Code
File with a .java file extension
Programming Java Chapter 2
Evaluating conditions that are either…
Data type
X=(float)y;
Variable
Variables of the boolean data type are useful for
Variables are classified according to their
Which of the following statements will correctly convert the…
This is a named storage location in the computer's memory
Evaluating conditions that are either…
Variables of the boolean data type are useful for
Data type
Variables are classified according to their
85 terms
Java Programming 7th Ed Chapter 1
"Write once, run anywhere" (WORA)
access specifier
Allman style
applets
a slogan developed by Sun Microsystems to describe the abilit…
defines the circumstances under which a class can be accessed…
the indent style in which curly braces are aligned and each o…
Java programs that are embedded in a Web page
"Write once, run anywhere" (WORA)
a slogan developed by Sun Microsystems to describe the abilit…
access specifier
defines the circumstances under which a class can be accessed…
35 terms
Java Programming Chapter 2
constant
literal constant
numeric constant
variable
value that cannot be changed during the execution of an appli…
value taken literally at each use
number whose value is taken literally at each use
named memory location that you can use to store a value
constant
value that cannot be changed during the execution of an appli…
literal constant
value taken literally at each use
Programming Java Chapter 1
False
A volatile type of memory, used only f…
Determine if the program solves the or…
The methods that operate on the data
Java source files end with the .class extension: True or False?
RAM is usually
The purpose of validating the results of the program is to
An object typically hides it data, but allows outside code to…
False
Java source files end with the .class extension: True or False?
A volatile type of memory, used only f…
RAM is usually
11 terms
Intro to Java Programming - Vocab
Object
Class
Abstraction
Concatenation
Represents something that has properties and behaviors... EX: "c…
a blueprint that outlines how an object can be created and wh…
hiding of the internal details of how something works... EX: Sys…
combining multiple strings/a variable value and a string into…
Object
Represents something that has properties and behaviors... EX: "c…
Class
a blueprint that outlines how an object can be created and wh…
40 terms
Programming Mid-Term Java
Class
Object
Method
Instantiation
A template, or blueprint, for creating objects.
An instance of a class.
A way of sending a "message" to an object.
The process of creating an object from a class.
Class
A template, or blueprint, for creating objects.
Object
An instance of a class.
9 terms
Java Programming for Android
Android
Android
API (Application Programming Interface)
Java
Google's software stack for mobile devices
Consists of applications, a virtual machine (software based p…
An interface that an application's code uses to communicate w…
A language and platform developed by Sun Microsystems divided…
Android
Google's software stack for mobile devices
Android
Consists of applications, a virtual machine (software based p…
Java Programming Review
Syntax Error
Runtime Error
Compiler
Machine code
An error in the writing of a sequence of characters or tokens…
Describes the operation of a computer program, the duration o…
A compiler is a computer program (or set of programs) that tr…
A term for code executed directly by a computer's central pro…
Syntax Error
An error in the writing of a sequence of characters or tokens…
Runtime Error
Describes the operation of a computer program, the duration o…
Programming Java Chapter 3
An explicit import statement
Both the things a class is responsible…
Instance fields
The variable name followed by a colon…
What is the following statement an example of?... import java.ut…
A class's responsibilities include
When an object is created, the attributes associated with the…
To indicate the data type of a variable in a UML diagram, you…
An explicit import statement
What is the following statement an example of?... import java.ut…
Both the things a class is responsible…
A class's responsibilities include
11 terms
ProgrammingJava1.4
Programming Language
Programming Statement
Java is a ______________
Documentation
Uses specific words and symbols to express the problem solution
Instructions that are carried out when the program is executed
Object oriented programming language
written comments or documents, including a user's guide and t…
Programming Language
Uses specific words and symbols to express the problem solution
Programming Statement
Instructions that are carried out when the program is executed
129 terms
Java Programming #1
POGIL
Author of: Starting Out with Java:... Fro…
Actual name of CS 139?
Computers only understand 0's and 1's.…
Process Oriented Guided Inquiry Learning
Tony Gaddis
Algorithm Development
Abstraction
POGIL
Process Oriented Guided Inquiry Learning
Author of: Starting Out with Java:... Fro…
Tony Gaddis
32 terms
Java Programming Chapter 2
The following is not a valid comment s…
What will be displayed after the follo…
17%3*2-12+15
Every Java application program must have
/** comment 4... The right ones are:... // comment 1... / comment 2
Nothing, this is an error.
7
a method named main
The following is not a valid comment s…
/** comment 4... The right ones are:... // comment 1... / comment 2
What will be displayed after the follo…
Nothing, this is an error.
15 terms
Java Programming Intro.
attributes
block comment
bytecode
class
descriptive properties that make up an object/object class
multiple lines of text in Java used to clarify information, b…
code produced by the Java compiler, javac, from high-level Ja…
an object that has attributes and methods; can be used as a c…
attributes
descriptive properties that make up an object/object class
block comment
multiple lines of text in Java used to clarify information, b…
21 terms
Intro to Programming Using Java
What is the difference between a "comp…
Explain the difference between high-le…
If you have the source code for a Java…
What is a subroutine?
A compiler takes a high-level-language program and translates…
Machine language consists of very simple instructions that ca…
This class file,... HelloWorld.class, contains the translation of…
A subroutine consists of the instructions for performing some…
What is the difference between a "comp…
A compiler takes a high-level-language program and translates…
Explain the difference between high-le…
Machine language consists of very simple instructions that ca…
21 terms
Java Programming Notes
Souce
Compiler
Output (Code)
Virtual Machine
...
...
...
...
Souce
...
Compiler
...
200 terms
Java Programming Mamun
Java was first called (1991)
It took ______ months to get first ver…
3. what is a java applet?
Does Java have collections?
Oak
18
java code that is supposed to be transported and run on a jav…
Yes
Java was first called (1991)
Oak
It took ______ months to get first ver…
18
17 terms
Programming Interview Questions- Java
Difference between & and &&
What is the difference between procedu…
What are Encapsulation, Inheritance an…
What is the difference between Assignm…
& is bitwise. && is logical.... & evaluates both sides of the o…
a) In procedural program, programming logic follows certain p…
Encapsulation is the mechanism that binds together code and d…
Assignment can be done as many times as desired whereas initi…
Difference between & and &&
& is bitwise. && is logical.... & evaluates both sides of the o…
What is the difference between procedu…
a) In procedural program, programming logic follows certain p…
6 terms
Java Programming Syntax
Set up a class
Set up the main method
Print "Hello World"
Import Scanner class
public class ClassName{}
public static void main(String[] args){}
System.out.println("Hello World");
import java.util.Scanner;
Set up a class
public class ClassName{}
Set up the main method
public static void main(String[] args){}
25 terms
Java: Programming Basics
problem-solving
high-level language
low-level language
formal language
The process of formulating a problem, finding a solution, and…
A programming language like Java that is designed to be easy…
A programming language that is designed to be easy for a comp…
Any of the languages people have designed for specific purpos…
problem-solving
The process of formulating a problem, finding a solution, and…
high-level language
A programming language like Java that is designed to be easy…
2 of 10