1/9
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is the main principle of how computers store information?
Information is stored in memory as a sequence of 1's and 0's.
How is the number 72 stored in a computer?
As the binary sequence 01001000.
What happens when a variable is declared in Java?
The computer sets aside enough bits to hold a value of that type without initializing it.
What are the eight primitive types in Java?
byte, short, int, long, float, double, boolean, and char.
What does Java do when you assign a value to a variable after declaration?
It fills the variable with the corresponding bits of the assigned value.
What is the golden rule of equals in Java?
When y equals x, it copies the bits from x into y.
What is simplified box notation?
A notation that uses human-readable symbols instead of binary to represent variable contents.
What will happen if you try to access an uninitialized variable in Java?
Java will not allow you to access or print the variable.
Why are the representations of the letter H and the number 72 similar in a computer?
They both are encoded as the same binary sequence, 01001000.
What do you need to know about how Java interprets bit sequences?
The Java type indicates how to interpret the corresponding sequence of bits.