Professional Documents
Culture Documents
A. Introduction:
In this module, a brief overview of Systems Development Life Cycle will be discussed
which will guide you as future programmer in developing a simple to complex systems.
B. Objectives:
C. Learning Content:
Systems Development Life Cycle
D. Pre-Test:
1. What is a system? And give an example of a system.
2. What do you think are the steps in developing a system?
E. Learning Activities:
A system is a set of building blocks that interact to achieve a goal. The systems
development life cycle (SDLC) is the process of understanding how an information system (IS)
can support business needs, analyzing and designing the system, developing and delivering it to
the end‐users. The SDLC is broken down to the following phases: Systems Planning, Systems
Analysis, Design Phase, System Implementation and Systems Operations, Support and Security.
FCU_CC3_Programming2 1
PHASE 1: Systems Planning
The systems planning phase usually starts with a formal request from end‐users, called a
system request that describes problems or desired changes in an information system or business
process. At the end of the investigation, the analyst prepares the preliminary investigation report
and makes recommendations.
Pseudocode
Pseudocode is a compact and informal high‐level description of the operating principle of a
computer program or other algorithm. It uses the structural conventions of a programming
language, but is intended for human reading rather than machine reading. It allows the designer
to focus on the logic of the algorithm without being distracted by details of language syntax. At
the same time, the pseudocode needs to be complete. It describes the entire logic of the
algorithm so that implementation becomes a rote mechanical task of translating line by line into
source code.
FCU_CC3_Programming2 2
Binary choice on a given Boolean Condition
(IF, THEN, ELSE, and ENDIF) The general form is:
IF condition THEN
sequence 1
ELSE
sequence 2
ENDIF
Example:
IF HoursWorked > NormalMax THEN
Display overtime message
ELSE
Display regular time message
ENDIF
WHILE
The WHILE construct is used to specify a loop with a test at the top. The beginning and
ending of the loop are indicated by two keywords WHILE and ENDWHILE.
WHILE condition
sequence
ENDWHILE
The loop is entered only if the condition is true.The "sequence" is performed for each
iteration. At the conclusion of each iteration, the condition is evaluated and the loop continues
as long as the condition is true.
CASE
A CASE construct indicates a multi‐way branch based on conditions that are mutually
exclusive. Four keywords, CASE, OF, OTHERS, and ENDCASE, and conditions are used to
indicate the various alternatives. The general form is:
The OTHERS clause with its default sequence is optional. Conditions are normally
numbers or characters indicating the value of "expression", but they can be English statements
FCU_CC3_Programming2 3
or some other notation that specifies the condition under which the given sequence is to be
performed. A certain sequence may be associated with more than one condition.
Example:
REPEAT‐UNTIL
This loop is similar to the WHILE loop except that the test is performed at the bottom of the
loop instead of at the top. Two keywords, REPEAT and UNTIL are used. The general form is:
REPEAT
sequence
UNTIL condition
The "sequence" in this type of loop is always performed at least once, because the test is
performed after the sequence is executed. At the conclusion of each iteration, the condition is
evaluated, and the loop repeats if the condition is false. The loop terminates when the condition
becomes true.
FOR
This loop is a specialized construct for iterating a specific number of times, often called a
"counting" loop. Two keywords, FOR and ENDFOR are used. The general form is:
FOR iteration bounds
sequence
ENDFOR
In cases where the loop constraints can be obviously inferred it is best to describe the loop
using problem domain vocabulary.
Example:
FOR each month of the year (good)
FOR each faculty in the list (good)
FOR year = 1991 to 2011 (ok)
FCU_CC3_Programming2 4
Flow Charting
The flowchart is a means of visually presenting the flow of data through an information
processing systems, the operations performed within the system and the sequence in which they
are performed. The program flowchart can be likened to the blueprint of a building. As we know
a designer draws a blueprint before starting construction on a building. Similarly, a programmer
prefers to draw a flowchart prior to writing a computer program. As in the case of the drawing
of a blueprint, the flowchart is drawn according to defined rules and using standard flowchart
symbols prescribed by the American National Standard Institute, Inc.
Different flow chart symbols have different meanings. The most common flow chart
symbols are:
Terminator: An oval flow chart shape indicating the start or end of the process.
Process: A rectangular flow chart shape indicating a normal process flow step.
Decision: A diamond flow chart shape indication a branch in the process flow.
Connector: A small, labeled, circular flow chart shape used to indicate a jump in the process
flow.
Data: A parallelogram that indicates data input or output (I/O) for a process.
Document: used to indicate a document or report (see image in sample flow chart below).
System Construction
After designing the new system, the whole system is ready to be translated from program
specifications into computer instructions using a programming language of choice. This process
is known as coding.
System Testing
After the system is built, it is then tested to ensure it performs as designed. A test plan
should be developed and run on a given set of test data. The output of the test run should match
the expected results. Test to be performed: Unit Test, Integration Test and System Test.
Installation
After testing the system is tested, it will be deployed to the client and be used by the
end‐users.
FCU_CC3_Programming2 5
Training Plan
Training Plan includes detailed instructions on how to use the new system and help manage
the changes caused by the new system.
System Test
Post‐implementation evaluations verify that the new system meets specified requirements,
complies with user objectives, and produces the anticipated benefits.
F. Assessment:
1. Write an algorithm and a flowchart to input the number of hours work, and the hourly rate.
Compute and display the salary.
2. Write an algorithm and a flowchart that inputs the number of units, tuition fee per unit, and the
miscellaneous fee. Compute and display the total fees.
C. Case Study:
FCU_CC3_Programming2 6
G. References:
https://press.rebus.community/programmingfundamentals/chapter/systems-development-life-cy
cle/
https://beginnersbook.com/2013/05/java-introduction/
https://www.tutorialspoint.com/java/java_tutorial.pdf
https://beginnersbook.com/2013/05/java-introduction/
http://sd.blackball.lv/library/Java_Programming_8th_Edition_(2015).pdf
Instructional Manual on JAVA Programming Language by: John M. Parra
FCU_CC3_Programming2 7