Exam Review Flashcards

1
Q

Exam 1

What is another name for reserved words?

A

keywords

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

Exam 1

What are len(), sum(), and min() considered as?

A

functions

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

Exam 1

To automate programming, you use…

A

loops

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

Exam 1

What are runtime errors?

A

impossible operations

ex. divide by 0

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

Exam 1

Branches refer to…

A

if/else statements

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

Exam 1

Improper range configuration in branches can result in…

A

fallthrough

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

Exam 2

After being turned into objects by the interpreter, functions are internally represented as…

A

bytecode

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

Exam 2

A loop with no termination condition is called a(n)…

A

infinite loop

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

Exam 2

Another name for the “step” when parsing a string is called a(n)…

A

stride

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

Exam 2

When splitting or joining strings in Python, the special character to parse by is the…

A

delimiter

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

Exam 2

An individual piece of the string after parsing

A

token

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

Exam 2

Why are global variables discouraged in programming?

A

causes miscommunication, generally a bad practice

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

Exam 2

What does SDLC stand for?

A

Software Development Life Cycle

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