Presentation is loading. Please wait.

Presentation is loading. Please wait.

Controlling Data within the System

Similar presentations


Presentation on theme: "Controlling Data within the System"— Presentation transcript:

1 Controlling Data within the System

2 Stuff to memorise this Week
"Parameters allow us to copy data from one function to another"

3 It’s all about Data

4 Some more words… Assignment Sequence Selection Repetition
Proceduralisation Parameters Return Values

5 = Assignment Assignment is carried out by the assignment operator
The assignment operator copies data from right to left. Destination = Source

6 The Debugger Allows us to see the flow of code and data in real time
F9 – toggle breakpoint F10 – step over F11 – step into F5 – continue Let’s look at the code you created last week

7 Sequence Normal flow of the code One line after another

8 Selection Selects different blocks of code depending on conditions
If (certain condition applies) { //do this } Else Let’s look at the Delete button using the debugger

9 Repetition Repeat a section of code while a condition is true/false
While (This there is still stuff to process) { //keep repeating the code here } Look at the function DisplayAddresses

10 Proceduralisation Long word to describe making functions
Look at the Apply button

11 Parameters Allow us to copy data from one function to another
(If it’s in brackets it is probably a parameter!)

12 Return Values The result of a function
Look at the function DisplayAddresses What is a void function?


Download ppt "Controlling Data within the System"

Similar presentations


Ads by Google