How computers and programs think
True
All programming languages are built around a set of keywords
Class
An object that has attributes and methods; can be used as a cookie cutter to create instantiate, new objects
commenting out
As you are building code in Java, you find the customer wants to have explanations within the code and yet not have those comments be part of the program. To what is your customer referring?
They are keywords.
As you are editing a section of code, you notice some words are highlighted. What is the best explanation for the highlighting of certain words?
Java Virtual Machine Code
Code
Interpreter
High-level programming instructions that are converted to an intermediary code that, in turn, is easily converted to machine language as they are encountered.
Java is platform-independent.
In analyzing whether or not to use Java, what would be the best argument for using Java?
method
Java function or procedure that accomplishes work; in Java, parentheses always follow a method name
public
Java keyword indicating code within that class is accessible by other programs
Public
Java keyword indicating code within that class is accessible by other programs is
static
Java keyword that indicates content will not change
println
Java method described in the System class; println( ) prints the contents within its parentheses
string
Java variable type allowing more than one character to be displayed by placing double quotation marks at the beginning and end of the string
Block comment
Multiple lines of text in Java used to clarify class information but not function as part of the program; in code opens with */
instantiate
Suppose you are working on a team using object-oriented programming and your supervisor observes you creating new objects. She/he tells you there is an easier way to create objects by making copies. What is your supervisor teaching you?
block comments
What can you use to enter multiple lines of text explaining a section of code, yet not have the text in the code?
main
What is the method required in all Java programs?
The object in a program is called a class
What is the relationship between an object and class in an OOP program?
semicolon
What must all Java programming statements end with
A compiler can catch and report errors.
While it is important to know syntax and write correct code, what can be considered reassuring to a programmer?
graphical user interface
You are working with a client who wants customers to be able to tap an image and see pricing and availability. As you are building the code in Java, what will you be using?
object-oriented programming
approach to programming that includes reusable components to speed up programming; abbreviated OOP
class
attributes and methods
Bytecode
code produced by Java compiler, javac, from high-level java programing code; java virtual machine code
comment codes
codes that make the text following them invisible to the compiler; used to indicate comments
Attributes
descriptive properties that make up an object/object class
Java Development Kit
free program that includes the Java programming language and the NetBeans IDE; abbreviated JDK
string literal
group of printable characters enclosed within double quotation marks
string
in Java, your supervisor states you need to have several areas where more than one character is displayed. What is your supervisor saying you need to use?
Instantiate
in object-oriented programming, making a copy of an existing object to create a new object
Method
is the Java function or procedure that accomplishes work.
Static
is the Java keyword that indicates content will not change.
pseudocode
is the natural language used to describe the logical processes to be accomplished in a program.
False
last programming statement in a Java program is the class statement
method
method Java function or procedure that accomplishes work; in Java, parentheses always follow a method name
main
method required in all Java programs; the first method following the class statement
pseudocode
natural language used to describe the logical processes to be accomplished in a program; used as an outline for the code
Java Interpreter
provides the means for java bytecode to run
line comment
single line of text in Java used to clarify information, but not function as part of the program; in code, opens with //
graphical user interface
system enabling users to interact with computers via clicks and taps on images; abbreviated GUI
NetBeans
the IDE provided as a bundle with the JDK
Javac
the Java compiler that converts the high-level Java keywords into bytecode, which can be converted to binary by a Java Interpreter