Subroutines- Functions

Beschreibung

A Level Computing (F452) Karteikarten am Subroutines- Functions, erstellt von Molly Hills am 25/11/2014.
Molly Hills
Karteikarten von Molly Hills, aktualisiert more than 1 year ago
Molly Hills
Erstellt von Molly Hills vor etwa 10 Jahre
17
1

Zusammenfassung der Ressource

Frage Antworten
What is the difference between a Procedure and a Function? A Function returns a Value
Give an Example of a common Function Random(x)
How do you 'Call' the function? Local answer put Function(x) into answer OR put answer + Function(x) into answer
What is a 'Global' Scope? A variable which can be used anywhere in the program
What is a 'Local' Scope? The variable only exists in the button press, procedure or function where it was created
What is a Constant? Similar to a variable but the value cannot be changed
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

A level Computing Quiz
Zacchaeus Snape
Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
Output Devices
Jess Peason
Computing
Kwame Oteng-Adusei
Pack of playing cards answer
Karl Taylor
Code Challenge Flow Chart
Charlotte Hilton
3.2.5 - Writing Maintainable Programs
AndrewZV
3.2.6 - Testing and Running a Solution
AndrewZV
Computing Hardware - CPU and Memory
ollietablet123
Computer Systems
lisawinkler10