Unit 10: Behind the Scenes: Software programming Flashcards
macros?
a modern software app that lets you automate featues using custom-built mini-programs
information system?
data, people, procedures, hardware, and software that helps in planning and decision making
SDLC?
system development life cycle - allows software apps to be available for multiple OSs, to work in a network, and to be error-free
6 steps of SDLC
- problem and opportunity identification
- analysis - explore problem/opportunity and develop a program specification
- design the program using a data-flow chart
- develop the program
- test the program and install it for official use
- maintain and evaluate the program’s progress
program specification?
a clear statement of the goals and objective of the project
data-flow chart?
traces all data in an information system from entry to exit point
scope creep?
changing set of requests from clients for additional features as they wait longer and longer to see a working prototype
programming?
the process of translating a task into a series of commands that a computer will use to perform that task
PDLC?
program development life cycle - the process to developing a program
5 steps for PDLC?
- describes the problem - what problem is the program supposed to solve
- plan the program’s algorithm
- translate the algorithm into programming code
- debug code
- test and document the program
algorithm?
the steps needed to complete a task
problem statement?
describes the tasks the program must do and how it will execute those tasks
what are the 3 things relevant to creating a useful program?
- data input from the user
- information output the user requires
- the method of converting the data into useful information
error handling?
a part of the program statement that establishes what the program should do if an input is invalid
testing plan?
take a list of input numbers that users would typically enter and provides a list of ideal output values should
2 ways programmers represent algorithms?
- flowcharts - a visual representation
2. Pseudocode - textual approach
what does each symbol represent in a flowchart
a) diamond
b) rectangle
c) parallelogram
d) oval
e) directed line - arrow
a) binary decision - yes or n
b) process - indicates an instruction to follow
c) input/output - data read or printed
d) terminate - end of a program
e) direction of flow - shows the direction of the path
decision points?
places, where the program must choose, form a list of actions based on the value of a certain input
2 types of decision points
- binary - can either answer yes or no - fork in the road
2. loop - asks the question again after it has been answered and the task has been completed
test condition for loop decision?
checks to see if the loop is completed and the number of times is correct
control structures?
key words in a programing language that allows the programmer to direct the flow of the program based on a decision
2 ways programmers create algorithms for specific tasks
- top-down design - where problems are broken into a series of high-level tasks
- object-orientated analysis - where programmers identify all the classes that are part of the problem
class?
category of an input defined by data and methods
what are the 2 ways classes are identified?
- by their info/data
2. by their actions
object?
an example of a class
reusability?
the ability to reuse existing classes form one project for another project
syntax?
an agreed-upon set of rules defining how a language must be structured
code statement?
sentences in a code
Syntax errors?
a violation of the syntax rules
data types?
the type of data being stored
operator?
coding symbols that represent fundamental actions of a language
inheritance?
when a new class can automatically pick up all the data and methods of an existing class and can extend/customize them as they see fit
base class?
the original class
derived class?
modified class
coding?
translating an algorithm into programing language
programming language?
a code for the set of instructions the CPU knows how to perform
5 major categories of programming language
- 1 GL
- 2GL
- 3GL
- 4GL
- 5GL
1GL?
first-generation language - machine language
machine language?
binary code
2GL
second-generation language - assembly language
assembly language?
enables programmers to write using short English-like commands