D278 EXAMINATION QUESTIONS AND ANSWERS
A loop consisting of a loop variable initialization, a loop expression, and a loop variable update
that typically describes iterating for a specific number of times. - for Loop
First step in the waterfall approach. Defines a program's goals. - Analyst to Design
The progress of writing, compiling, and testing a small amount of code, then writing, compiling,
and testing a small amount more (an incremental amount), and so on. - Incremental
development
A function input specified in a function definition. - parameter
A number with a fractional part, even if that fraction is 0. - Floating-point literal
used to run a program's statements - interpreter
The second step in the waterfall approach of SDLC. Defines specifics of a program. -
Analysis- Design-Implement
Text (characters) within double quotes. - String Literal
A program performs computations on that data, such as adding two values like x + y. -
Process
Modeling language for software design that uses different types of diagrams to visualize the
structure and behavior of programs. - Universal Modeling Language
A graphical language for creating computer programs. - flowchart
A program can be built by doing small amounts of each SDLC phases in sequence, then
repeating. - Agile or spiral approach
A function may return one value and does so by assigning a return variable with the return
value. - Return variable
Supports decomposing a program into objects. - object-oriented language
Each element's location number of an array. - Index
A loop that repeatedly executes the loop body while the loop's expression evaluates to true. -
while loop
, Any function input values that appear within ( ), and are separated by commas if more than
one. - Arguments
Engineers have reduced switch sizes by half about every 2 years. - Moore's Law
Can be a number, a variable name (numApples), or a simple calculation like (numApples + 1). -
Expression
Dividing a nonzero floating-point number by zero. - Infinity or -Infinity
American Standard Code for Information Interchange. Code that is the numerical representation
of a character. Ex. Z would be stored in a computer as 1011010. - ASCII
A list of statements, each statement carrying out some action and executing one at a time. -
Program
Statement that returns the specified value and immediately exits the function. - return
statement
An invocation of a function's name, causing the function's statements to execute. -
function call
Any letter (a-z, A-Z), digit (0-9), or symbol (~, !, @, etc.). - Characters
A single 0 or 1. - bit
A decision and its two branches. IF the decision's expression is true then the first branch
executes, ELSE the second branch executes. - If-else
A program construct that repeatedly executes the loop's statements (known as loop body). -
Loop
interaction between software components and order of events - sequence diagram
Type that has just two values: true or false. - Boolean
Used by programs to refer to data. It is a named item, used to hold a value. - variable
A conversion of one data type to another, such as an integer to a float. - Type conversion
Checks whether two operands' values are the same (==) or different(!=). - Equality
operator
A program written in a compiled language is first converted by a tool (compiler) into machine
code, which can run on a particular machine. Ex. C, C++, and Java. - compiled language
A loop consisting of a loop variable initialization, a loop expression, and a loop variable update
that typically describes iterating for a specific number of times. - for Loop
First step in the waterfall approach. Defines a program's goals. - Analyst to Design
The progress of writing, compiling, and testing a small amount of code, then writing, compiling,
and testing a small amount more (an incremental amount), and so on. - Incremental
development
A function input specified in a function definition. - parameter
A number with a fractional part, even if that fraction is 0. - Floating-point literal
used to run a program's statements - interpreter
The second step in the waterfall approach of SDLC. Defines specifics of a program. -
Analysis- Design-Implement
Text (characters) within double quotes. - String Literal
A program performs computations on that data, such as adding two values like x + y. -
Process
Modeling language for software design that uses different types of diagrams to visualize the
structure and behavior of programs. - Universal Modeling Language
A graphical language for creating computer programs. - flowchart
A program can be built by doing small amounts of each SDLC phases in sequence, then
repeating. - Agile or spiral approach
A function may return one value and does so by assigning a return variable with the return
value. - Return variable
Supports decomposing a program into objects. - object-oriented language
Each element's location number of an array. - Index
A loop that repeatedly executes the loop body while the loop's expression evaluates to true. -
while loop
, Any function input values that appear within ( ), and are separated by commas if more than
one. - Arguments
Engineers have reduced switch sizes by half about every 2 years. - Moore's Law
Can be a number, a variable name (numApples), or a simple calculation like (numApples + 1). -
Expression
Dividing a nonzero floating-point number by zero. - Infinity or -Infinity
American Standard Code for Information Interchange. Code that is the numerical representation
of a character. Ex. Z would be stored in a computer as 1011010. - ASCII
A list of statements, each statement carrying out some action and executing one at a time. -
Program
Statement that returns the specified value and immediately exits the function. - return
statement
An invocation of a function's name, causing the function's statements to execute. -
function call
Any letter (a-z, A-Z), digit (0-9), or symbol (~, !, @, etc.). - Characters
A single 0 or 1. - bit
A decision and its two branches. IF the decision's expression is true then the first branch
executes, ELSE the second branch executes. - If-else
A program construct that repeatedly executes the loop's statements (known as loop body). -
Loop
interaction between software components and order of events - sequence diagram
Type that has just two values: true or false. - Boolean
Used by programs to refer to data. It is a named item, used to hold a value. - variable
A conversion of one data type to another, such as an integer to a float. - Type conversion
Checks whether two operands' values are the same (==) or different(!=). - Equality
operator
A program written in a compiled language is first converted by a tool (compiler) into machine
code, which can run on a particular machine. Ex. C, C++, and Java. - compiled language