






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
โ If Statements. Answer: Is used to make simple decisions in Java โ System.out.printf. Answer: Allows you to format output in a variety of ways โ Boolean data type. Answer: Allows you to create variable that may hold one of two possible โ Char Data Type. Answer: Is used to store characters. โ Variable Declaration. Answer: Tells the compiler the variable's name an the type of data it will hold โ Switch Statement. Answer: Lets the value of a variable or expression determine where the program will branch to โ Logical Operators.
Answer: Connect two or more relational expressions into one or reverse the logic of an expression โ If-else-if statement. 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
โ 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 โ \r. Answer: Return
Answer: Backslash โ '. Answer: Single quotes โ ". Answer: Double quotes โ //. Answer: Double Slash โ ( ). Answer: Opening and closing parentheses โ { }. Answer: Opening and closing braces โ " ". Answer: Quotation marks
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
โ x > y && a < b. Answer: Is x greater than y AND is a less than b? โ x == y || x == z. Answer: Is x equal to y OR is x equal to z? โ !(x > y). Answer: Is the expression x > y NOT true? โ !true. Answer: false โ !false. Answer: true โ true || false. Answer: true โ false || true. Answer: true