





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Syntax.
Answer: These are rules that must be followed when writing a program
Variables.
Answer: Symbolic names made up by the programmer that represents location in the computer's RAM
Byte Code.
Answer: Instructions are read and interpreted by the JVM
Software.
Answer: Refers to programs
Central Processing Unit (CPU).
Answer: Consists of two parts the control unit and the arithmetic and logic unit (ALU)
Answer: Is usually a volatile type of memory, used only for temporary storage
Application Software.
Answer: Is a programs that make the computer useful to the user
Key Words.
Answer: Words that have a special meaning in the programming language
Semicolons.
Answer: Are used to indicate the end of a Java statement
Logical Errors.
Answer: Are mistakes that cause the program to produce erroneous results
Literals.
Answer: Is a value that is written into the code of a program
String.
Answer: Is not a primitive data type
Character Literals.
Answer: Are enclosed in single quotes
String Literals.
Answer: Are enclosed in double quotes
Scanner Class Method.
Answer: Reads a string by nextLine
Java Application Program.
Answer: Must have a method named main
Data Type.
Answer: Is the type of data that the variable can hold
Answer: Tests a series of conditions. It is often simpler to test a series of conditions with the if-else-if statement than with a set of nested if-else statements
Nested if statement.
Answer: To test more than one condition, an if statement can be nested inside another if statement
If-else statement.
Answer: It will execute one group of statements if its boolean expression is true, or another group if its boolean expression if false
JOptionPane.
Answer: Is a class that allows you to quickly display a dialog box, which is a small graphical window displaying a message or requesting input
Scanner.
Answer: A class can be used to read input form the keyboard
final Keyword.
Answer: Can be used in a variable declaration to make the variable a named constant
Argument.
Answer: Is to be displayed on the screen is placed inside the parentheses
print and println.
Answer: Used to display text output
Java Virtual Machine (JVM).
Answer: Is a program that reads Java byte code instructions and executes them as they are read
Syntax Errors.
Answer: Are mistakes that the programmer has made that violate the rules of the programming language
Compiler.
Answer: A program that translates source code into an executable form
Source Files.
Answer: Where source files are saved. Java source file end with the .java extension
Source Code.
Answer: The Java programming statements written by the programmer
Programming Language.
Answer: Is a special language used to write computer programs
\n.
Answer: Newline
\t.
Answer: Horizontal Tab
\b.
Answer: Backspace
Answer: Addition
Answer: Subtraction
Answer: Multiplication
Answer: Division
Answer: Modulus
Answer: Greater than
Answer: Less than
Answer: Greater than or equal to
Answer: Less than or equal to
Answer: Equal to
Answer: Not equal to
Answer: AND
Answer: OR
Answer: NOT
Is x greater than y AND is a less than b?
Answer: x > y && a < b.
Is x equal to y OR is x equal to z?
Answer: x == y || x == z.
Is the expression x > y NOT true?
Answer: !(x > y).
!true.
Answer: false