1: Functions, Variables Flashcards

1
Q

python hello.py

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

functions

A

verbs or actions the computer will already know how to perform

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

arguments

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

side effects

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

bugs

A

mistakes - a natural part of coding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

return values

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

variables

A

container for a value within your own program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

comments

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

pseudocode

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

str

A

string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

docs.python.org

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

docs.python.org/3/library/functions.html

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

docs.python.org/3/library/functions.html#print

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

print(#objects, sep=’ ‘, end=’\n’, file=sys.stdout, flush=False)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

parameters

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

docs.python.org/3/library/stdtypes.html#string-methods

18
Q

+ - * / %

19
Q

interactive mode

20
Q

float

21
Q

docs.python.org/3/library/functions.html#round

22
Q

round(number[, ndigits])

24
Q

scope

25
Q

return