Description
I attached the problem or programming
I also need comments on each septs
Thank you
Unformatted Attachment Preview
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Explanation & Answer
Hey t...
Completion Status:
100%
Review
Review
Anonymous
This is great! Exactly what I wanted.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
New England College SQL for Data Analysis Worksheet
Activity 7: Window Frames and FunctionsUsing sqlda, calculate the total sales for any day in the past year. Calculate the ...
New England College SQL for Data Analysis Worksheet
Activity 7: Window Frames and FunctionsUsing sqlda, calculate the total sales for any day in the past year. Calculate the 30 day rolling average. Calculate the daily moving average for 30 days. Submit a screenshot of this challenging query. Comment your images with a sentence or so of description in your own words of what you are doing. Please make sure that your images are large enough and high enough resolution for the reader to see the text in your queries and the results. Exercise 16: Calculating Data Fill Ratesusing sqlda, produce a query that shows customer information and how many customers have filled in the street address ordered by signup date. Submit a screenshot of your successful query. Comment your images with a sentence or so of description in your own words of what you are doing. Please make sure that your images are large enough and high enough resolution for the reader to see the text in your queries and the results. Exercise 17: Rank OrderingUsing sqlda, show the rank order of each salesperson based on date of hire. Submit a screenshot of your successful query. Comment your images with a sentence or so of description in your own words of what you are doing. Please make sure that your images are large enough and high enough resolution for the reader to see the text in your queries and the results. Exercise 18: Team LunchUsing sqlda, calculate the daily average of sales for a given day. Submit a screenshot of your successful query. Comment your images with a sentence or so of description in your own words of what you are doing. Please make sure that your images are large enough and high enough resolution for the reader to see the text in your queries and the results.
ITSD424 American InterContinental Week 5 Importance of Integration Testing Paper
This is the final question that will be added to the previous weeks questions for this class. I am attaching last weeks co ...
ITSD424 American InterContinental Week 5 Importance of Integration Testing Paper
This is the final question that will be added to the previous weeks questions for this class. I am attaching last weeks completed question so that this weeks answer can be added to it. I will also be attaching the needed directions for this weeks question.
CSCI 2370 Columbus State Community College Database Creatiion Lab
This will be a test of what you have learned this quarter and opportunity for you to show some of those skills. As
many o ...
CSCI 2370 Columbus State Community College Database Creatiion Lab
This will be a test of what you have learned this quarter and opportunity for you to show some of those skills. As
many of you go into the world, there will be opportunities to create database systems for other people. But it is
generally not enough to simply say yes or give a high level description of what you're going to deliver. So this
assignment was created to give you the framework for how to tackle a consulting opportunity as a database
system developer.
You may choose the specific entity of your choice. Could be a school, a retail establishment, education, etc. It's up
to you. Pick a domain that you somewhat understand. Don't pick something that is imaginary. This should be
something relatively simple and straightforward.
Your deliverables - I expect this to be in the form of a report. It should be very clear on the technical
recommendations and what you completed.
- High level description of the business. This description should encompass the points of interests in your
future data model such as Customer, Employee, Sales, etc.
-Visio Diagram displaying the entity relationships. Should include cardinality, primary and foreign
keys. There should be a minimum of 6 tables.
-Implement your Diagram.
-Populate data into tables. No empty tables.
-Recommend 2 views that might make it easier for them to perform business related analysis.
-Implement the Views. -Recommend a Trigger for solving a problem in your diagram. When data is inserted here this should
happen etc.
-Implement your Trigger. -Recommend 2 Procedures for addressing a problem the business might experience. Print invoices for
all pending payments?
-Implement the Procedures. needs to be done in SQL, once complete I will transfer it to Oracle database to complete the assignment.
Cumberland University Conflict Management Process Discussion Paper
Each student will select one of the key terms listed below and conduct a search of Campbellsville University’s online Li ...
Cumberland University Conflict Management Process Discussion Paper
Each student will select one of the key terms listed below and conduct a search of Campbellsville University’s online Library resources to find 1 recent peer reviewed article (within the past 3 years) that closely relate to the concept. Your submission must include the following information in the following format:Key Terms:NegotiationFive phases of negotiationConflict ManagementBest Alternative to a Negotiated Agreement (BATNA)DEFINITION: a brief definition of the key term followed by the APA reference for the term; this does not count in the word requirement.SUMMARY: Summarize the article in your own words- this should be in the 150-200 word range. Be sure to note the article's author, note their credentials and why we should put any weight behind his/her opinions, research or findings regarding the key term.ANALYSIS: Using 300-350 words, write a brief analysis, in your own words of how the article relates to the selected chapter Key Term. An analysis is not rehashing what was already stated in the article, but the opportunity for you to add value by sharing your experiences, thoughts and opinions. This is the most important part of the assignment.REFERENCES: All references must be listed at the bottom of the submission--in APA format. Be sure to use the headers in your submission to ensure that all aspects of the assignment are completed as required.Any form of plagiarism, including cutting and pasting, will result in zero points for the entire assignment.
Implementation of Overloading and Overriding Questions
Problem
Develop a script to demonstrate an understanding of the overload (overwrite) methods of using Python operators. &n ...
Implementation of Overloading and Overriding Questions
Problem
Develop a script to demonstrate an understanding of the overload (overwrite) methods of using Python operators. This lesson will focus on the “+” operator and the “__add__” method.
The program must have the following:
Demonstration of an understanding of how to use the + operator for basic addition of two integer numbers
Demonstration of an understanding of how to use the + operator for a concatenation of lists
Demonstration of an understanding of how to use the + operator for a concatenation of strings
Demonstration of an understanding of how to overload the __add__ method
Solving the Problem:
Step 1
Create a basic set of Python commands to demonstrate the addition of two integer numbers, and display the results in the operator interface window in PyCharm.
Step 2
Next, review the first example of an overloaded operator. In Python, the __add__ method that is being used to sum the two integer numbers above can also accept a list of numbers and concatenate them.
Step 3
Now, review the second example of an overloaded operator. In Python, the __add__ method that is being used to sum the two integer numbers above can also accept two strings and concatenate them.
Step 4
Lastly, overload the __add__ method, the method that has been used to sum two numbers, combine lists, and concatenate strings. Overload the method to format the output using the following code: return ‘%s plus %s’ % (self, x).
Step 5
Run the scripts, and verify that the output matches the screenshot below.
Documentation Guidelines:
Use good programming style (e.g., indentation for readability) and document each of your program parts with the following items (the items shown between the '<' and '>' angle brackets are only placeholders. You should replace the placeholders and the comments between them with your specific information). Your cover sheet should have some of the same information, but what follows should be at the top of each program's sheet of source code. Some lines of code should have an explanation of what is to be accomplished, this will allow someone supporting your code years later to comprehend your purpose. Be brief and to the point. Start your design by writing comment lines of pseudocode. Once that is complete, begin adding executable lines. Finally run and test your program.
Deliverable(s):
Your deliverable should be a Word document with screenshots showing the source code and running results, and discuss the issues that you had for this project related to AWS and/or Python IDE and how you solved them for all of the programs listed above as well as the inputs and outputs from running them. Submit a cover sheet with the hardcopy of your work.
part 2
The objective of this project is to give you some experience working with DVD objects created from a user-defined DVD class and passing DVD objects to functions that manipulate them. The objects you will model in this project will be software DVDs. You will create several DVD objects and then load information into their instance variables. All of these DVD objects will then be passed to a global function that displays the instance variable values of each DVD object it receives. All of these DVD objects will then be passed to another global function that computes and displays the total cost as well as the average cost for the DVDs it receives. Finally, a function that receives a single DVD object will be called twice – once for each of the two DVD objects. This function will allow the user to interactively change user-selected data items in the single DVD object passed to this function.
This project represents a hybrid solution which incorporates both objects of a Python class as well as global, free-standing, C-like functions that process object(s) passed to them. Hybrid solutions such as this are actually the most common solutions found in practice since the world typically cannot be ENTIRELY modeled as objects!
Specifications (minimum)
The DVD class contains the following instance variables:
self.__Title;
// The Name of the DVD
self.__DVDType;
// The Type of DVD
self.__Cost;
// The Cost of the DVD
The ONLY recognized (i.e., legal) software DVD types are, “Game”, “Word”, “Compiler”, “Spreadsheet”, “Dbase”, and “Presentation” (AND, no others!).
The DVD class contains (at a minimum) the following methods:
__init__(self, InTitle, InDVDType, InCost): . . .
// Constructor – initialize instance variables
// with (validated) parameter values
setTitle(selfNewTitle): . . .
// Change the self.__Title instance variable value
setType(self NewType): . . .
// Validate and change the self.__DVD_Type instance variable value
getTitle(self): . . .
// Return self.__Title instance variable value
setType(self NewType): . . .
// Validate and change the self.__DVD_Type instance variable value
getCost(self): . . .
// Return the value in the self.__Cost instance variable value
loadInformation(self): . . .
// Interactively prompt-for, input, and set all instance variables
listValidDVDtypes(self): . . .
// Support method that displays list of valid DVD types
The global functions are as follows:
Prototype:
def Display_DVD_Information(DVD1, DVD2, DVD3): . . .
Pseudo code:
For each DVD object parameter, retrieve and display its instance variable values in a nicely-formatted list (or table).
Prototype:
def DisplayTotalAndAverageCosts(DVD1, DVD2, DVD3): . . .
Pseudo code:
Retrieve and sum the individual costs of the DVD objects and display the total cost and then display the average cost
Prototype:
def ChangeDVD(A_DVD): . . .
Pseudo code:
Interactively change the instance variable value of the passed-in DVD object. For the current value of each instance variable be sure to FIRST display this value before asking your user whether he/she wants to change this value. If so, the prompt-for, input, validate(where necessary) and then save the new instance variable value.
The main() function will:
Declare several (at least three) individual DVD objects, e.g.,
DVD1 = DVD(<someTitle>, <someDVDType>, <someCost>) // etc.
Call the global function, Display_DVD_Information(…), to display the contents of each of the DVD objects passed to this function. This will demonstrate that your DVD constructor works as you implemented it. Load each DVD object with information of your choice by calling member function, LoadInformation(), on each DVD object, e.g.,
DVD1.LoadInformation(); // etc.
Call the global function, Display_DVD_Information(…), again to display the contents of each of the DVD objects passed to this function after you have loaded each DVD object with user-selected values.
Next, call the global function, DisplayTotalAndAverageCosts(…) to compute and display, 1) the total cost and then, 2) the average cost of the DVD objects passed to this function.
Call global function, ChangeDVD(…), for each of the first two DVD objects.
Call global function, Display_DVD_Information(…), again to see the changes just made to the first two DVDs.
Call global function, DisplayTotalAndAverageCosts(…), again to see how the total and average costs have changed.
Similar Content
Make a schematic of a complete system showing how it is connected with peripherals and wired Internet connection, programming homework help
Make a schematic of a complete system showing how it is connected with peripherals and wired Internet connection....
IT 402 Saudi Electronic University General Motors Company Inc Case Study
College of Computing and Informatics
Assignment 2
Deadline: Saturday 05/11/2022 @ 23:59
[Total Mark for this Assignment i...
CUNY Bronx Community College Calculus and Coding C Questions
HW on planes, section 12.5
Spring 2022, MP
1.a) Find an equation of the plane that passes through the point (2, 1, 0)
and ...
Carnegie Mellon University Tracing Lists & Aliasing and Mutability Python Coding
A few questions on python coding. The questions and the test cases are all attached in the previous q. ...
Spyder Python Program Assignment
- Download the dataset from this link: https://www.kaggle.com/snapcrack/all-the-news/downloads/all-the-news.zip/4 (Links t...
Program Using Spark Project
Use the first 1000 digits of sqrt(2). In each case, write a program implemented using Spark, to: Find the digit which ap...
Query In Mysql Workbench With Screenshots
2. First name of all employees where their last name starts with the letter S SELECT stffirstname FROM staff WHERE stflast...
Apple Inc
The company selected here is Apple Inc. The Ticker Symbol of Apple Inc. is expressed AAPL. Apple Inc. was founded on 1st A...
Hacking Wireless Network
The company has spend $1.4 billion to improve its cyber More wireless hacking will take place in smart cities The use of I...
Related Tags
Book Guides
Broke Millennial: Stop Scraping by and Get Your Financial Life Together
by Erin Lowry
Treasure Island
by Robert Louis
American Gods
by Neil Gaiman
You Are a Badass
by Jen Sincero
My Brilliant Friend
by Elena Ferrante
A Passage to India
by E. M. Forster
Little Fires Everywhere
by Celeste Ng
Faust
by Johann Wolfgang von Goethe
The Girl With The Dragon Tattoo
by Stieg Larsson
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
New England College SQL for Data Analysis Worksheet
Activity 7: Window Frames and FunctionsUsing sqlda, calculate the total sales for any day in the past year. Calculate the ...
New England College SQL for Data Analysis Worksheet
Activity 7: Window Frames and FunctionsUsing sqlda, calculate the total sales for any day in the past year. Calculate the 30 day rolling average. Calculate the daily moving average for 30 days. Submit a screenshot of this challenging query. Comment your images with a sentence or so of description in your own words of what you are doing. Please make sure that your images are large enough and high enough resolution for the reader to see the text in your queries and the results. Exercise 16: Calculating Data Fill Ratesusing sqlda, produce a query that shows customer information and how many customers have filled in the street address ordered by signup date. Submit a screenshot of your successful query. Comment your images with a sentence or so of description in your own words of what you are doing. Please make sure that your images are large enough and high enough resolution for the reader to see the text in your queries and the results. Exercise 17: Rank OrderingUsing sqlda, show the rank order of each salesperson based on date of hire. Submit a screenshot of your successful query. Comment your images with a sentence or so of description in your own words of what you are doing. Please make sure that your images are large enough and high enough resolution for the reader to see the text in your queries and the results. Exercise 18: Team LunchUsing sqlda, calculate the daily average of sales for a given day. Submit a screenshot of your successful query. Comment your images with a sentence or so of description in your own words of what you are doing. Please make sure that your images are large enough and high enough resolution for the reader to see the text in your queries and the results.
ITSD424 American InterContinental Week 5 Importance of Integration Testing Paper
This is the final question that will be added to the previous weeks questions for this class. I am attaching last weeks co ...
ITSD424 American InterContinental Week 5 Importance of Integration Testing Paper
This is the final question that will be added to the previous weeks questions for this class. I am attaching last weeks completed question so that this weeks answer can be added to it. I will also be attaching the needed directions for this weeks question.
CSCI 2370 Columbus State Community College Database Creatiion Lab
This will be a test of what you have learned this quarter and opportunity for you to show some of those skills. As
many o ...
CSCI 2370 Columbus State Community College Database Creatiion Lab
This will be a test of what you have learned this quarter and opportunity for you to show some of those skills. As
many of you go into the world, there will be opportunities to create database systems for other people. But it is
generally not enough to simply say yes or give a high level description of what you're going to deliver. So this
assignment was created to give you the framework for how to tackle a consulting opportunity as a database
system developer.
You may choose the specific entity of your choice. Could be a school, a retail establishment, education, etc. It's up
to you. Pick a domain that you somewhat understand. Don't pick something that is imaginary. This should be
something relatively simple and straightforward.
Your deliverables - I expect this to be in the form of a report. It should be very clear on the technical
recommendations and what you completed.
- High level description of the business. This description should encompass the points of interests in your
future data model such as Customer, Employee, Sales, etc.
-Visio Diagram displaying the entity relationships. Should include cardinality, primary and foreign
keys. There should be a minimum of 6 tables.
-Implement your Diagram.
-Populate data into tables. No empty tables.
-Recommend 2 views that might make it easier for them to perform business related analysis.
-Implement the Views. -Recommend a Trigger for solving a problem in your diagram. When data is inserted here this should
happen etc.
-Implement your Trigger. -Recommend 2 Procedures for addressing a problem the business might experience. Print invoices for
all pending payments?
-Implement the Procedures. needs to be done in SQL, once complete I will transfer it to Oracle database to complete the assignment.
Cumberland University Conflict Management Process Discussion Paper
Each student will select one of the key terms listed below and conduct a search of Campbellsville University’s online Li ...
Cumberland University Conflict Management Process Discussion Paper
Each student will select one of the key terms listed below and conduct a search of Campbellsville University’s online Library resources to find 1 recent peer reviewed article (within the past 3 years) that closely relate to the concept. Your submission must include the following information in the following format:Key Terms:NegotiationFive phases of negotiationConflict ManagementBest Alternative to a Negotiated Agreement (BATNA)DEFINITION: a brief definition of the key term followed by the APA reference for the term; this does not count in the word requirement.SUMMARY: Summarize the article in your own words- this should be in the 150-200 word range. Be sure to note the article's author, note their credentials and why we should put any weight behind his/her opinions, research or findings regarding the key term.ANALYSIS: Using 300-350 words, write a brief analysis, in your own words of how the article relates to the selected chapter Key Term. An analysis is not rehashing what was already stated in the article, but the opportunity for you to add value by sharing your experiences, thoughts and opinions. This is the most important part of the assignment.REFERENCES: All references must be listed at the bottom of the submission--in APA format. Be sure to use the headers in your submission to ensure that all aspects of the assignment are completed as required.Any form of plagiarism, including cutting and pasting, will result in zero points for the entire assignment.
Implementation of Overloading and Overriding Questions
Problem
Develop a script to demonstrate an understanding of the overload (overwrite) methods of using Python operators. &n ...
Implementation of Overloading and Overriding Questions
Problem
Develop a script to demonstrate an understanding of the overload (overwrite) methods of using Python operators. This lesson will focus on the “+” operator and the “__add__” method.
The program must have the following:
Demonstration of an understanding of how to use the + operator for basic addition of two integer numbers
Demonstration of an understanding of how to use the + operator for a concatenation of lists
Demonstration of an understanding of how to use the + operator for a concatenation of strings
Demonstration of an understanding of how to overload the __add__ method
Solving the Problem:
Step 1
Create a basic set of Python commands to demonstrate the addition of two integer numbers, and display the results in the operator interface window in PyCharm.
Step 2
Next, review the first example of an overloaded operator. In Python, the __add__ method that is being used to sum the two integer numbers above can also accept a list of numbers and concatenate them.
Step 3
Now, review the second example of an overloaded operator. In Python, the __add__ method that is being used to sum the two integer numbers above can also accept two strings and concatenate them.
Step 4
Lastly, overload the __add__ method, the method that has been used to sum two numbers, combine lists, and concatenate strings. Overload the method to format the output using the following code: return ‘%s plus %s’ % (self, x).
Step 5
Run the scripts, and verify that the output matches the screenshot below.
Documentation Guidelines:
Use good programming style (e.g., indentation for readability) and document each of your program parts with the following items (the items shown between the '<' and '>' angle brackets are only placeholders. You should replace the placeholders and the comments between them with your specific information). Your cover sheet should have some of the same information, but what follows should be at the top of each program's sheet of source code. Some lines of code should have an explanation of what is to be accomplished, this will allow someone supporting your code years later to comprehend your purpose. Be brief and to the point. Start your design by writing comment lines of pseudocode. Once that is complete, begin adding executable lines. Finally run and test your program.
Deliverable(s):
Your deliverable should be a Word document with screenshots showing the source code and running results, and discuss the issues that you had for this project related to AWS and/or Python IDE and how you solved them for all of the programs listed above as well as the inputs and outputs from running them. Submit a cover sheet with the hardcopy of your work.
part 2
The objective of this project is to give you some experience working with DVD objects created from a user-defined DVD class and passing DVD objects to functions that manipulate them. The objects you will model in this project will be software DVDs. You will create several DVD objects and then load information into their instance variables. All of these DVD objects will then be passed to a global function that displays the instance variable values of each DVD object it receives. All of these DVD objects will then be passed to another global function that computes and displays the total cost as well as the average cost for the DVDs it receives. Finally, a function that receives a single DVD object will be called twice – once for each of the two DVD objects. This function will allow the user to interactively change user-selected data items in the single DVD object passed to this function.
This project represents a hybrid solution which incorporates both objects of a Python class as well as global, free-standing, C-like functions that process object(s) passed to them. Hybrid solutions such as this are actually the most common solutions found in practice since the world typically cannot be ENTIRELY modeled as objects!
Specifications (minimum)
The DVD class contains the following instance variables:
self.__Title;
// The Name of the DVD
self.__DVDType;
// The Type of DVD
self.__Cost;
// The Cost of the DVD
The ONLY recognized (i.e., legal) software DVD types are, “Game”, “Word”, “Compiler”, “Spreadsheet”, “Dbase”, and “Presentation” (AND, no others!).
The DVD class contains (at a minimum) the following methods:
__init__(self, InTitle, InDVDType, InCost): . . .
// Constructor – initialize instance variables
// with (validated) parameter values
setTitle(selfNewTitle): . . .
// Change the self.__Title instance variable value
setType(self NewType): . . .
// Validate and change the self.__DVD_Type instance variable value
getTitle(self): . . .
// Return self.__Title instance variable value
setType(self NewType): . . .
// Validate and change the self.__DVD_Type instance variable value
getCost(self): . . .
// Return the value in the self.__Cost instance variable value
loadInformation(self): . . .
// Interactively prompt-for, input, and set all instance variables
listValidDVDtypes(self): . . .
// Support method that displays list of valid DVD types
The global functions are as follows:
Prototype:
def Display_DVD_Information(DVD1, DVD2, DVD3): . . .
Pseudo code:
For each DVD object parameter, retrieve and display its instance variable values in a nicely-formatted list (or table).
Prototype:
def DisplayTotalAndAverageCosts(DVD1, DVD2, DVD3): . . .
Pseudo code:
Retrieve and sum the individual costs of the DVD objects and display the total cost and then display the average cost
Prototype:
def ChangeDVD(A_DVD): . . .
Pseudo code:
Interactively change the instance variable value of the passed-in DVD object. For the current value of each instance variable be sure to FIRST display this value before asking your user whether he/she wants to change this value. If so, the prompt-for, input, validate(where necessary) and then save the new instance variable value.
The main() function will:
Declare several (at least three) individual DVD objects, e.g.,
DVD1 = DVD(<someTitle>, <someDVDType>, <someCost>) // etc.
Call the global function, Display_DVD_Information(…), to display the contents of each of the DVD objects passed to this function. This will demonstrate that your DVD constructor works as you implemented it. Load each DVD object with information of your choice by calling member function, LoadInformation(), on each DVD object, e.g.,
DVD1.LoadInformation(); // etc.
Call the global function, Display_DVD_Information(…), again to display the contents of each of the DVD objects passed to this function after you have loaded each DVD object with user-selected values.
Next, call the global function, DisplayTotalAndAverageCosts(…) to compute and display, 1) the total cost and then, 2) the average cost of the DVD objects passed to this function.
Call global function, ChangeDVD(…), for each of the first two DVD objects.
Call global function, Display_DVD_Information(…), again to see the changes just made to the first two DVDs.
Call global function, DisplayTotalAndAverageCosts(…), again to see how the total and average costs have changed.
Earn money selling
your Study Documents