Functions, Variables Flashcards
What is a function?
A function is like an action or a verb that the program can execute
What is an argument?
An argument is an input to a function that changes it’s behavior
What is a side effect?
A side effect is an unintended or secondary effect of a function that often modifies some form of state or interacts with external systems
What is a return value?
It’s a value that is returned from a function, like input
What is a variable?
a variable is a named container for a particular set of information or type of data
What is a string?
A string is a sequence of text
What is an integer?
What is a parameter?
A parameter is an argument to a function: there are multiple tipes of parameters
What is a “"
An escape character