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 (4th Edition)
Additional Engineering Textbook Solutions
Starting Out With Visual Basic (8th Edition)
SURVEY OF OPERATING SYSTEMS
Degarmo's Materials And Processes In Manufacturing
INTERNATIONAL EDITION---Engineering Mechanics: Statics, 14th edition (SI unit)
Java How to Program, Early Objects (11th Edition) (Deitel: How to Program)
Introduction To Programming Using Visual Basic (11th Edition)
- Portfolio Instructions: You are working for a financial advisor who creates portfolios of financial securities for his clients. A portfolio is a conglomeration of various financial assets, such as stocks and bonds, that together create a balanced collection of investments. When the financial advisor makes a purchase of securities on behalf of a client, a single transaction can include multiple shares of stock or multiple bonds. It is your job to create an object-oriented application that will allow the financial advisor to maintain the portfolios for his/her clients. You will need to create several classes to maintain this information: Security, Stock, Bond, Portfolio, and Date. The characteristics of stocks and bonds in a portfolio are shown below: Stocks: Bonds: Purchase date (Date) Purchase date (Date) Purchase price (double)…arrow_forward3. Which of the following is a way to organize the data in the language in a particular way so to use them in the most effective way? Select one: a. Linear Data Structure b. Polymorphism c. Encapsulation d. Inheritancearrow_forwardc# language Write a console application that uses at least 8 different methods of Math class. Provide a meaningful identifier of the variables or constants. Name the namespace as App and its class as Program.arrow_forward
- If an argument is given into a reference parameter, it will be treated as if it were a reference parameter.arrow_forwardin python use fuctional programmingarrow_forwardPlease Help. Can You Give A Code For My Reference/Idea In Object Oriented Programming? Thank you in advance and God bless you. Create a simple program using C++ for a payroll that computes the weekly gross income of the employee. It should follow the operational conditions below: When the application has been executed, it will ask the user for the employee code. When the employee code has been entered, it will automatically look for the salary level of the employee from its record then display the name of the employee and salary rate level. Then it will ask the user to enter the time - in of the employee. Then it will ask the user to enter the time - out of the employee. Note: Will repeat four more times to complete the input from Monday to Friday. Note: Looping (use FOR LOOP for the girls and DO WHILE LOOP for the boys) After entering the time-in, time-out, the system will compute the total number of hours work through the following information: the total number of hours work and…arrow_forward
- C++arrow_forwardwrite c++ code for Design a class named Computer that holds the make, model, and amount of memory of a computer. Include methods to set the values for each data field, and include a method that displays all the values for each field. Create the class diagram and write the pseudocode that defines the class. // Pseudocode PLD Chapter 10 #4 pg. 461// Start// Declarations// Computer myComputer// string make// string model// int memory// output "Please enter the Make: "// input make// output "Please enter the Model: "// input model// output "Please enter the Amount of Memory: "// input memory// Set the Make for myComputer// Set the Model for myComputer// Set the Amount of Memory for myComputer// output "Make: ", myComputer.getMake()// output "Model: ", myComputer.getModel()// output "Amount of Memory: ", myComputer.getMemory()// Stop header #include <string>using namespace std;#ifndef _Computer#define _Computerclass Computer{private:string make; // computer makestring model; //…arrow_forwardSpecifically, what is the difference between a parameter variable and an argument variable in code?arrow_forward
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT