Chapter 2 Flashcards
(49 cards)
One approach to creating, compiling, and editing programs where the user types commands and the computer responds
Command Line Environment
An approach to creating, compiling, and editing programs where the user uses the keyboard and mouse to interact with a graphical user interface
Integrated Development Environment (IDE)
The basic development system for Java programming
Java Development Kit (JDK)
Central concept in a command line environment which contains files that can be used by the commands you type
Current/Working Directory
Current directory first displayed in a command prompt where personal files are stored
Home Directory
A computer program that allows you to create and save documents containing plain text
Text Editor
A shortcut to typing long commands
Alias
The rules that determine what is allowed of a programming language’s vocabulary and construction
Syntax
The set of rules that determine the meaning of a program written in a porgramming language
Semantics
Aspects of programming relating to the style of the program
Pragmatics
Command within a program that uses a built-in subroutine
Subroutine Call Statement
Subroutine which is already defined as a part of a programming language and therefore is automatically available for use in any program
Built-In Subroutine
File where the class of a program is saved but not necessary for executing the program and different from the compiled file
Source Code
The most basic names in Java syntax which can be used to name classes, variables, and subroutines as a sequence of one or more characters consisting of a letter or underscore at the beginning and letters, numbers, or underscores throughout
Identifiers
Certain words which cannot be used as identifiers in Java since they are held for special uses, such as ‘class’, ‘public’, ‘static’, and several dozen other words
Reserved Words
Method of capitalizing multi-word names so that each word, except maybe the first, is capitalized without any space or underscore separating them
Camel Case
Things in Java which can consist of several simple names separated by periods, based in the idea that things can contain other things and acting as a path to an item through one or more levels of containment
Compound/Qualified Names
Statement which sets a variable name to a value using an equals sign in the form ‘variable = expression’
Assignment Statement
Type of programming language in which variables are designed to hold only one particular type of data
Strongly Typed
Basic data types recognized by Java which include only: byte, short, int, long, float, double, char, boolean
Primitive Types
Data type corresponding to two bytes, with values in the range of -32768 to 32767
Short
Data type corresponding to four bytes, with values in the range of -2147483648 to 2147483647
Int
Data type corresponding to eight bytes, with values in the range of –9223372036854775909 to 9223372036854775807
Long
Data type for encoding real numbers represented in four bytes of memory, so that the maximum value is about 10^38 and may include about seven significant digits
Float