Professional Documents
Culture Documents
Agenda
Basic
concepts
Control
Structures
Operators
Arrays
Basic concepts
Algorithm
Flow diagram
Pseudo code
Finite
Deterministic
Precision
Pseudo Code
Flow diagram
chart
UML activity
diagram
Human readable
Can easily be converted to any
programming language
Tape
Document
Input or
output
Begin or End
Process, task,
action, or operation
We are used to represent
processes flows
Page
connector
Subroutine
or function
Connector
Decision
Data
Storage
Activities
Decisions
Start (split) or end (join) of
concurrent activities
The start (initial state) of the
workflow
The end (final state).
Control Structures
Sequence Structure
Selection Statements
Repetition Statements
Control Structures
selection
repetition
if
while
ifelse
dowhile
switch
for
Sequence structure
IF Selection Statement
Do not forget
Indent both body
statements of an if
else statement.
1
Always using braces in an ifelse (or
other) statement helps prevent their
accidental omission
I like my code !!
ALT + Maysculas + F
Eclipse
NetBeans
CTRL + SHIFT + F
????
?
Basic programming review
Break
Continue
Summary
Operators
Logical Operators
Assignment Operators
Increment and Decrement Operators
Logical Operators
Assignment Operators
Arrays
or
????
??
Basic programming review
????
??
Multidimensional
array use example
Method 1
(function)
Method 2
(function)
Class Exercise
1. Do the Eclipse HelloWord!! or NetBeans HelloWord!!
2. Modify the Multidimensional array use example code in
order to:
print the main diagonal of the next two
multidimensional arrays
1
Numbers
array
Letters
array
Basic programming review
References