CS50: Functions, Variables

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

7 Terms

1
New cards

function

A named block of code that performs a specific task when called (action or verb that lets you do something in the program. )

2
New cards

arguments

The information you give to a function so it can do its job.(input to a function that somehow influences its behavior) “hello”

3
New cards

side effects

Changes a function makes outside of itself, like printing text or changing a variable.

4
New cards

bugs

an error or flaw in a computer program that causes it to behave unexpectedly or malfunction.

5
New cards

return value

What a function sends back to you after it finishes.

6
New cards

variables

Names that store information, like a box that holds a value you can use later.

7
New cards

comments

notes to yourself in your code