Terms For Midterm Flashcards
+actual parameter
The actual value that is passed into the method by a caller.
*accessor method
A method that accesses and object but does not change it
Algorithm*
An unambiguous , executable, and terminating, specification of a way to solve a problem.
Argument *
A value supplied in a method call, or one of the values combined by an operator.
Bit*
Binary digit; the smallest unit of information, having two possible values: 1 and 0. A data element consisting of n bits had 2^n possible values.
Boolean operator *
An operator that can be applied to Boolean values. Java has three Boolean operators: &&, ||, and !.
byte*
A number made up of 8 bits. Most computers use byte as smallest unit of storage in memory.
cast*
Explicitly converting a value from one type to a different type.
class*
A programmer-defined data type.
constructor*
A sequence of statements for initializing a newly instantiated object.
encapsulation*
The hiding if implementation details.
explicit parameter*
A parameter of a method other than the object on which the method is invoked.
IDE*
Integrated developing environment - a programming environment that includes an editor, compiler, and debugger.
implicit parameter *
The object on which a method is invoked.
initialize*
Set a variable to a well defined value when it is created.
instance variable*
A variable defined in a class for which every object of the class has its own value.
*address
RAM is divided into fixed-sized units called cells, and each cells is associated with a unique identifier called an address.
+arithmetic/Logic Unit (ALU)
An arithmetic-logic unit (ALU) is the part of a computer processor (CPU) that carries out arithmetic and logic operations on the operands in machine language.
ASCII*
stands for American Standard code for information interchange. its the international standard for representing textual info in the majority of computers.
binary+
of, relating to, or written in binary code; programmed or encoded using only the digits 0 and 1
bit*
A bit is the most basic unit in computing. It is a binary digit that has one of two values; either 0 or 1.
boolean+
In computer science, the Boolean data type is a data type, having two values (usually denoted true and false), intended to represent the truth values of logic and Boolean algebra.
boolean expression*
An expression that results in a value of either TRUE or FALSE. For example, the expression 2
boolean operator+
All expressions that contain relational operators , such as the less than sign (
*byte
A number made up of eight bits. essentially all currently manufactured computers use a byte as the smallest unit of storage memory.
+cache memory
Cache memory is a type of memory used to hold frequently used data. Cache memory is relatively small but very fast.
computer science*
The study of algorithms including, their formal and mathematical properties (math theory), their hardware realizations (comp engineering), their linguistic realizations (program languages), and their applications (web browsers/apps).
control unit+
the part of a CPU that interprets the instructions in programs and directs the operation of the entire system.
flops*
In computing, FLOPS or flops (an acronym for Floating-point Operations Per Second) is a measure of computer performance, useful in fields of scientific calculations that make heavy use of floating-point calculations.
formal parameter+
formal parameter — the identifier used in a method to stand for the value that is passed into the method by a caller. For example, amount is a formal parameter of processDeposit
gigabyte+
1024 killobytes
I/0 buffer *
the small amount ofmemory for an I/O controller
I/O controller*
is like a special purpose computer whose responsibility is to handle details of input/output and compensate for any speed differences.
initialize *
Set a variable to a well defined value when it’s created.
instance variable *
A variable defined in a class for which every object in the class has it own value.
instantiation+
In programming, instantiation is the creation of a real instance or particular realization of an abstraction or template such as a class of objects or a computer process. To instantiate is to create such an instance by, for example, defining one particular variation of object within a class, giving it a name, and locating it in some physical place.
instruction set*
The set of all operations that can be executed by a processor is called its instruction set.