Subroutines- Functions

Molly Hills
Flashcards by Molly Hills, updated more than 1 year ago
Molly Hills
Created by Molly Hills over 6 years ago
17
1

Description

A Level Computing (F452) Flashcards on Subroutines- Functions, created by Molly Hills on 11/25/2014.

Resource summary

Question Answer
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
Show full summary Hide full summary

Similar

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
Paul Jamrozy
Computing Hardware - CPU and Memory
Shantal K Green