Showing posts with label glossary. Show all posts
Showing posts with label glossary. Show all posts

Tuesday, 10 January 2012

Glossary


OK, I'm not sure a blog post is the best way to do a glossary. A-C already takes up quite a lot of space.

I'm going to create pages as tabs along the top and make the IB Java glossary one of these.

This will hopefully also provide a format to later organise links to posts of IB teaching content.

Monday, 9 January 2012

Java Glossary (A-C)

After going over student responses to a mock for IB paper 2, a colleague and I decided to create a Java programming glossary for our students.

A full version can be found out the Sun site (here) but there's too much in this that students don't need to know. Here is the start of my draft cut down version:

abstract
A Java programming language keyword used in a class definition to specify that a class is not to be instantiated, but rather inherited by other classes. An abstract class can have abstract methods that are not implemented in the abstract class, but in subclasses.

abstract class
A class that contains one or more abstract methods, and therefore can never be instantiated. Abstract classes are defined so that other classes can extend them and make them concrete by implementing the abstract methods.

abstract method
A method that has no implementation.
applet
A component that typically executes in a web browser, but can execute in a variety of other applications or devices that support the applet programming model.
argument
A data item specified in a method call. An argument can be a literal value, a variable, or an expression.

array
A collection of data items, all of the same type, in which each item's position is uniquely designated by an integer.

ASCII
American Standard Code for Information Interchange. A standard assignment of 7-bit numeric codes to characters. See also Unicode.
binary operator
An operator that has two arguments.

bit
The smallest unit of information in a computer, with a value of either 0 or 1.
boolean
Refers to an expression or variable that can have only a true or false value. The Java programming language provides the boolean type and the literal values true and false.
byte
A sequence of eight bits. The Java programming language provides a corresponding byte type.
case
A Java programming language keyword that defines a group of statements to begin executing if a value specified matches the value defined by a preceding "switch" keyword.


casting
Explicit conversion from one data type to another.

catch
A Java programming language keyword used to declare a block of statements to be executed in the event that a Java exception, or run time error, occurs in a preceding "try" block.


char
A Java programming language keyword used to declare a variable of type character.


class
In the Java programming language, a type that defines the implementation of a particular kind of object. A class definition defines instance and class variables and methods, as well as specifying the interfaces the class implements and the immediate superclass of the class. If the superclass is not explicitly specified, the superclass will implicitly be Object.

class method
A method that is invoked without reference to a particular object. Class methods affect the class as a whole, not a particular instance of the class. Also called a static method. See also instance method.

class variable
A data item associated with a particular class as a whole--not with particular instances of the class. Class variables are defined in class definitions. Also called a static field. See also instance variable.

classpath
A classpath is an environmental variable which tells the JavaTM virtual machine1 and Java technology-based applications (for example, the tools located in the JDK 1.1.X\bin directory) where to find the class libraries, including user-defined class libraries.
comment
In a program, explanatory text that is ignored by the compiler. In programs written in the Java programming language, comments are delimited using // or /*...*/.
compiler
A program to translate source code into code to be executed by a computer. The Java compiler translates source code written in the Java programming language into bytecode for the Java virtual machine1. See also interpreter.
constructor
A pseudo-method that creates an object. In the Java programming language, constructors are instance methods with the same name as their class. Constructors are invoked using the new keyword.