Upload
coleen-gatus
View
199
Download
0
Embed Size (px)
Citation preview
*Property of STI I0050
PROGRAMMING FUNDAMENTALS
Flowchart
Algorithm Programming Cycle
Pseudocode
Software Development Life Cycle
1 __________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
A methodology used to develop, maintain, and replace information systemsImproves the quality of the software design and development processImportance of SDLC
To create good systems designA guide in systems development
2 _________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
Planning
Analysis
Design
Implementation
Maintenance
3 __________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
Initial stage in the SDLCIncludes the information about the requirements for the proposed software Known as the feasibility study phase
“In the first phase of the SDLC, the organization’s total information
system needs are identified, analyzed, prioritized, and arranged.”
4 _________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
Requires the analyst to thoroughly study the current procedures or software usedThe main goal is to identify the requirements
“This phase studies the current system and produces proposed alternatives or replacements.”
5 __________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
The developer translates into actual design or specifications of the softwareDevelopment of the software: covering the input and output screens to reports, databases, and computer process
6 _________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
CodingCreation of the actual program
TestingPerforms quality testing
InstallationSlowly or completely replaces the old software
7 __________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
To remove found errorsSoftware is systematically repaired and improved
8 _________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
Suggests that prior to proceeding to next phase, the current phase should be finished first
9 __________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
Allows overlap between phases
Allows phases to repeat, if necessary
MAINTENANCE
IMPLEMENTATION
DESIGN
ANALYSIS
PLANNING
PLANNINGANALYZE DESIGN
IMPLEMENTMAINTAIN SYSTEM
ANALYZE DESIGN
IMPLEMENT
10 ________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
11 _________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
A step-by-step problem-solving procedureFinite sequence of stepsA specific set of well-defined, simple mathematical and logical procedures
12 ________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
Guide to a good Algorithm1. Specify each step or instruction exactly2. There must be a finite number of steps3. There must be an output
13 _________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
Generic way of describing an algorithmModels and resembles real programming code
while not at end of listcompare adjacent elementsif second is greater than firstswitch them get next two elementsif elements were switchedrepeat for entire list
14 ________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
A chart that contains symbols describing how the program performs
A graphic map of the path of control or data
Uses symbols such as squares, diamonds, and ovals to represent various operations
15 _________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
Terminal block
Process block
Input/output block
Decision block
Initialization block
Connector
Flow Lines
16 ________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
Indicated by straight lines with arrowsArrowhead is sometimes not shownUsed to connect blocks
17 _________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
Ovals or rounded rectangles used to indicate the start and the end
START
END
18 ________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
The hexagon used for declaring / initializing variablesDeclarationInitialization
X = 10Y = 25
19 _________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
The rectangle indicates a processing blockOne entrance and one exit
X = Y + ZA = 18
B = A - 2
20 ________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
The parallelogram indicates input to and output operationsOne entrance and only one exit
Get X Display X
21 _________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
The diamond indicates a decisionOne entrance and exactly two exits from the block
Action when TRUE
Condition
Action when FALSE
FT
22 ________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
The circle is used as a connection point between two sections not adjacent or closely located to each otherEnhance readability
A
A
23 _________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________
*Property of STI I0050
Create a flowchart that displays your age five years from now assuming that your present age is 18.
Stop
Display Age
Age = Age + 5
Age = 18
Start
24 ________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________ ___________________________
*Property of STI I0050
Create a flowchart that will increase the value of x by 5 if x is less than 10 then, display the result; otherwise no action shall be done
Start
x = 0
x < 10?
x = x + 5
Display x
Stop
Get x
Yes No
25 _________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________ ____________________________