CFP Flashcards
is a process of designing or creating a program
programming
is a person who writes the program
programmer
A step by step instructions that directs a computer to perform a specific tasks and to produce the required tasks
program
Language that are used for
Writing games
writing application programs
programming language
two types of programming language
low level language’
high level language
machine dependent and not portable
low level language
two types of low level language
machine and assembly language
first generation
only language that computer recognizes
use series of binary digits
machine language
machine language disadvantages
second generation of programming language
using symbolic instruction codes
a- addition
c- compare
l- load
m- multiply
assembly language
it is portable
instructions are quite english
must be converted to machine language
high level language
program that translates the source program into the object program
translator program
program written in a high level programming languag
Source program
source program after it had been translated into machine language
object program
converts program written in assembly language to machine code
Assembler
translates one high level program instructions at a time into machine code
interpreter
convert all of the source program into object program
compiler
is the abstract idea of solving a problem
step by step instructions that will transform input into output
can be represented using pseudo or flow
algorithm
rrrrr
is a series of statements that
execute one after another
sequence
rrrrrrr
execute depending on certain conditions
selection (branch)
rrrrrr
repeat statements while certain conditions are met
looping (repetition)
used to develop algorithms
rrrr
usually referred as false code
similar to everyday english
Pseudo code
graphical representation of algorithms
special purpose symbols connected by arrows
Flow chart
flowcharting structures
Sequence
Selection
Repetition
at the beginning
pre test loop
at the end
post test loop
construct of pre test also known as
guarded loop
executes the body of the loop before the testing the termination condition
repetition post test
are executed at least once
post test loop
may never be executed the termination condition is originally true
pre test loop
benefits of flow chart
mAKES LOgic clear
communication
effective analysis
useful in coding
proper testing and debugging
appropriate and documentation
limitations of flow chart
complex
costly
difficult to modify
no update