Store a person's name using a variable of this non-primitive data type.
What is String?
You create a comment by typing this.
What is two slashes // or /* */
Name at least 3 primitive data types apart from int
int, double, char, long, short, float, boolean, byte
++ is used to
increment a variable by 1
Java programs can be of two types
Applications and Applets.
Can have only one of two possible values, true or false.
What is boolean?
One of two methods which send a message to the terminal window.
What is print() or println()?
Strings can be combined in expressions with other strings or numbers using the concatenation operator.
True
This is the fastest growing programming language in the world.
Java
The window that represents this kind of user interface.
CMD or Command prompt
This is called when a message is sent to an object such as println() and print.
Method
This line of code is required before you can use a scanner object to read inputs from the keyboard.
import java.util.Scanner;
Every Java statement ends with a colon.
False Java statements end with a semi-colon(;)
This is the concatenation operator.
plus sign(+)?
The area of the Java program where the code is placed.
What is the main method?
These are all?
abstract
assert
boolean
break
byte
case
catch
char
class
const
continue
default
do
Java Reserved Keywords
This binary operator gives the remainder from an integer division.
modulus operator
Creates a variable for the first time.
declaration statement
This kind of error is the result of writing the wrong code.
What is syntax error?
Always contains an equal sign.
What is an assignment statement?
Explain all?
\n
\t
\b
\\
//
\n new line
\t tab
\b move left, one position
\\ Causes a backslash to be printed
// comment
How many lines will be used in this statement?
System.out.print("These lines will be");
System.out.print("printed on");
System.out.println("three lines.\n);
One line
Software engineers perform several tasks in the development of complex software projects, Name four?
–designing,
–writing,
–testing,
–debugging,
–documenting,
–modifying, and
–maintaining.
What is the Program Development Process?
Text editor- Source code(.java)
Java compiler-Byte code(.class)
JVM- Program Execution
All answers must be, correct or no points.
What is ROM, RAM?
Name four input and output devices?
What are the three process stages of the CPU?
What are the two parts of the CPU?
Name six operation systems?
Too lengthy for the board.