The language is C++ for visual studio code 2017. Create a program that uses the follwing: A main function that utilized minimum code to drive the program. Coding details shall be in appropriately-implemented classes. At least three class modules, one class shall be abstract and an associated derived class. At least one example of an overloaded constructor. At least one polymorphic method. At least one pointer and one reference Demonstrate correct use of public, private and protected keywords\
Q: The ImageList control is found in which part of the Toolbox?
A: Introduction: Images may be added to the control both during design and during runtime. Drag an Ima...
Q: JS Write a function named sum_between_indices whose parameter is a list/array of decimal numbers. Yo...
A: I give the code in javascript as well as python along with output and code screenshot
Q: How do I program a list in python? for instance, say List1:[1,2,3,4,5] directly correlates to List2:...
A:
Q: keyboard to press more when you hold down Value in "Current" tab;
A: The Python interpreter works by loading a source file or reading a line typed at the keyboard, parsi...
Q: What does a Details view entail?
A: Introduction: The "DetailsView" control must be used if the programmer wishes to display the columns...
Q: Create a charge invoice program for the cashier at the RTU-Kawani cooperative. The program will calc...
A: PROGRAM INTRODUCTION: Include the required header files. Start the definition of the main function....
Q: Write a C++ program that computes for the sum, difference, product, and quotient of two floating-poi...
A:
Q: This results in speedier program execution. Is he a compiler or a pure interpreter?
A: He is compiler. The analysis of source code by a compiler takes a long time. However, the process is...
Q: #10 Storage multipathing is a feature where single LUN can be accessed through different paths. Draw...
A:
Q: python" Write a function named sum_between_indices whose parameter is a ist/array of decimal numbers...
A: Below is the function named sum_betweeen_indices having list of decimal number. def sum_between_ind...
Q: When you pass null as an argument to the Split function of a string object, what characters are used...
A: Whitespaces are characters that are used as delimiters to assist separate paragraphs of text, pictur...
Q: How does Lapadula Model detect security risks? O violation of CIA principles O Violation of informat...
A: the answer is an violation in CIA principles
Q: What does it imply to claim that two items have a "is a" relationship?
A: Introduction: Inheritance is the process through which one class inherits the properties of another....
Q: What exactly do you get when you build a structure instance?
A: Introduction: When a structure instance is created, all of the structure's fields are zeroed. The f...
Q: database
A:
Q: Given the following code entered in the IDL shell: >>> names = ["Dancer", "Prancer", "Vixen", "Rudy"...
A:
Q: Create an activity diagram with these characteristics (assume that you will go through these sequent...
A: Please refer below for your reference:
Q: Design an algorithm for computing for any positive integer n. Besides assignment and comparison, you...
A: Design an algorithm for computing for any positive integer n. Besides assignment and comparison, you...
Q: Explain of each detail of this code : import numpy as np import pandas as pd from sklearn.cluster...
A: #Here we import numpy and pandas that adds support for large, multi-dimensional arrays and matrices,...
Q: Language: C++ A shell sort algorithm is a variation of insertion sort. Your task is to sort the arra...
A: the c++ code is an given below : #include <iostream>using namespace std; void shellSort(int ...
Q: of the following is false in reference to python ? Dictionary is an unordered collection of key-valu...
A: Solution:
Q: When
A: While declaring a class, you are creating a just a new data type. And new operator helps to instanti...
Q: Language: C++ A shell sort algorithm is a variation of insertion sort. Your task is to sort the arra...
A: Start Take the array of elements Sort them Print array of elements Print Stop
Q: What is the purpose of a constructor?
A: Introduction: The constructors have the same name if a class or struct already has a name. Their job...
Q: Given: Relation R = {(a,c), (b,c), (c,c)} and Set S = {a, b, c} %3D Complete Relation R to be Symmet...
A: Given: To make the relation R symmetric.
Q: Write the pseudocode for Aunt Joan’s egg ranch problem. Aunt Joan has a large number of chicken coop...
A: The egg dozen means 12 eggs. The excess eggs will thus be the remainder of the number of eggs and 12...
Q: your ow
A: As per guidelines, we can only solve one question at a time. Hence resubmit the question for further...
Q: Bookm. Suppose the HTML file for your web page project includes a div element with the id value "cup...
A: what should be placed in the blank to complete the function
Q: When is it advantageous to divide processes and programs into subsystems that run on a large compute...
A: Subsystem Defined A system is characterized as a collection or blends of things or parts shaping a ...
Q: The ADT stack lets you peek at its top entry without removing it. For some applications of stacks, y...
A: Please upvote/like me please. I am providing the required code below. // peekNxt method public T...
Q: This results in speedier program execution. Is he a compiler or a pure interpreter?
A: Given: This results in speedier program execution. Is he a compiler or a pure interpreter?
Q: using c++ concepts of data structure Make a doubly linked list, take n inputs. Print it. Now, swap...
A: #include <bits/stdc++.h>using namespace std; // Link list Node Classclass Node {public: ...
Q: Hamming-code for the following 12-bit data string : 1 0 1 0 1 1 0 1 1 1 0 1 Show that the generated ...
A:
Q: Explain what happens when a student connects his or her laptop to the school's local area network (L...
A: Solution:
Q: Implement the Doubly Circular Linked List (you need to implement two classes, one for node and one f...
A: Following is a representation of a Circular doubly linked list node in C++ struct node{ int data;...
Q: Consider Case Study (2): World's Trend Catalog Division. If you know that the parent process (3)- PR...
A:
Q: est non negative r
A: given - Is pivot raw the highest non negative ratio
Q: A frame size 10 million bytes is being sent on a link with with bandwidth of 8 Mbps. The total trans...
A: Hi Dear!! Please give positive feedback!! Frame of size = 10 million bits = 10 × bytes = 10000000 ...
Q: Create a procedure to allow an employee in the shipping department to update an order status to add ...
A: CREATE OR REPLACEPROCEDURE STATUS_SHIP_SP(p_bask_id IN BB_BASKETSTATUS.IDBASKET%TYPE,p_ship_date IN ...
Q: Q3 SHORT ANSWER QUESTIONS. No justification needed. Consider the Hasse diagram of the following part...
A: ANSWER:-
Q: Problem #3 - Search a string. Write a program which counts the number of a particular character foun...
A: I give the code in C along with output and code screenshot
Q: nt these things: ading display yo
A: Th code is given as,
Q: python" Write a function named add_value that has a single parameter. This parameter will be a list/...
A: start define a function that takes list as a parameter append 21 in list stop
Q: Design a combinational circuit with four inputs— A, B, C, and D —and one output, F . F is to be equa...
A: design an integrated circuit with 4 holes A, B, C, D and single outlet F. The condition is that the ...
Q: 1. Why have you chosen to work in the healthcare profession and what valuable impact do you hope tom...
A: NOTE :- As per our company guidelines we are supposed to answer only first 3 sub-parts. Kindly rep...
Q: There are a variety of resource records to choose from. What is the most significant resource record...
A: There are a variety of resource records to choose from. What is the most significant resource reco...
Q: When the C program below is run in a UNIX system a number of processes are created. Give the number ...
A: Fork is system call which creates the child process. If there n forks continuously then the total nu...
Q: 4. Design an algorithm for computing Vn] for any positive integer n. Besides assignment and comparis...
A: Task :- write an algorithm to find the square root of the given number n.
Q: To become an effective test writer, which of the following is CORRECT? * A. Master a specific test f...
A: To become a good test writer, you must first learn how to write tests. Learn how to use a specific t...
Q: What does it imply to claim that two items have a "is a" relationship?
A: Inheritance is the process through which one class inherits the properties of another. A child class...
The language is C++ for visual studio code 2017.
Create a program that uses the follwing:
A main function that utilized minimum code to drive the program. Coding details shall be in appropriately-implemented classes.
At least three class modules, one class shall be abstract and an associated derived class.
At least one example of an overloaded constructor.
At least one polymorphic method.
At least one pointer and one reference
Demonstrate correct use of public, private and protected keywords\
Step by step
Solved in 2 steps
- Using classes, design an online address book to keep track of the names, addresses, phone numbers, and dates of birth of family members, close friends, and certain business associates. Your program should be able to handle a maximum of 500 entries. Define a class addressType that can store a street address, city, state, and ZIP code. Use the appropriate functions to print and store the address. Also, use constructors to automatically initialize the member variables. Define a class extPersonType using the class personType (as defined in Example 10-10, Chapter 10), the class dateType (as designed in this chapters Programming Exercise 2), and the class addressType. Add a member variable to this class to classify the person as a family member, friend, or business associate. Also, add a member variable to store the phone number. Add (or override) the functions to print and store the appropriate information. Use constructors to automatically initialize the member variables. Define the class addressBookType using the previously defined classes. An object of the type addressBookType should be able to process a maximum of 500 entries. The program should perform the following operations: Load the data into the address book from a disk. Sort the address book by last name. Search for a person by last name. Print the address, phone number, and date of birth (if it exists) of a given person. Print the names of the people whose birthdays are in a given month. Print the names of all the people between two last names. Depending on the users request, print the names of all family members, friends, or business associates.1. IntroductionAn object-based application is an application that involves objects created out of classes. Theseobjects 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 ofobject oriented programming. This project is a group project. As a student you will be given achance to come up with an idea for your project. However, the project must satisfy thereequipments given in this document.This document shall be used as a set of guidelines. You are allowed to make necessary additionsand/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. Yourapplication should include at least the following:2.1 Classes3 to 4 classes each one of them should have:A. A number of private and public attributes. The private attributes (variables) will needcorresponding set/get methods.B. 2…Create the class diagram and write the pseudocode for a program that will process the following attributes: studentNumber, studentName, grade, and status (will hold "Pass" or "Fail"). Name your class as "Student" and your object as "aStudent". The attributes and functions must be declared as private and public respectively. Each attribute must have its own member function when assigning values and the values must be passed from the main program as arguments. Declare one more member function to display the values of all attributes. Class Diagram Grading Criteria Pseudocode Grading Criteria Correct class name. Correct class name. 10 All attributes were declared as private 10 All attributes were declared as private. 10 Member functions were declared as public. Correct sequence. Member functions accepted values from the main program. 10 Member functions were declared as public 10 10 10 Correct sequence. Member functions accepted values from the main program Statements are structured…
- C++ Assignment---This is an unfinished code please complete it. Make changes if necessary. Upvote for finished working code. Objectives • To apply knowledge of classes and objects Instructions Implement all of the following, each in a separate Visual Studio project (and/or solution). 1. Define a class called CounterType to implement a simple counter. The class must have a private field (data member) counter of type int. You must also provide methods (member functions), including the following: a. A constructor to set the counter to the value specified by the user b. A constructor to set the counter to 0 c. A method to allow the user to set the counter to a value they specify d. A method to increment the counter by 1 e. A method to decrement the counter by 1 Your code must ensure the value of counter is never negative. If the user calls a method to attempt to make the counter negative, set the counter to 0 and print out an error to the user (e.g., “The counter must not be negative.”) Do…This is an object oriented programming question The code should be in C++ language. Design a class named Staff that includes A data member named staffID A setter function to initialize staffID A getter function to get the value of staffID Derive a class named Professor inherited from Staff class and contains Two additional data members i.e. departmentID and departmentName A parameterized constructor to initialize its own data fields along with the inherited data field Two getter functions that return the departmentID and departmentName, respectively Derive a class named VisitingProfessor inherited from class Professor and has A data field named no_of_courses A data field named salary_per_course A function named totalSalary that returns total payment for all courses (i.e. no_of_courses * salary_per_course) A member function named display to show total salary and the number of courses he/she has been taught In the main() function, create an object of VisitingProfessor and…Strictly adhere to the Object-Oriented specifications given in the problem statement. All class names, member variable names, and function names should be the same as specified in the problem statement.The class Item has the following private member variables Data Type Variable Name string itemId string itemName string itemType string itemVendor Include appropriate setters and getters for the above class. Include the following constructors in the Item class Constructor Name Description Item( ) This default constructor used to initialize the itemType as “Electricals” and itemVendor as “Arun electricals” Item(string itemId,string itemName,string itemType,string itemVendor)…
- C++ In this exercise, you will design the class memberType. Each object of memberType can hold the name of a person, member ID, number of books bought, and amount spent. Include the member functions to perform the various operations on the objects of memberType—for example, modify, set, and show a person’s name. Similarly, up-date, modify, and show the number of books bought and the amount spent. Add the appropriate constructors. Write the definitions of the member functions of memberType. Write a program to test various operations of your class memberType. Please look at photos, there are multiple tabs to write code in and a document to pull text from.*I am using the program mindtap Chapter 9 defined the struct studentType to implement the basic properties of a student. Define the class studentType with the same components as the struct studentType, and add member functions to manipulate the data members. (Note that the data members of the class studentType must be private.) Write a program to illustrate how to use the class studentType. Struct studentType: struct studentType { string firstName; string lastName; char courseGrade; int testScore; int programmingScore; double GPA; }; An example of the program is shown below: Name: Sara Spilner Grade: A Test score: 89 Programming score: 92 GPA: 3.57 ***************c++ please The Critter class is a base class with some basic functionality for running simulations of different kinds of critters. Critters can move, act, and remember their history. A typical simulation contains a number of critters of different types. In each step of the simulation, the act member function will be called on each critter. Define a class Sloth derived from Critter that simulates a sloth. Sloths alternate between eating and sleeping. Add the word "eat" or "sleep" to the history each time the act function is called. The implementation of the Critter class is not shown. Complete the following file: sloth_Tester.cpp #include <iostream>using namespace std; #include "critter.h" /**A sloth eats and sleeps.*/class Sloth : public Critter{public:Sloth();. . .private:. . .}; Sloth::Sloth(){. . .} void Sloth::act(){if (...){add_history("eat");...}else{add_history("sleep");...}} int main(){Sloth sloth;sloth.act();cout << sloth.get_history() << endl;cout <<…
- Instructions Chapter 9 defined the struct studentType to implement the basic properties of a student. Define the class studentType with the same components as the struct studentType, and add member functions to manipulate the data members. (Note that the data members of the class studentType must be private.) Write a program to illustrate how to use the class studentType. Struct studentType: struct studentType { string firstName; string lastName; char courseGrade; int testScore; int programmingScore; double GPA; }; An example of the program is shown below: Name: Sara Spilner Grade: A Test score: 89 Programming score: 92 GPA: 3.57 *************** I am using the system mindtap. I have 3 file names to fill in. -main.cpp -studentType.h -studentTypeImp.cpp Thank you !!Using C# Language: Programming PLO 3 Measured: Create control structures, methods with the appropriate parameters, and data structures of the appropriate type, and implement algorithms to solve problems. Design a class named Contractor. The class should keep the following information: Contractor name Contractor number Contractor start date Write one or more constructors and the appropriate accessor and mutator functions for the class. Write another class named Subcontractor that is derived from the Contractor class. The Subcontractor class should have member variables to hold the following information: Shift (an integer) Hourly pay rate (a double) The work is divided between two shifts, a day shift, and a night shift. The shift variable will hold an integer value representing the shift that the subcontractor will work. The day shift is 1 and the night shift is 2. Write one or more constructors and the appropriate accessor functions for the class. Demonstrate the classes…Create an employee class, basing it on previous lab. The member data should comprise an int for storing the employee number, a string for storing the name and a float for storing the employee’s salary. Member functions should allow the user to enter this data and display it. Write a main () that allows the user to enter data for three employees and display it do it by using scope resolution operator and pointer object.