Term
1) The most basic circuitry-level computer language, which consists of on and off switches, is |
|
Definition
|
|
Term
2) Languages that let you use a vocabulary of descriptive terms like read, write, or add are known as _______________ languages. |
|
Definition
|
|
Term
The rules of a programming language constitute its |
|
Definition
|
|
Term
4) A _______________ translates high-level language statements into machine code. |
|
Definition
|
|
Term
Programmer-named computer memory locations are called |
|
Definition
|
|
Term
Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of |
|
Definition
object oriented programming |
|
|
Term
The Java programming language is architecturally |
|
Definition
|
|
Term
All Java programming language statements must end with a |
|
Definition
|
|
Term
All Java programs must have a method named |
|
Definition
|
|
Term
Non-executing program statements that provide documentation are called |
|
Definition
|
|
Term
You save text files containing Java language source code using the file extension |
|
Definition
|
|
Term
The eight primitive data types are |
|
Definition
byte, char, boolean, short, int, long, float, double |
|
|
Term
The assignment operator in the Java programming language is |
|
Definition
|
|
Term
Can you assign to a variable of type int the value '5'? 98.6? 5? 5,000,000,000,000? |
|
Definition
|
|
Term
Which data type can store a value in the least amount of memory? |
|
Definition
|
|
Term
The purpose of the modulus operator is to |
|
Definition
provide the remainder of integer division. |
|
|
Term
The symbol for the "equal to" comparison operator is |
|
Definition
|
|
Term
A boolean variable can hold the values of |
|
Definition
|
|
Term
When you perform arithmetic with values of diverse types, the Java programming language |
|
Definition
implicitly converts the values to a unifying type. |
|
|
Term
If you attempt to add a float, an int, and a byte, the result will be the data type. |
|
Definition
|
|
Term
Explicitly overriding an implicit type is called |
|
Definition
|
|
Term
An escape sequence always begins with a(n) |
|
Definition
|
|
Term
The 16-bit code scheme employed by the Java programming language is |
|
Definition
|
|
Term
The Java platform’s term for a series of statements that carry out some task is a |
|
Definition
|
|
Term
How many methods can a Java class contain? |
|
Definition
|
|
Term
What effect does the access modifier public have on a method? What effect does the access modifier private have on a method? |
|
Definition
It makes the method available to be used from any class. Private methods cannot be called from outside the class. |
|
|
Term
Every object is a member or instance of a more general |
|
Definition
|
|
Term
You send messages to an object through its |
|
Definition
|
|
Term
A program or class that instantiates objects of another prewritten class is called a a(n) |
|
Definition
|
|
Term
A class header must contain the keyword |
|
Definition
|
|
Term
Most classes are created with which the access modifier? |
|
Definition
|
|
Term
The body of a class is written between what symbols? |
|
Definition
|
|
Term
Most class fields are classified as |
|
Definition
|
|
Term
The concept of allowing a class’s private data to be changed only by a class’s own methods is known as |
|
Definition
|
|
Term
To allocate memory you must use the operator |
|
Definition
|
|
Term
Code between a pair of curly brackets in a method is called a |
|
Definition
|
|
Term
When a block exists within another block, the blocks are called |
|
Definition
|
|
Term
The portion of a program within which you can reference a variable is the variable’s |
|
Definition
|
|
Term
A variable ceases to exist at the end of the in which it is declared. |
|
Definition
|
|
Term
You can declare two variables with the same name as long as |
|
Definition
their scope does not overlap |
|
|
Term
If you declare a variable within a class and declare and use the same variable name within a method of the class, which one takes precedence? |
|
Definition
The variable declared inside the method takes precedence. |
|
|
Term
Methods that you associate with individual objects are what type of methods? |
|
Definition
|
|
Term
Variables that are shared by every instantiation of a class are what kind of variables? |
|
Definition
|
|
Term
The word closest in meaning to static as used by the Java programming language is |
|
Definition
|
|
Term
If you change the value of a static variable in a class, it is changed for which objects of the class? |
|
Definition
|
|
Term
What does the keyword final in a variable declaration indicate? |
|
Definition
|
|
Term
Can a symbolic constant be changed during program execution? |
|
Definition
|
|
Term
Java classes are stored in a folder or |
|
Definition
|
|
Term
What would be the statement to determine the square root of number and assigns it to the variable s? |
|
Definition
|
|
Term
Static methods are also called methods. |
|
Definition
|
|
Term
The wildcard symbol used with the import statement is the. |
|
Definition
|
|
Term
A program that accepts values at run time is said to be |
|
Definition
|
|
Term
An error situation is called an. |
|
Definition
|
|
Term
A decision is based on a(n) value. |
|
Definition
|
|
Term
The value of ( 4 > 6 ) is |
|
Definition
|
|
Term
You can use the statement to terminate a case in a switch structure |
|
Definition
|
|
Term
Assuming x = 3 and y = 12, then the value of x > 0 | | y < 10 && x == 0 is. |
|
Definition
|
|
Term
A structure that allows repeated execution of a block of statements is a(n) |
|
Definition
|
|
Term
The postfix operator ++ is a operator. |
|
Definition
|
|
Term
If g = 6, then the statement System.out.println (g++); would output |
|
Definition
|
|
Term
If h = 8, then the statement System.out.println (++h); would output |
|
Definition
|
|
Term
) Convert the following binary number into base 10:10110110 |
|
Definition
|
|
Term
Convert the following base 10 number into binary:327 |
|
Definition
|
|
Term
Usually, you want each instantiation of a class to have its own copy of |
|
Definition
|
|
Term
To use any of the prewritten classes besides those in the java.lang package, can you – Use the entire path with the class name? Import the class? Import the package of which the class you are using is a part? |
|
Definition
|
|
Term
the types fo method access modifiers are |
|
Definition
public private,friendly, protected private protected, staic and final |
|
|
Term
If a class is named MyClass(), then the class constructer name is |
|
Definition
|
|
Term
If you change the static variable of a class... |
|
Definition
It is changed for all objects of the class |
|
|
Term
To use any of the prewritten classes besides those in the java.lang package, you can- |
|
Definition
use the entire path with the class name, iImport the class, or import the package in which the class you are using is a part |
|
|
Term
The operator that combines 2 conditions that are both true |
|
Definition
|
|
Term
If you do not create a constructor for a class, java will |
|
Definition
automatically create one for you |
|
|