Concept explainers
Procedural
- 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 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?
Chapter 14 Solutions
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
- Preferred language C++ or Javaarrow_forwardA programming paradigm that packages data and functions and manipulates the data into one structure, is known as? A. Imperative programming B. Modular programming C. Object oriented programming D. Functional programming Justify your answer with explanationsarrow_forward1. IntroductionCCCS 121Object Oriented Programming language Group Course ProjectAn object-based application is an application that involves objects created out of classes. These objects interact with each other to fulfill certain functionalities.The focus of this project is to develop an application written in java which involves the use of object-oriented programming. This project is a group project. As a student you will be given a chance to come up with an idea for your project. However, the project must satisfy the requirements given in this document.This document shall be used as a set of guidelines. You are allowed to make necessary additions and/or changes to the requirements with prior approval from your instructor.2. RequirementsPropose and implement an application, that contributes to solving a real-life problem. Your application should include at least the following:2.1 Classes3 to 4 classes each one of them should have:A. B. C.A number of private and public attributes. The…arrow_forward
- THIS NEEDS TO BE DONE IN C#! Instructions For your first task as a newly formed team of developers, you will design, develop, test, and deliver a small software application to a client. You will first take the requirements for the project and implement a UML and function design for each of the classes you need to create. This MUST be achieved first. You will need to read and understand the requirements and choose good classes that need to be created in the development phase of this project. After you are finished with the design, you will use Visual Studio, C#, and GitHub to develop and test the project. Teams will need to determine who will write what parts of the system before development proceeds. Members will need to create branches to work in, which should be used to work in. Commits should be made often and contain details on changes made in the code. Once intended work for a branch is made, a pull request should be made to its parent branch to merge work. The team leader or…arrow_forwardConvert to C# Language def Deposit(balance, pin): # Deposit function p = int(input("Enter the PIN: ")) # taking PIN from user if p == pin: # if PIN matches with actual PIN amount = float(input("Enter deposit amount: ")) # taking deposit amount from user balance += amount # adding deposit amount to balance else: # else (if PIN not matches) print("Incorrect PIN!!") # display message return balance # return balance def Withdraw(balance, pin): # Withdraw function p = int(input("Enter the PIN: ")) # taking PIN from user if p == pin: # if PIN matches with actual PIN amount = float(input("Enter withdraw amount: ")) # taking withdrawal amount from user if amount > balance:…arrow_forwardFocus on classes, objects, methods and good programming styleYour task is to create a BankAccount class using Python and Write an overall header comment for every function - use the IPO notation. Class name BankAccount Attributes __balance float float __pin integer integer Methods __init_() get_pin() check_pin() deposit() withdraw() get_balance() The bank account will be protected by a 4-digit pin number (i.e. between 1000 and 9999). The pin should be generated randomly when the account object is created. The initial balance should be 0.get_pin()should return the pin.check_pin(pin) should check the argument against the saved pin and return True if it matches, False if it does not.deposit(amount) should receive the amount as the argument, add the amount to the account and return the new balance.withraw(amount) should check if the amount can be withdrawn (not more than is in the account), If so, remove the argument amount from the account and return…arrow_forward
- Language: Carrow_forwardFunction-Oriented Design: This project is designed to allow you for participating in a group work that every member of group should involve with different task. This work is divided into two parts. First part is to prepare a presentation representing a solution for the defined below problem. Additionally, second part is a report preparation that explains the solution with proper background reviews. It Is required to emphasise your diagrams and that with appropriate, detailed explanations. 1 Introduction Increasingly supermarkets are introducing self-service checkouts. Your task Is to develop a design for Easy Checkout, a new self-service checkout system. You should follow a function-oriented design approach, i.e. you should develop: 1. a data flow diagram 2. structure charts Your design should focus on the processing of a single product. This will provide the foundation for the full design of Easy aeckoat Details on the requirements that you are to work with are given below. 2 Informal…arrow_forwardPlease use C++ PROGRAMMING LANGUAGE to answer the following question Payment Management System (personal bookkeeping system) where individuals (more than one) can make multiple payments. The ability to pay for the transactions is related to banking module of the project. Three modules: Person, Payment and Account. Account module should be integrated in the Person’s module. Account class’ object need to be data member of Person class. Payment Define a class named Payment that contains member variables of type float that stores the amount of the payment, string that store the type of payment (bills, shopping, grocery, fuel, medicine, others) and appropriate accessor and mutator methods. Also create a member function named paymentDetails that outputs an English sentence that describes the amount and type of the payment. Next define a class named CashPayment that is derived from Payment. This class should redefine the paymentDetails function to indicate that the payment is in cash.…arrow_forward
- 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…arrow_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_forwardCLASS DIAGRAM FOR THESE REQUIRMENTSarrow_forward
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageSystems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage LearningPrinciples of Information Systems (MindTap Course...Computer ScienceISBN:9781285867168Author:Ralph Stair, George ReynoldsPublisher:Cengage Learning
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr