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
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
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
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…
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
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…
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
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;
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 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)
39 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
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
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
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 FINAL
class
primitive variable
object names
using the private access specifier on…
One or more objects may be created from a(n):... -field... -class... -…
When you are working with a ____________, you are using a sto…
A UML diagram does not contain:... -the class name.... -the method…
Data hiding, which means that critical data stored inside the…
class
One or more objects may be created from a(n):... -field... -class... -…
primitive variable
When you are working with a ____________, you are using a sto…
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.
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…
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…
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…
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…
Computer Programming Terms (java)
bit
byte
boolean
char
The smallest unit of information in a computer, with a value…
A sequence of eight bits. Java provides a corresponding byte…
Refers to an expression or variable that can have only a true…
A Java keyword used to declare a variable of type character.…
bit
The smallest unit of information in a computer, with a value…
byte
A sequence of eight bits. Java provides a corresponding byte…
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…
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.
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
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
Java Programming Notes
Souce
Compiler
Output (Code)
Virtual Machine
...
...
...
...
Souce
...
Compiler
...
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
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){}
Comp 260 - Java Programming
Central Processing Unit
Program
Fetch- and- execute cycle
registers
Brain of the computer. Its jobs is to execute programs
List of instructions followed mechanically by a program. Writ…
repeatedly fetching an instruction from memory and coying out…
which are small memory units capable of holding a single numb…
Central Processing Unit
Brain of the computer. Its jobs is to execute programs
Program
List of instructions followed mechanically by a program. Writ…
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
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…
20 terms
Programming: Intro to Java
In use today are more than a trillion…
Enterprise Edition.
Every year or two, the capacities of c…
The vast majority of the microprocesso…
Which of the following statements is false?
Which edition of Java is geared toward developing large-scale…
Which of the following is most closely associated with Moore'…
Which of the following statements is false?
In use today are more than a trillion…
Which of the following statements is false?
Enterprise Edition.
Which edition of Java is geared toward developing large-scale…
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
Basic Java Programming Set
declare a static class called Peaches
declare a constant integer green beans…
write an if/else statement with the co…
write a while loop for the condition a…
public class Peaches { }
final int GREEN_BEANS = 12;
if(a > 3) { } else { }
while(a <= 5) { }
declare a static class called Peaches
public class Peaches { }
declare a constant integer green beans…
final int GREEN_BEANS = 12;
23 terms
Java Programming Quiz #3
Class
Object
Method
How do you spell algorithm?
A set of specifications for building something. It is similar…
That which was constructed from the "blueprint."
Actions that an object performs. It is easy to spot in code,…
A-L-G-O-R-I-T-H-M
Class
A set of specifications for building something. It is similar…
Object
That which was constructed from the "blueprint."
42 terms
Java Programming Quiz #1
"double"
"int"
"boolean"
"string"
'double' is a data type for numbers with decimal points
'int' is a variable for whole numbers
'boolean' is a variable for true/ false values
'string' is a variable for text
"double"
'double' is a data type for numbers with decimal points
"int"
'int' is a variable for whole numbers
Computer Programming and JAVA
Java has three looping (repetition) st…
The syntax of the while statement is:
In JAVA
The statement is called
While, for, and do... While
while (logical expression)... statement
while is a reserved word
The body of the loop
Java has three looping (repetition) st…
While, for, and do... While
The syntax of the while statement is:
while (logical expression)... statement
Java How To Program 3
both
!
static
java
The & and | operators work identically to the && and || opera…
The unary __ (logical NOT) operator reverses the value of a c…
All the objects of a class share one copy of the class' ____…
You can place a main method in every class you declare - only…
both
The & and | operators work identically to the && and || opera…
!
The unary __ (logical NOT) operator reverses the value of a c…
9 terms
Programming with JavaScript
Console
Declare a Variable
Variable
readLine
Console programs are programs that use only the text-based co…
Declaring a variable is defining it for the first time.
A symbol or container that holds a value.
Allows for the reading of user input when a string is used
Console
Console programs are programs that use only the text-based co…
Declare a Variable
Declaring a variable is defining it for the first time.
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
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…
8 terms
Programming Questions Java
Private
Protected
Object
Class
Any entity that has state and behavior is known as an object.…
...
...
...
Private
Any entity that has state and behavior is known as an object.…
Protected
...
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
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 ... */
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
Java Programming Notes
Java
Source code
Class
Convention
The program language we're studying
Code written inside a file with a .java file extension
A Java code written inside of something
Established practice
Java
The program language we're studying
Source code
Code written inside a file with a .java file extension
57 terms
Java Programming Ch. 1-3
CPU
Main Memory (RAM)
Analog Signal
Digital Signal
Performs arithmetic and logical operations for the computer.
Stores data and programs before execution; an ordered sequenc…
Continuous waveforms used to represent things like sound.
Sequences of zeros and ones (low voltage, high voltage).
CPU
Performs arithmetic and logical operations for the computer.
Main Memory (RAM)
Stores data and programs before execution; an ordered sequenc…
2 of 10