Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
5th Edition
ISBN: 9780134801155
Author: Tony Gaddis
Publisher: PEARSON
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 14, Problem 1MC
Program Description Answer

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”.

Expert Solution & Answer
Check Mark

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 takes 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:

Modular programming is a designing of software that decomposes an entire program into separate sub programs.

Hence, option “A” is wrong.

Functional:

Functional programming is designed to evaluate mathematical function which uses expressions instead of statements.

Hence, option “C” is wrong.

Object-Oriented:

Object oriented programming relies on creating objects which contains 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?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
This is an object oriented programming question. The code should be in C++ language Create a class named Person, which contains Two data fields i.e. personName and age A pure virtual function named print()   A class named Patient inherits Person class, which contains Two data fields i.e. diseaseType and recommendedMedicine A parameterized constructor to initialize its own data members as well as the inherited data members Overridden function print() to display all details relevant to a patient   A class named MedicarePatient inherited from class Patient, which holds A data field representing the name of the hospital A data filed representing the name of the ward A data field representing room number A parameterized constructor to initialize its own data members as well as the inherited data members Overridden function print() to display all details relevant to a patient   In the main() function, create instances of derived classes to call respective print() function using dynamic…
This is an object oriented programming question. The code must be in C++. Define a Class BOOK with the following specifications: Data Members: bookNo bookTitle price Member Functions: total_cost(int)         A function to calculate the total cost for N no of copies where N is                                passed to function as argument. take_data( )            A function to input bookNo, bookTitle, price. purchase_info( )     A function to ask the user to input the number of copies to be                                purchased. It invokes total_cost( ) and prints the total cost paid by                                the user.
can I get help writing this in c++ 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)                                              Purchase price (double) Quantity purchased  (int)                                            Quantity purchased (int) Ticker symbol (string)                                                            Issuer (string) Par value (int)                                                             Face value (int) Stock type (i.e. Common or Preferred) (enum)         Stated interest rate…

Chapter 14 Solutions

Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)

Ch. 14.2 - Prob. 14.11CPCh. 14.2 - What is a constructor? When does a constructor...Ch. 14.2 - What is a default constructor?Ch. 14.3 - Prob. 14.14CPCh. 14.3 - Suppose a class has a field named description. The...Ch. 14.3 - Prob. 14.16CPCh. 14.4 - Prob. 14.17CPCh. 14.4 - What technique was described in this section for...Ch. 14.4 - What are classes responsibilities?Ch. 14.4 - Prob. 14.20CPCh. 14.5 - In this section, we discussed superclasses and...Ch. 14.5 - Prob. 14.22CPCh. 14.5 - What does a subclass inherit from its superclass?Ch. 14.5 - Look at the following pseudocode; which is the...Ch. 14.6 - Look at the following pseudocode class...Ch. 14 - Prob. 1MCCh. 14 - Prob. 2MCCh. 14 - A(n) ____ is a member of a class that holds data....Ch. 14 - The _________ specifies how a classs field or...Ch. 14 - A classs fields are commonly declared with the...Ch. 14 - Prob. 6MCCh. 14 - In many programming languages, the _____ key word...Ch. 14 - A(n) ____ method gets a value from a class's field...Ch. 14 - A(n) ____ method stores a value in a field or...Ch. 14 - A(n) ____ method is automatically called when an...Ch. 14 - A set of standard diagrams for graphically...Ch. 14 - When the value of an item is dependent on other...Ch. 14 - A classs responsibilities are _____. a. objects...Ch. 14 - In an inheritance relationship, the _____ is the...Ch. 14 - In an inheritance relationship, the _____ is the...Ch. 14 - The ___________ characteristic of object-oriented...Ch. 14 - The practice of procedural programming is centered...Ch. 14 - Object reusability has been a factor in the...Ch. 14 - It is a common practice in object-oriented...Ch. 14 - One way to find the classes needed for an...Ch. 14 - The superclass inherits fields and methods from...Ch. 14 - Polymorphism allows a class variable of the...Ch. 14 - Prob. 1SACh. 14 - Prob. 2SACh. 14 - What is the difference between a class and an...Ch. 14 - In many programming languages, what does the New...Ch. 14 - The following pseudocode statement calls an...Ch. 14 - Prob. 6SACh. 14 - What does a subclass inherit from its superclass?Ch. 14 - Look at the following pseudocode, which is the...Ch. 14 - Prob. 1AWCh. 14 - Look at this partial class definition, and then...Ch. 14 - Look at the following description of a problem...Ch. 14 - In pseudocode, write the first line of the...Ch. 14 - Look at the following pseudocode class...Ch. 14 - Pet Class Design a class named Pet, which should...Ch. 14 - Car Class Design a class named Car that has the...Ch. 14 - Personal Information Class Design a class that...Ch. 14 - Emp1oyee and ProductionWorker Classes Design an...Ch. 14 - Essay Class Design an Essay class that extends the...Ch. 14 - Patient Charges Design a class named Patient that...
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr