Koofers

NCSU Flyer Board
Business Network Penetration Security
We provide small businesses a proven security, collaboration, social, and management business security box.
Posted by Penesec Corporation | A Business Security Firm
Get Protected »

Exam 1 - Flashcards

Flashcard Deck Information

Class:CSC 116 - Introduction to Computing - Java
Subject:Computer Science
University:North Carolina State University
Term:Fall 2009
- of -
INCORRECT CORRECT
- INCORRECT     - CORRECT     - SKIPPED
Shuffle Remaining Cards Show Definitions First Take Quiz (NEW)
Hide Keyboard shortcuts
Next card
Previous card
Mark correct
Mark incorrect
Flip card
Start Over
Shuffle
      Mode:   CARDS LIST       ? pages   PRINT EXIT
Algorithm A step-by-step description of how to accomplish a task.
Program A list of instructions to be carried out by a computer.
Digital Based on numbers that increase in discrete increments such as the integers 0, 1, 2, 3, etc.
Binary Number A number of just 0s and 1s, also known as a base-2 number.
Generated by Koofers.com
Program Execution The act of carrying out the instructions contained in a program.
Compiler A program that translates a computer program written in one language into an equivalent program in another language (often, but not always, translating into machine language).
Java Virtual Machine (JVM) A theoretical computer whose machine language is the set of Java bytecodes.
Class A unit of code that is the basic building block of Java programs.
Generated by Koofers.com
Java Runtime A program that xecutes compiled Java class files.
Java Class Libraries Java's collection of preexisting code that provides solutions to common programming problems.
IDE Integrated Development Environments
JRE Java Runtime Environment
Generated by Koofers.com
Console Window A special text-only window in which Java programs interact with the user.
Method A program unit that represents a particular action or computation.
Grouping Characters the curly brace characters { and }, used in Java to group together related lines of code.
Statement An executable snippet of code that represents a complete command.
Generated by Koofers.com
Statement Terminator The semicolon character ; used in Java to terminate statements.
Identifier A name gien to an entity in a program, such as a class or method.
Comment Text included by programmers to explain their code. The compiler ignores these.
Decomposition A separation into discernible parts, each of which is simpler than the whole.
Generated by Koofers.com
Iterative Enhancement The process of producing a program in stages, adding new functionality at each stage. A key feature of each step is that you can test it to make sure that piece works before moving on.
Static Method A block of Java statements that is given a name.
Method Call A command to execute another method, which causes all of the statements inside that method to executed.
Flow of Control The order in which the statements of a Java program are executed.
Generated by Koofers.com
Data Type A name for a category of data values that are all related, as in type int in Java that represents integer values.
Expressions A simple value or a set of operations that produces a value.
Evaluation The process of obtaining the value of an expression.
Operator A special symbol (like + or *) used to indicate an operation to be performed on one or more values.
Generated by Koofers.com
Precedence The binding power of an operator, which determines how to group parts of an expression.
Variable A memory location with a name and a type that stores a value.
Declaration A request to set aside a new variable with a given name and type.
String Concatenation Combining several strings into a single string, or combining a string with other data into a new, longer string.
Generated by Koofers.com
Control Structure A syntactic structure that controls other statements.
Scope The part of a program in which a particular declaration is valid.
Local Variable A variable declared inside a method that is accessible only in that method.
Localizing Variables Declaring variables in the innermost (most local) scope possible.
Generated by Koofers.com
Infinite Loop A loop that never terminates.
Pseudocode English-like descriptions of algorithms. Programming with pseudocode involves successively refining an informal description until it is easily translated into Java.
Class Constant A name value that cannot be changed. A class constant can be accessed anywhere in the class (i.e., its scope is the entire class).
Parameter Any of a set of characteristic that distinguish different members of a family of tasks. To parametrize a task is to identify a set of its parameters.
Generated by Koofers.com
Formal Parameter A variable that appears inside parentheses in the header of a method that is used to generalize the method's behavior.
Acutal Parameter A specific value or expression that appears inside parentheses in a method call.
Method Signature The name of a method, along with its number and type of parameters.
Method Overloading The ability to define two or more different methods with the same name but different method signatures.
Generated by Koofers.com
Return To send a value out as the result of a method that can be used in an expression in your program.
Object A prgramming entity that contains state (data) and behavior (methods).
Class A category or type of object.
Index An integer used to specify a location in a sequence of values. Java gerally uses zero-based indexing (with 0 as the first index value, followed by 1, 2, 3, and so on).
Generated by Koofers.com
Exception A runtime error hat prevents program from continuing its normal execution.
Immutable Object An object whose value cannot be changed.
Constructor A method that creates and initializes an object. Objects in Java programs must be constructed before they can be used.
Package A collection of related Java classes.
Generated by Koofers.com
Import Declaration A request to access a specific Java package.
Generated by Koofers.com

List View: Terms & Definitions

  Hide All 53 Print
 
Front
Back
 AlgorithmA step-by-step description of how to accomplish a task.
 ProgramA list of instructions to be carried out by a computer.
 DigitalBased on numbers that increase in discrete increments such as the integers 0, 1, 2, 3, etc.
 Binary NumberA number of just 0s and 1s, also known as a base-2 number.
 Program ExecutionThe act of carrying out the instructions contained in a program.
 CompilerA program that translates a computer program written in one language into an equivalent program in another language (often, but not always, translating into machine language).
 Java Virtual Machine (JVM)A theoretical computer whose machine language is the set of Java bytecodes.
 ClassA unit of code that is the basic building block of Java programs.
 Java RuntimeA program that xecutes compiled Java class files.
 Java Class LibrariesJava's collection of preexisting code that provides solutions to common programming problems.
 IDEIntegrated Development Environments
 JREJava Runtime Environment
 Console WindowA special text-only window in which Java programs interact with the user.
 MethodA program unit that represents a particular action or computation.
 Grouping Charactersthe curly brace characters { and }, used in Java to group together related lines of code.
 StatementAn executable snippet of code that represents a complete command.
 Statement TerminatorThe semicolon character ; used in Java to terminate statements.
 IdentifierA name gien to an entity in a program, such as a class or method.
 CommentText included by programmers to explain their code. The compiler ignores these.
 DecompositionA separation into discernible parts, each of which is simpler than the whole.
 Iterative EnhancementThe process of producing a program in stages, adding new functionality at each stage. A key feature of each step is that you can test it to make sure that piece works before moving on.
 Static MethodA block of Java statements that is given a name.
 Method CallA command to execute another method, which causes all of the statements inside that method to executed.
 Flow of ControlThe order in which the statements of a Java program are executed.
 Data TypeA name for a category of data values that are all related, as in type int in Java that represents integer values.
 ExpressionsA simple value or a set of operations that produces a value.
 EvaluationThe process of obtaining the value of an expression.
 OperatorA special symbol (like + or *) used to indicate an operation to be performed on one or more values.
 PrecedenceThe binding power of an operator, which determines how to group parts of an expression.
 VariableA memory location with a name and a type that stores a value.
 DeclarationA request to set aside a new variable with a given name and type.
 String ConcatenationCombining several strings into a single string, or combining a string with other data into a new, longer string.
 Control StructureA syntactic structure that controls other statements.
 ScopeThe part of a program in which a particular declaration is valid.
 Local VariableA variable declared inside a method that is accessible only in that method.
 Localizing VariablesDeclaring variables in the innermost (most local) scope possible.
 Infinite LoopA loop that never terminates.
 PseudocodeEnglish-like descriptions of algorithms. Programming with pseudocode involves successively refining an informal description until it is easily translated into Java.
 Class ConstantA name value that cannot be changed. A class constant can be accessed anywhere in the class (i.e., its scope is the entire class).
 ParameterAny of a set of characteristic that distinguish different members of a family of tasks. To parametrize a task is to identify a set of its parameters.
 Formal ParameterA variable that appears inside parentheses in the header of a method that is used to generalize the method's behavior.
 Acutal ParameterA specific value or expression that appears inside parentheses in a method call.
 Method SignatureThe name of a method, along with its number and type of parameters.
 Method OverloadingThe ability to define two or more different methods with the same name but different method signatures.
 ReturnTo send a value out as the result of a method that can be used in an expression in your program.
 ObjectA prgramming entity that contains state (data) and behavior (methods).
 ClassA category or type of object.
 IndexAn integer used to specify a location in a sequence of values. Java gerally uses zero-based indexing (with 0 as the first index value, followed by 1, 2, 3, and so on).
 ExceptionA runtime error hat prevents program from continuing its normal execution.
 Immutable ObjectAn object whose value cannot be changed.
 ConstructorA method that creates and initializes an object. Objects in Java programs must be constructed before they can be used.
 PackageA collection of related Java classes.
 Import DeclarationA request to access a specific Java package.