The _______
a. modular
b. procedural
c. functional
d. object-oriented
Procedural Programming:
- Procedural programming language relies on creating functions or procedures.
- It is derived from structural programming, which is also known as imperative programming.
Hence, the correct answer is option “B”.
Explanation of Solution
Procedural Programming:
- The procedural programming usually depends upon procedures or routines or subroutines.
- This programming is centered on procedures or the actions that take place in the program.
- Procedures separate from data while operating on data items, which leads to trouble, and the code becomes more complex.
Example:
Examples for procedural language are as follows:
- C
- Pascal
- FORTRAN
- BASIC
Explanation for incorrect options:
Modular programming is a designing of software that decomposes an entire program into separate sub-programs.
Hence, option “A” is wrong.
Functional programming is designed to evaluate mathematical function that uses expressions instead of statements.
Hence, option “C” is wrong.
Object-oriented programming relies on creating objects that contain data attributes and methods. It combines the data and program into a single object.
Hence, option “D” is wrong.
Want to see more full solutions like this?
Chapter 10 Solutions
Starting Out with Python plus MyProgrammingLab with Pearson eText -- Access Card Package (3rd Edition)
Additional Engineering Textbook Solutions
Starting Out with Java: From Control Structures through Objects (6th Edition)
Java How to Program, Early Objects (11th Edition) (Deitel: How to Program)
Software Engineering (10th Edition)
C How to Program (8th Edition)
Java: An Introduction to Problem Solving and Programming (8th Edition)
Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)