Chapter 5: Functions

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:38 PM on 11/4/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards

function

a sequence of instructions with a name

2
New cards

arguments

supplied when a function is called

3
New cards

return value

the result that the function computes

4
New cards

header

the first line of the function’s definition

5
New cards

parameter variable

hold the arguments supplied in the function call

6
New cards

body

contains the statements that are executed when the function is called

7
New cards

return function

statement terminates a function call and yields the function result

8
New cards

main function

the last line of the program to trigger function from the body and send back result

9
New cards

local variable

variable defined within a function that can only be used in the function

10
New cards