Q2: write a program to create the following classes and then find: 1-to initialize a new data called a count to zero (by using static). 2-read data for each class 3-searching about car have: a-type toyota? b-price less than 20,000$? 4-find taxes 3% for each car? Write main program deal with 1000 cars? Car fair Car type Car speci.I Cart name Car price taxes Friend function Car speci2 Car color Total Seats
Q: egree of proficiency in web development and soft
A: Introduction: The Internet era is leading by web developers. The web developers who create, build,…
Q: Dividend must be put in AX register when using DIV or IDIV. Select one: True O False
A: Below I have provided the solution to the given question
Q: QUESTION 5 is an important concern when database applications are run over the web. QUESTION 6 row…
A: Answer : 5) Security 6) Tuple
Q: Given an IP Block 10.10.1.0/24 write the 1st 10 subnets Network Address, and Broadcast Address if…
A: Given an IP Block 10.10.1.0/24 write the 1st 10 subnets Network Address, and Broadcast Address if…
Q: Explain how you would determine how much profit was generated from orders placed in April 2009.
A: Explanation: HERE THE ANSWER ================== For calculating the profit Profit = Selling…
Q: PYTHON ONLY PLZZZZ Create a car object with the following attributes and actions: Name Make…
A: As per the given information, we need to create a Car class with given attributes and actions and…
Q: What are memory representations, and what are some of the characteristics and instances of these…
A: Introduction: The memory representation of a text is the product of the inferential processes that…
Q: checks whether the point is within the circle centered at (0, 0) with radius 10. For example, (4, 5)…
A: #include <iostream> #include <cmath>using namespace std; int main() { int cx,…
Q: What occurs when individuals do criminal acts online and how they commit them. How can you protect…
A: Doing criminal acts online is basically a cybercrime. Its consequences can be told upon the type of…
Q: Because of the growth of smaller-screen devices such as smartphones, phablets, and tablets, what…
A: The growth of smaller-screen devices such as smartphones, phablets, and tablets may be anticipated…
Q: Generate test cases for the triangle problem by using the cause-effect graph and decision table…
A: Cause-effect graph : Cause-effect graph graphically shows the connection between a given outcome and…
Q: Examine the use of Structured English to describe processes in fields other system analysis.
A: In order to explain the reasoning behind a computer program's design to those who aren't experts in…
Q: Is it important to consider the organization's structure and operations? What elements must be…
A: Although various elements might influence an organization's decision on the best structure, the…
Q: What difference does it make if the top executives of a firm have previous IT experience? In what…
A: The top executives of a firm have previous IT experience.
Q: Which memory would you like to improve, and why? Semantic, episodic, procedural
A: Introduction: Memory may be broken down into three distinct categories: semantic memory, episodic…
Q: The constraints of a register-register vector processing system must be understood.
A: Registers for vectors Specialized registers called vector registers are capable of simultaneously…
Q: Determine whether there are non-systems analysis fields in which Structured English may be used to…
A: All structured programming processes are expressed in structured English. It is an effective…
Q: Is it not important that compliance with coding staff productivity be included into the facility's…
A: It is important that compliance with coding staff productivity be included in the facility's…
Q: Given the following premises, write a conclusion that will create a valid argument Premise 1: If it…
A: In this question we have to write the conclusion for the given premises Let's conclude
Q: What does the phrase "dynamic memory" refer to, and how does it differ from "non-dynamic memory"?
A: dynamic Memory: a process for organizing and storing different types of data in the phone's memory.…
Q: Why is the Macintosh environment so prevalent in businesses and artistic studios?
A: Given: One of the most crucial steps in the process is the usage of Macintosh graphics, which is…
Q: What is proofreading? What problems do you look for in proofreading
A: The above question is solved in step 2: -
Q: where is the two ethical theories here? and two examples where can apply theories here sir/mam?…
A: Added ethical theories in step 2. Kindly find them.
Q: Briefly explain why buying the cheapest power supply for a computer may not save you money in the…
A: Power supply units are the foundation of any PC. These gadgets pull power from your wall power…
Q: 8. (Geometry: point in a rectangle?) Write a program that prompts the user to enter a point (x, y)…
A: Code with output in step 2:
Q: What are the advantages of asynchronous programming? What went wrong? Describe the online…
A: Given: Asynchronous programming is a sort of parallel programming where little portions of code…
Q: How can you assist an employee who is not performing to their maximum capacity?
A: Object-oriented analysis and design is referred to as OOAD. OOAD visibility: A named element's use…
Q: This page discusses every facet of the Domain Name System (DNS), including iterated and unified…
A: DNS provides an overview of the Domain Name System. A domain name system, or DNS, is a telephone…
Q: How crucial is employee happiness to the overall success or failure of a business?
A: Whether you are the Chief of a Fortune 500 organization or the business visionary behind a startup,…
Q: What difference does it make if the top executives of a firm have previous IT experience? In what…
A: efficiency of senior managers Top managers are responsible for an organization's initiatives. The…
Q: What type of possible error messages you can get when you try to login with th
A: The answer is
Q: Does the presence of several information systems constitute a difficulty in the workplace? What…
A: Yes, there are a lot of problems with the company's information system: The management system…
Q: By using Google dorks can you have the ability to footprint a website and what results can you find…
A: Google dorks - It is a way of hacking. Google dorks is generally a search string that uses advanced…
Q: Consider utilizing Structured English to describe processes that do not fall within the purview of a…
A: "The process of researching a technique: Or firm to find its aims and objectives, as well as…
Q: Use the laws of propositional logic to show the following equivalency: pv (rVq) = r → (p→g)
A: Discrete mathematics is the investigation of numerical designs that are countable or generally…
Q: Could you elaborate on each of the following four primary advantages of employing continuous event…
A: Introduction: Integrating Continuously: Software development is made simpler, quicker, and less…
Q: Are the regulations sufficient to protect children under 16 from internet harm? If not, what other…
A: No, the laws that are now in place do not provide enough protection for children under the age of 16…
Q: Meadowdale Dairy Farm sells organic brown eggs to local customers. It charges $3.25 for a dozen…
A: In this question we have to write a code to calculate the total price of purchased eggs in dozen and…
Q: What does "dynamic memory" relate to specifically, and how does it vary from "static memory"?
A: Memory allocation in programming is crucial for storing values when they are allocated to variables.…
Q: 3. (Health application: BMI) Write an application that will allow the user to enter weight, feet,…
A: As per the question statement, It is asked to write c++ program.
Q: the memory hierarchy. Why did your authors choose to utilize a pyramid to represent their work?
A: the solution is an given below :
Q: Examine certification and training with reference to workplace instances.
A: Training and certification are necessary(provide): If a person, thing, or organisation has…
Q: The impact of wearable computers, such as the Apple Watch and Android Wear, on user interface design…
A: Given: We have to discuss The impact of wearable computers, such as the Apple Watch and Android…
Q: Include iterated and non-iterated queries, authoritative and root servers, and DNS entries in your…
A: Domain Name System: The DNS, or domain name system, is the Internet's phone book. Humans often get…
Q: Let's assume a business already has a KMS in place. How can you as a manager ensure that…
A: Answer : Face to face information exchange is not able to disappear this is because the information…
Q: What is the meaning of "Regular Expression"? Why did we do it? What is the difference between a…
A: String character combinations can be matched using regular expressions, which are patterns. Regular…
Q: On the motherboard of the computer, what is the purpose of the CPU chip? Based on that purpose, is…
A: CPU basically stands for Central Processing Unit. It is the main component of computer. CPU performs…
Q: In this part, ten worldwide computer science and information technology organizations will be…
A: The worldwide computer science and information technology organizations are:
Q: Consider utilizing Structured English to describe processes that do not fall within the purview of a…
A: System analysis is "the study of a method or organization to determine its aims and objectives, as…
Q: Describe how predictive analytics works and offer an example of its use.
A: Predictive analytics: This is the process of analysing data and making recommendations to improve…
![Q2: write a program to create the following classes and then find:
1-to initialize a new data called a count to zero (by using static).
2-read data for each class
3-searching about car have:
a-type toyota?
b-price less than 20,000$?
4-find taxes 3% for each car?
Write main program deal with 1000 cars?
Car fair
Car type
Car speci.l
Car name
Car price
taxes
Friend function
Car speci.2
Car color
Total Seats](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F486840f8-4542-4a2c-8f17-5c52d7e30cec%2Fc15fb1e7-1fad-4639-8ee0-7fe77ffd13e4%2Fglydzpj_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 4 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
- class Student: def _init_(self, firstname, lastname, idnum): self.first = firstname self.last = lastname self.id = idnum self.courses = [] def add_course(self, course): ''' don't allow overloads or signing up for the same course twice if course not in self.courses and len(self.courses) = 4 What are all of the attributes of this class? last overload idnum add_course self first course firstname courses id clear_courses lastnameIn previous chapters, you have created programs for the Greenville Idol competition. Now create a Contestant class with the following characteristics: The Contestant class contains public static arrays that hold talent codes and descriptions. Recall that the talent categories are Singing Dancing, Musical instrument, and Other. The class contains an auto-implemented property that holds a contestants name. The class contains fields for a talent code and description. The set accessor for the code assigns a code only if it is valid. Otherwise, it assigns I for Invalid. The talent description is a read-only property that is assigned a value when the code is set. Modify the GreenvilleRevenue program so that it uses the Contestant class and performs the following tasks: The program prompts the user for the number of contestants in this years competition; the number must be between 0 and 30. The program continues to prompt the user until a valid value is entered. The expected revenue is calculated and displayed. The revenue is $25 per contestant. The program prompts the user for names and talent codes for each contestant entered. Along with the prompt for a talent code, display a list of the valid categories. After data entry is complete, the program displays the valid talent categories and then continuously prompts the user for talent codes and displays the names of all contestants in the category. Appropriate messages are displayed if the entered code is not a character or a valid code.3- Create a class named Player with a default name as "player", a default level as 0, and a default class type of "fighter". Feel free to add any other attributes you wish! Create an instance method in the Player class called attack that takes another player as a parameter. This function should compare the level of the two players, and return whether the player won, lost, or tied. Finally create a loop that allows the user to input a name and a class type for two players; the level of both players should be determined at random (between 1 and 99). Print out the name and attributes of each player, and have the first player attack the second. Print whether the player won, lost, or tied. Ask if the user wants to try again. (Python code)
- Create an car class that will be used by a car shop to keep track of inventory. The following attributes should be present in your automobile class: -private string make-private string model-private string color-private int year-private int mileage. The program should have methods such as: -default constructor-parameterized constructor-add a new vehicle method-list vehicle information (return string array)-remove a vehicle method-update vehicle attributes method. All methods should include try..catch constructs. Except as noted all methods should return a success or failure message (failure message defined in "catch"). 1. Create an additional class to call your automobile class (e.g., Main or AutomobileInventory). Include a try..catch construct and print it to the console. 2. Call automobile class with parameterized constructor (e.g., "make, model, color, year, mileage").a) Then call the method to list the values. Loop through the array and print to the screen. 3. Call the remove…Create an automobile class that will be used by a dealership as a vehicle inventory program. The following attributes should be present in your automobile class: private string make private string model private string color private int year private int mileage Your program should have appropriate methods such as: default constructor parameterized constructor add a new vehicle method list vehicle information (return string array) remove a vehicle method update vehicle attributes method. All methods should include try..catch constructs. Except as noted all methods should return a success or failure message (failure message defined in "catch"). Create an additional class to call your automobile class (e.g., Main or AutomobileInventory). Include a try..catch construct and print it to the console. Call automobile class with parameterized constructor (e.g., "make, model, color, year, mileage"). Then call the method to list the values. Loop through the array and print to the screen.…In C#, Make any necessary modifications to the RushJob class so that it can be sorted by job number. Modify the JobDemo3 application so the displayed orders have been sorted. Save the application as JobDemo4. An example of the program is shown below: Enter job number 22 Enter customer name Joe Enter description Powerwashing Enter estimated hours 4 Enter job number 6 Enter customer name Joey Enter description Painting Enter estimated hours 8 Enter job number 12 Enter customer name Joseph Enter description Carpet cleaning Enter estimated hours 5 Enter job number 9 Enter customer name Josefine Enter description Moving Enter estimated hours 12 Enter job number 21 Enter customer name Josefina Enter description Dog walking Enter estimated hours 2 Summary: RushJob 6 Joey Painting 8 hours @$45.00 per hour. Rush job adds 150 premium. Total price is $510.00 RushJob 9 Josefine Moving 12 hours @$45.00 per hour. Rush job adds 150 premium. Total price is $690.00 RushJob 12 Joseph Carpet cleaning 5…
- in C#, Make any necessary modifications to the RushJob class so that it can be sorted by job number. Modify the JobDemo3 application so the displayed orders have been sorted. Save the application as JobDemo4. An example of the program is shown below: Enter job number 22 Enter customer name Joe Enter description Powerwashing Enter estimated hours 4 Enter job number 6 Enter customer name Joey Enter description Painting Enter estimated hours 8 Enter job number 12 Enter customer name Joseph Enter description Carpet cleaning Enter estimated hours 5 Enter job number 9 Enter customer name Josefine Enter description Moving Enter estimated hours 12 Enter job number 21 Enter customer name Josefina Enter description Dog walking Enter estimated hours 2 Summary: RushJob 6 Joey Painting 8 hours @$45.00 per hour. Rush job adds 150 premium. Total price is $510.00 RushJob 9 Josefine Moving 12 hours @$45.00 per hour. Rush job adds 150 premium. Total price is $690.00 RushJob 12 Joseph Carpet cleaning 5…project-8c Write a class named Employee that has private data members for an employee's name, ID_number, salary, and email_address. It should have an init method that takes four values and uses them to initialize the data members. It should have get methods named get_name, get_ID_number, get_salary, and get_email_address. Write a separate function (not part of the Employee class) named make_employee_dict that takes as parameters a list of names, a list of ID numbers, a list of salaries and a list of email addresses (which are all the same length). The function should take the first value of each list and use them to create an Employee object. It should do the same with the second value of each list, etc. to the end of the lists. As it creates these objects, it should add them to a dictionary, where the key is the ID number and the value for that key is the whole Employee object. The function should return the resulting dictionary. For example, it could be used like this: emp_names =…Introduction In this project, you will complete a C++ class by writing a copy constructor, destructor, and assignment operator. Furthermore, you will write a tester class and a test program and use Valgrind to check that your program is free of memory leaks. Finally, you will submit your project files on GL. If you have submitted programs on GL using shared directories (instead of the submit command), then the submission steps should be familiar. In this project we develop an application which holds the information about a digital art piece. There are two classes in this project. • The Random class generates data. The implementation of this class is provided. It generates random int numbers for colors. To create an object of this class we need to specify min and max values for the constructor. The colors fall between 30 and 37 inclusively. The Art class generates random colors and stores the color values. You implement the Art class. An object of the Art class is a digital masterpiece.…
- Mick’s Wicks makes candles in various sizes. Create a class for the business named Candle that contains the following data fields: color - of type String height - of type int price - of type double Create get methods for all three fields. Create set methods for color and height, but not for price. Instead, when height is set, determine the price as $2 per inch. Create a child class named ScentedCandle that contains an additional data field named scent (of type String) and methods to get and set it. In the child class, override the parent’s setHeight() method to set the price of a ScentedCandle object at $3 per inch.Please help with the following: Write a Student class which keeps track of grades and generates a final mark. You should store:3 quiz scores, an array of int between 0 and 20; 1 midterm score, an int between 0 and 50;1 final score, an int between 0 and 100;the overallScore (double) and letter grade (char). also create the appropriate accessor and mutator methods. Student should also include the methods: public void calculateOverallScore() { ... } Quizzes are worth 15% of the grade, Midterm is worth 35% of the grade, the Final is worth 50% of the grade. public void finalLetterGrade() { ... } 100 ~ 90: A 90 ~ 80: B 70 ~ 80: C 60 ~ 70: D 0 ~ 60: FAdd the following methods to your Boat Race class: Write a method called add_racer which takes in a Boat object and adds it to the end of the racers list. The function does not return anything. Write a method called print_racers which loops through racers and prints the Boat objects. This function takes in no parameters (other than self) and returns nothing. Write a method called count that returns the number of racers. Write a method called race. The race function calls the move function for all of the racers in the BoatRace. Once all the racers have moved, call the print_racers method to display information about the progress of each boat. Then, check if any of the racer’s current_progress is greater than or equal to the race’s distance. If so, then return a list of all of the racers whose current_progress is greater than or equal to distance. If no racer has finished the race then repeat the calls to move and check until at least one racer has finished the race.…
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)