You are given the base class, DigitalResource, which represe…

You are given the base class, DigitalResource, which represents a generic digital resource in a library. Create a child class, EBook, that extends the functionality of DigitalResource. Create a Child Class EBook: Implement a child class, EBook, that inherits from DigitalResource. EBook should add an additional attribute, file_format (e.g., “PDF”, “EPUB”, “MOBI”). Ensure that the child class’s constructor calls the parent class’s constructor using super(). Override the get_details Method: Override the get_details method in EBook to include the file_format in the output. # Given class DigitalResource: def __init__(self, title, author): self.title = title self.author = author def get_details(self): return f”Title: {self.title}, Author: {self.author}”      

In IT, system logs are important in monitoring and troublesh…

In IT, system logs are important in monitoring and troubleshooting. Extend the list class by creating a custom class LogList that manages a collection of log entries, where each entry is a string. Create a Child Class LogList: Inherit from list to create the new class LogList. There is not need to include a constructor statement. Implement the find_entries Method: Add a method, find_entries, that accepts a single parameter, keyword. This method should iterate over the list of log entries and return a new LogList instance containing only the entries that include the keyword. Hint: You can check if a keyword is in a string using the syntax keyword in entry, where keyword and entry are both strings. Example Usage: Although example usage is provided for clarity, you do not need to demonstrate its usage. # Creating an instance of LogList with sample log entries logs = LogList() # Finding entries that contain the keyword “Error” error_logs = logs.find_entries(“Error”) print(error_logs) # Expected output:

XYZ Corporation sells a product for $340 per unit. The produ…

XYZ Corporation sells a product for $340 per unit. The product’s current sales are 14,500 units and its break-even sales are units. The margin of safety as a percentage of sales is closest to: (enter your answer as a whole number without a % sign, so if you think the answer is 14%, enter your answer as 14)

XYZ Corporation, which has only one product, has provided th…

XYZ Corporation, which has only one product, has provided the following data concerning its most recent month of operations:       Selling price $ 90       Units in beginning inventory   0 Units produced   3,400 Units sold   3,000 Units in ending inventory   400         Variable costs per unit:     Direct materials $ 21 Direct labor $ 38 Variable manufacturing overhead $ 6 Variable selling and administrative expense $ 4 Fixed costs:     Fixed manufacturing overhead $ 54,400 Fixed selling and administrative expense $ 3,000   The total gross margin for the month under the absorption costing approach is: