Save
Computer science unit 1
Program construction
Problems that may occur in programming code
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Oliver
Visit profile
Cards (6)
Syntax
An
error
that occurs when a
command
does not
follow
the
expected syntax
of the
language
, e.g. when a
keyword
is
incorrectly spelt.
Runtime
/
execution
An
error
that only
occurs
when the
program
is
running
and is
difficult
to
foresee
before a
program
is
compiled
and
run.
Logical
An
error
that
causes
a program to
output
an
incorrect
answer
Linking
An
error
that
occurs
when a
programmer
calls a
function
within a
program
and the
correct library
has not been
linked
to that
program.
Rounding
Is when a
number
is
approximated
to
nearest
whole
number
/
tenth
/
hundredth
, etc.
Truncation
Is when a
number
is
approximated
to a whole
number
/
tenth
/
hundredth
, etc.
nearer zero.