Procedural Programming Flashcards

1
Q

what is procedural programming?

A

The procedural programming paradigm is where program code is divided up into procedures, which are discrete blocks of code that carry out a single task.

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

Benefits of Procedural Programming:

A
  1. subroutines can be called many times, reducing the amount of repeated code.
  2. Large projects can be completed quicker as different programmers work on different subroutines concurrently.
  3. easier to test and debug.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Drawbacks of procedural programming:

A
  1. only focuses on what needs to be done, rather than on the integrity of the data that it manipulates.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly