click below
click below
Normal Size Small Size show me how
Intro to Java - MPL
Grossmont College Class
Question | Answer |
---|---|
When a program runs on a computer, the part of the computer that carries out the instructions is called the | CPU |
When a program runs on a computer, it is stored in | RAM |
When a program is not running, it is stored | on a disk. |
Flash drives, CDs, external disks are all examples of _____ storage (memory) devices. | secondary |
At each step of its operation, the input to a Central Processing Unit is | an instruction. |
A binary digit | is zero or one. |
A bit is | a binary digit, like 0 or 1. |
A byte in memory is identified by a unique number called its | address. |
In modern computer systems, a byte consists of ____ bits. | 8 |
A compiler | translates source code into executable code |
In object-oriented programming a class is | a model or template from which objects are created. |
In object-oriented programming a method is | code that allows access to an object's attributes or that carries out some other action for the object. |
An operating system | allocates resources like memory to programs that are running. |
What best defines a "programming language"? | It allows us to express an algorithm. |
The code that a programmer writes is called _______ code. | source |
The ability of a language to let a programmer develop a program on computer system that can be run on other systems is called | portable. |
To run a Java program from a command line, we use the _____ command. | java |
Files containing Java code must end with what "extension"? | .java |
The standard name of the Java compiler is ______ | javac. |
Division by zero when the program is executing is an example of a _______ error. | run-time |
The purpose of testing a program with different combinations of data is to expose run-time and ________ errors. | logic |
An identifier that cannot be used as a variable name is a ______ word. | reserved |
The rules that govern the correct order and usage of the elements of a language are called the _____ of the language. | syntax |
Which token is NOT a keyword (language-determined identifier)? | sum |