Please enable JavaScript.
Coggle requires JavaScript to display documents.
10A Programming Fundamentals 4.1 Fundamentals of programming, meaningful…
10A Programming Fundamentals
4.1 Fundamentals of programming
4.1.1.1 Data types :
data type concept
integer
real/float
Boolean
character
string
date/time
pointer/reference
address assigned dynamically at runtime
record (equivalent)
arrays
User defined based on language defined(built in) data types
4.1.1.2 Programming concepts
The 3 combining principles
variable declaration
constant declaration
assignment
iteration
definite
indefinite
pre and post loop conditionals
nesting
selection
nesting
subroutine
4.1.1.3 Arithmetic operations in a programming language
addition
subtraction
multiplication
real/float division
integer division
integer remainders
exponentiation
rounding
truncating
4.1.1.5 Boolean operations in a programming language
NOT
AND
OR
XOR
4.1.1.6 Constants and variables in a programming language
differentiate between const and var
advantages of names constants
4.1.1.7 String-handling operations in a programming language
length
position
substring
concatenation
char --> char code
char code --> char
string conversion operations
to integer
to float
to date/time
from
integer
float
date/time
4.1.1.8 Random number generation in a programming language
be able to use ~
4.1.1.9 Exception handling
concept
applied in implementation language
4.1.1.10 Subroutines (procedures/functions)
usage
def: named 'out of line' block of code that can be executed by writing its name
advantages
4.1.1.11 Parameters of subroutines
usage to pass data within solutions
use subroutines with interfaces
4.1.1.12 Returning a value/values from a subroutine
usage
4.1.1.13 Local variables in subroutines
defined within a sub-routine
persit only during invocation
scope is local only
utilastion
best practice benefits
4.1.1.14 Global variables in a programming language
contrast global with local
4.1.1.16 Recursive techniques
concept
cases
base
general
solve simple problems with ~
4.1.1.4 Relational operations in a programming language
equal to
not equal to
less than
or equal to
greater than
or equal to
meaningful identifier names