apcompsci

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

1/9

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.

10 Terms

1
New cards

Functions must have parameters

False

2
New cards

How many parameters go into the function sum

3, 1 return

3
New cards

Why do we write functions?

I II III

4
New cards

Which statement return values from functions?

Return

5
New cards

What is true about return values?

Functions can have return values but they are optional

6
New cards

Consider the code snippet

first second third

7
New cards

Correct way to create python function

def_myfunction()

8
New cards

Consider the code snippet all numbers

10

9
New cards

What is the output of the program?

15 5

10
New cards

in the following function print 3 times