178k views
0 votes
How are procedural and object-oriented programming approaches similar?

A. Both approaches are used when writing programs.
B. Both approaches focus on functions, modules, and processes to write programs.
C. Both approaches focus on calling attributes and behaviors to write programs.
D. Both approaches require little planning in order to write completed programs.

User Medrod
by
4.4k points

2 Answers

3 votes

Answer:

A

Step-by-step explanation:

User Yashatreya
by
4.6k points
4 votes

Answer:

A. Both approaches are used when writing programs.

Step-by-step explanation:

Procedural programming (PP), also known as inline programming takes a top-down approach. It is about writing a list of instructions to tell the computer what to do step by step. It relies on procedures or routines. Object-oriented programming (OOP) is about encapsulating data and behavior into objects.

Hope this helps....

Have a nice day!!!!

User John Papa
by
4.6k points