TP1

WELCOME TO
PROGRAMMING TECHNIQUE 1

(C++ LANGUAGE)

 FUNCTION

Function review [xmind]
Extra exercise on function

ARRAY

Monday [21/11/16]

ARRAY PART 1 NOTES [pdf]

Accessing array
Array and loop
– arrays must be used with loops
Array and bound checking
– Be careful of array bound: invalid subscripts => corrupt memory; cause bugs
Array initialization
Processing array contents
– Arrays and operators; arrays assignment

==================================================

Wednesday [23/11/16]

ARRAY PART 2 NOTES [pdf]

Array operation
– Printing array content; Sum and average value; Find highest and lowest value; comparing two arrays
Parallel Array
Array and Function

==============================================

Monday [28/11/16]
2-dimensional arrays
2-dimensional array operations
Arrays of Strings
N-dimensional arrays