Study sets matching "programming logic design"

Study sets
Classes
Users

Study sets matching "programming logic design"

79 terms
Programming Logic and Design
Input
Data items
Output
Semantic error
Describes the entry of data items into computer memory using…
include all the text, numbers, and other information processe…
- Describes the operation of retrieving information from memo…
occurs when a correct word is used in an incorrect context.
Input
Describes the entry of data items into computer memory using…
Data items
include all the text, numbers, and other information processe…
20 terms
Programming Logic and Design
Snarled program logic is called ______…
The three structures of structured pro…
A sequence structure can contain _____…
Which of the following is not another…
b. spaghetti
c. sequence, selection, and loop
a. any number of tasks
d. loop structure
Snarled program logic is called ______…
b. spaghetti
The three structures of structured pro…
c. sequence, selection, and loop
Programming Logic and Design Midterm
Java Development Kit
Application, Servlet, Applet
Procedural Programs
Object-oriented programs
JDK
3 types of Java Programs
statements that the computer runs to perform a sequence of pr…
made up of a collection of interacting objects
Java Development Kit
JDK
Application, Servlet, Applet
3 types of Java Programs
Chapter 4 - Programming Logic and Design
AND decision
Boolean expression
Cascading if statement
Compound condition
contains two or more conditions, and all conditions must be t…
represents only one of two states, usually expressed as true…
a series of nested if statements.
constructed when you need to ask multiple questions before de…
AND decision
contains two or more conditions, and all conditions must be t…
Boolean expression
represents only one of two states, usually expressed as true…
Chapter 7 - Programming Logic and Design
Ascending order
Backup file
Batch processing
Binary files
describes records placed in order from lowest to highest base…
a copy that is kept in case values need to be restored to the…
involves performing the same tasks with many records, one aft…
contain data that has not been encoded as text.
Ascending order
describes records placed in order from lowest to highest base…
Backup file
a copy that is kept in case values need to be restored to the…
Chapter 6 - Programming Logic and Design
Array
Binary search
Element
Flag
a series or list of values in computer memory, all of which h…
a search that starts in the middle of a sorted list and then…
a single data item in an array.
a variable that you set to indicate whether some event has oc…
Array
a series or list of values in computer memory, all of which h…
Binary search
a search that starts in the middle of a sorted list and then…
Chapter 8 - Programming Logic and Design
Addresses
Algorithm
Bubble sort
Index
identify computer memory and storage locations.
a list of instructions that accomplishes a task.
a sort in which you arrange records in either ascending or de…
to store a list of key fields paired with the storage address…
Addresses
identify computer memory and storage locations.
Algorithm
a list of instructions that accomplishes a task.
Chapter 14 - Programming Logic and Design
Alternate keys
Anomaly
Atomic attributes
Atomic transactions
the remaining candidate keys after you choose a primary key.
an irregularity in the design of a database that causes probl…
as small as possible so as to contain an undividable piece of…
appear to execute completely or not at all.
Alternate keys
the remaining candidate keys after you choose a primary key.
Anomaly
an irregularity in the design of a database that causes probl…
Chapter 5 - Programming Logic and Design
Accumulator
Counted loop or counter-controlled loop
Counter
Decrement
a variable that you use to gather or accumulate values.
a loop whose repetitions are managed by a counter.
any numeric variable you use to count the number of times an…
to decrease a variable by a constant value, frequently 1.
Accumulator
a variable that you use to gather or accumulate values.
Counted loop or counter-controlled loop
a loop whose repetitions are managed by a counter.
Chapter 13 - Programming Logic and Design
Activity diagram
Aggregation
Association relationship
Behavior diagrams
a UML diagram that shows the flow of actions of a system, inc…
a whole-part relationship in which the part or parts can exis…
describes the connection or link between objects in a UML dia…
emphasize what happens in a system.
Activity diagram
a UML diagram that shows the flow of actions of a system, inc…
Aggregation
a whole-part relationship in which the part or parts can exis…
Chapter 11 - Programming Logic and Design
Abstract class
Ancestors
Base class
Catch an exception
a class from which you cannot create any concrete objects, bu…
the entire list of parent classes from which the class is der…
one that is used as a basis for inheritance.
to receive an exception from a throw so it can be handled.
Abstract class
a class from which you cannot create any concrete objects, bu…
Ancestors
the entire list of parent classes from which the class is der…
Chapter 10 - Programming Logic and Design
Abstract data type (ADT)
Access specifier
Accessor method
Attributes
a programmer-defined type such as a class.
the adjective that defines the type of access outside classes…
gets values from class fields.
the characteristics that define an object as part of a class.
Abstract data type (ADT)
a programmer-defined type such as a class.
Access specifier
the adjective that defines the type of access outside classes…
Chapter 9 - Programming Logic and Design
Actual parameters
Ambiguous methods
Argument to the method
Black box
the arguments in a method call.
those that the compiler cannot distinguish because they have…
a value passed to a method in the call to the method.
an analogy that programmers use to refer to hidden method imp…
Actual parameters
the arguments in a method call.
Ambiguous methods
those that the compiler cannot distinguish because they have…
Chapter 3 - Programming Logic and Design
Block
Dual
End-structure statement
Goto-less programming
a group of statements that executes as a single unit.
alternative ifs (or dual-alternative selections) define one a…
designates the end of a pseudocode structure.
a name to describe structured programming, because structured…
Block
a group of statements that executes as a single unit.
Dual
alternative ifs (or dual-alternative selections) define one a…
Chapter 2 - Programming Logic and Design
Abstraction
Alphanumeric values
Annotation symbol
Assignment operator
the process of paying attention to important properties while…
can contain alphabetic characters, numbers, and punctuation.
contains information that expands on what appears in another…
the equal sign; it is used to assign a value to the variable…
Abstraction
the process of paying attention to important properties while…
Alphanumeric values
can contain alphabetic characters, numbers, and punctuation.
Programming Logic and Design
The smallest storage location in a com…
True/False: Most programs written in a…
True/False: The CPU understands instru…
True/False: The term "software" refers…
E) bit
B) False
A) True
B) False
The smallest storage location in a com…
E) bit
True/False: Most programs written in a…
B) False
71 terms
Programming Logic and Design Chapter 1
Hardware
Software
Programs
Programming
the set of physical devices on a computer system
is the set of instructions written by programmers that tell t…
are the sets of xecutable instructions written by programmers
is the act of writing software instructions
Hardware
the set of physical devices on a computer system
Software
is the set of instructions written by programmers that tell t…
49 terms
Programming Logic & Design
A __________-controlled loop uses a tr…
A __________-controlled loop repeats a…
Each repetition of a loop is known as…
The While loop is a __________ type of…
condition
count
iteration
pretest
A __________-controlled loop uses a tr…
condition
A __________-controlled loop repeats a…
count
19 terms
Programming Logic and Design CH 4
AND decision
Boolean expression
cascading if statement
compound condition
contains two or more decisions; all conditions must be true f…
expression that represents only one of two states, usually ex…
a series of nested if statements
is constructed when you need to ask multiple questions before…
AND decision
contains two or more decisions; all conditions must be true f…
Boolean expression
expression that represents only one of two states, usually ex…
45 terms
Programming Logic and Design CH 7
ascending order
backup file
batch processing
binary files
describes records placed in order from lowest to highest base…
a copy that is kept in case values need to be restored to the…
involves performing the same tasks with many records, one aft…
contain data that has not been encoded as text
ascending order
describes records placed in order from lowest to highest base…
backup file
a copy that is kept in case values need to be restored to the…
20 terms
Programming Logic and Design CH 5
accumulator
counted loop (counter-controlled loop)
counter
decrement
a variable that you use to gather or accumulate values
a loop whose repetitions are managed by a counter
any numeric variable you use to count the number of times an…
to decrease a variable by a constant value, frequently 1
accumulator
a variable that you use to gather or accumulate values
counted loop (counter-controlled loop)
a loop whose repetitions are managed by a counter
12 terms
Programming Logic and Design CH 6
array
binary search
element
flag
a series or list of values in computer memory, all of which h…
is one that starts in the middle of a sorted list, and then d…
a single data item in an array
a variable that indicates whether some event has occurred
array
a series or list of values in computer memory, all of which h…
binary search
is one that starts in the middle of a sorted list, and then d…
71 terms
Programming Logic and Design CH2
abstraction
alphanumeric values
annotation symbol
assignment operator
the process of paying attention to important properties while…
a value containing alphabetic characters, numbers, and punctu…
contains information that expands on what appears in another…
the equal sign; it is used to assign a value to the variable…
abstraction
the process of paying attention to important properties while…
alphanumeric values
a value containing alphabetic characters, numbers, and punctu…
Programing Logic and Design Notecards
accumulator
counted loop (counter-controlled loop)
counter
decrement
a variable that you use to gather or accumulate values
a loop whose repetitions are managed by a counter
any numeric variable you use to count the number of times an…
to decrease a variable by a constant value, frequently 1
accumulator
a variable that you use to gather or accumulate values
counted loop (counter-controlled loop)
a loop whose repetitions are managed by a counter
Chapter 12 - Programming Logic and Design
Accessibility
Animation
Container
Deadlock
describes the screen design concerns that make programs easie…
the rapid sequence of still images, each slightly different f…
a class of objects whose main purpose is to hold other elemen…
a flaw in multithreaded programs in which two or more threads…
Accessibility
describes the screen design concerns that make programs easie…
Animation
the rapid sequence of still images, each slightly different f…
Programming Logic & Design: Decision Structures and Boolean Logic
decision structure
control structure
sequence structure
selection structure
allows a program to perform actions only under certain condit…
a logical design that controls the order in which a set of st…
a set of statements that execute in the order that they appear
another name for a decision structure
decision structure
allows a program to perform actions only under certain condit…
control structure
a logical design that controls the order in which a set of st…
36 terms
Ch 9: Joyce Farrell Programming Logic and Design
actual parameters
ambiguous methods
argument to a method
black box
the arguments in a method call
methods that the compiler cannot distinguish because they hav…
a value passed to a method in the call to the method
the analogy programmers use to refer to hidden method impleme…
actual parameters
the arguments in a method call
ambiguous methods
methods that the compiler cannot distinguish because they hav…
32 terms
Programming Logic & Design Chapter 2
initializing
garbage
True
string
Declaring a starting value is known as ____ the variable.
A variable's unknown value is commonly called ____.
(True/False) Variable names should have some appropriate mean…
A(n) ____ variable can hold text, such as letters of the alph…
initializing
Declaring a starting value is known as ____ the variable.
garbage
A variable's unknown value is commonly called ____.
Chapter 1 Vocabulary - Programming Logic and Design
Algorithm
Application software
Binary language
Central processing unit (CPU)
the sequence of steps necessary to solve any problem.
comprises all the programs you apply to a task.
machine language represented using a series of 0s and 1s.
the hardware component that processes data.
Algorithm
the sequence of steps necessary to solve any problem.
Application software
comprises all the programs you apply to a task.
20 terms
Ch 4 Review Questions Programming Logic and Design
The structure that allows you to write…
Every structured loop_______.... a. Has…
Which of the following is not a step t…
The statements executed within a loop…
C. Loop
a. Has one entry point
b. Set the loop control value equal to a sentinel during each…
a. Loop body
The structure that allows you to write…
C. Loop
Every structured loop_______.... a. Has…
a. Has one entry point
19 terms
Ch 5 Review Questions Programming Logic and Design
A subscript is an... a. Element in an ar…
Each variable in an array must have th…
Each data item in an array is called a…
The subscripts of any array are always…
d. Number that indicates the position of an array element
a. data type
d. element
a. integers
A subscript is an... a. Element in an ar…
d. Number that indicates the position of an array element
Each variable in an array must have th…
a. data type
21 terms
Programming Logic and Design Theorems
X+0
X+1
X+X
(X')'
X
1
X
X
X+0
X
X+1
1
Programming Logic and Design Chapter 4
Boolean Expression
if-then
if-then clause
Else clause
A _______ __________ is one that represents only one of two s…
An __-____ decision structure that contains a tested Boolean…
The __-____ ______ holds the statements that executes when th…
The ____ _____holds the statements that execute only when the…
Boolean Expression
A _______ __________ is one that represents only one of two s…
if-then
An __-____ decision structure that contains a tested Boolean…
20 terms
Programming Logic and Design
Snarled program logic is called ______…
The three structures of structured pro…
A sequence structure can contain _____…
Which of the following is not another…
b. spaghetti
c. sequence, selection, and loop
a. any number of tasks
d. loop structure
Snarled program logic is called ______…
b. spaghetti
The three structures of structured pro…
c. sequence, selection, and loop
72 terms
Chapter 2 Programming Logic and Design
Numeric
Strings
Integer
Floating-point
Data that consists of numbers
Data that is nonnumeric
A whole number
A number with decimal places
Numeric
Data that consists of numbers
Strings
Data that is nonnumeric
Programming Logic and Design Chapter 3
Spaghetti code
Structured programs
Unstructured programs
Structure
Snarled, unstructured program logic
Programs that do follow the rules of structured logic
programs that do not follow the rules of structured logic
A basic unit of programming logic each structure is a sequenc…
Spaghetti code
Snarled, unstructured program logic
Structured programs
Programs that do follow the rules of structured logic
Programming Logic and Design Chapter 9 Vocab
Method
Client
Method Header
Method body
a program module that contains a series of statements that ca…
a program or other method that uses the method
precedes a method; includes the method identifier and possibl…
contains all the statements in the method
Method
a program module that contains a series of statements that ca…
Client
a program or other method that uses the method
21 terms
Programming Logic and Design CH3
block
dual-alternative ifs (dual-alternative…
end-structure statement
goto-less programming
a group of statements that executes as a single unit
define one action to be taken when the tested condition is tr…
designates the end of a pseudocode structure
a name to describe structured programming, because structured…
block
a group of statements that executes as a single unit
dual-alternative ifs (dual-alternative…
define one action to be taken when the tested condition is tr…
21 terms
Chapter 3 Programming Logic and Design
Spaghetti code
Unstructured programs
Structured programs
Structure
Snarled, unstructured program logic
Programs that DO NOT follow the rules of structured logic
Programs that DO follow the rules of structured logic
Basic unit of programming logic; each structure us a sequence…
Spaghetti code
Snarled, unstructured program logic
Unstructured programs
Programs that DO NOT follow the rules of structured logic
30 terms
Programming Logic & Design: Decision Structures and Boolean Logic
decision structure
control structure
sequence structure
selection structure
allows a program to perform actions only under certain condit…
a logical design that controls the order in which a set of st…
a set of statements that execute in the order that they appear
another name for a decision structure
decision structure
allows a program to perform actions only under certain condit…
control structure
a logical design that controls the order in which a set of st…
49 terms
Programming Logic and Design: Chapter 2 Key Terms
application
method
main method
identifier
is a program that you execute to accomplish some task
is a named set of statements that performs some taks or group…
is an application's primary methhod
is the name of a programming object such as a class, method o…
application
is a program that you execute to accomplish some task
method
is a named set of statements that performs some taks or group…
45 terms
Ch 7 Joyce Farrell Programming Logic and Design
ascending order
backup file
batch processing
binary files
describes records placed in order from lowest to highest base…
a copy that is kept in case values need to be restored to the…
involves performing the same tasks with many records, one aft…
contain data that has not been encoded as text
ascending order
describes records placed in order from lowest to highest base…
backup file
a copy that is kept in case values need to be restored to the…
69 terms
Chapter 1 Programming Logic and Design
Computer system
Hardware
Software
Programs
A combo of all the components to process and store data
The collection of physical devices that make a computer system
The programs that tell the computer what to do
Sets of instructions for a computer
Computer system
A combo of all the components to process and store data
Hardware
The collection of physical devices that make a computer system
71 terms
Programming Logic and Design Chapter 1
Hardware
Software
Programs
Programming
the set of physical devices on a computer system
is the set of instructions written by programmers that tell t…
are the sets of xecutable instructions written by programmers
is the act of writing software instructions
Hardware
the set of physical devices on a computer system
Software
is the set of instructions written by programmers that tell t…
45 terms
Programming Logic and Design Chapter 7 key terms
ascending order
backup file
batch processing
binary files
describes records placed in order from lowest to highest base…
a copy that is kept in case values need to be restored to the…
involves performing the same tasks with many records, one aft…
contain data that has not been encoded as text
ascending order
describes records placed in order from lowest to highest base…
backup file
a copy that is kept in case values need to be restored to the…
Programming Logic and Design Chapter 3
Spaghetti Code
Unstructured Programs
Structured Programs
Structure
__________ ____ is snarled, unstructured program logic
____________ ________ are programs that do not follow the rul…
__________ ________ are programs that do follow the rules of…
A _________ is a basic unit of programming logic; each struct…
Spaghetti Code
__________ ____ is snarled, unstructured program logic
Unstructured Programs
____________ ________ are programs that do not follow the rul…
66 terms
Programming Logic and Design Ch.1 terms
Computer System
Hardware
Software
Programs
A combination of all the components required to process and s…
Collection of the physical devices that comprise a computer s…
consists of the programs that tells the computer what to do.
are sets of instructions for a computer
Computer System
A combination of all the components required to process and s…
Hardware
Collection of the physical devices that comprise a computer s…
Programming Logic and Design Chapter 3
Spaghetti code
Structured programs
Unstructured programs
Structure
Snarled, unstructured program logic
Programs that do follow the rules of structured logic
programs that do not follow the rules of structured logic
A basic unit of programming logic each structure is a sequenc…
Spaghetti code
Snarled, unstructured program logic
Structured programs
Programs that do follow the rules of structured logic
Programming Logic and Design Chapter 6
Array
Element
Size of the array
Subscript/index
An _____ is a series or list of values in computer memory, al…
An _______ is a single data item in an array
The ____ __ ___ _____ is the number of elements it can hold
A _________, also called an _____, is a number that indicates…
Array
An _____ is a series or list of values in computer memory, al…
Element
An _______ is a single data item in an array
Programming Logic and Design Chapter 5
Loop Control Variable
Definite Loop
Counted Loop/ Counter-Controlled Loop
Increment
A variable that determines whether a loop will continue
One for which the number of repetitions is a predetermined va…
A loop whose repetitions are manged by a counter
To _________ a variable is to add a constant value to it, fre…
Loop Control Variable
A variable that determines whether a loop will continue
Definite Loop
One for which the number of repetitions is a predetermined va…
1 of 10