Mod 10.4 Flashcards

1
Q

What is a loop in programming?

A

A sequence of instructions that is executed repeatedly.

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

What is branching in computer programming?

A

A method to execute a different sequence of instructions based on a condition

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

Why are comments ignored by the computer?

A

Because they are not part of the executable code

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

What is sequential flow in a program?

A

Code that runs in the order it is written

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

What is a function call in programming?

A

A command to run another part of the program and return

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

What is debugging?

A

Fixing mistakes in code

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

What is object-oriented programming (OOP)?

A

A way to model real-world objects in computer code.

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

What is a class in object-oriented programming (OOP)?

A

A blueprint or template for creating objects.

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

What is a function in programming?

A

A piece of code that does one specific job

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

What do you put inside the parentheses when using a function?

A

The arguments or values the function needs to process

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