If a conductor with a current of 200 mA passing through it converts 40 J of electrical energy into heat in 30 s, what is the potential drop across the conductor?
A teacher has taken exam of his students. He has stored marks in a dictionary where keys are the student's name and values are student's marks. Now he wants to know the name of students obtained minimum and maximum marks from this dictionary. You need to write a python function F-m-M(X) which takes dictionary as input and returns the name of student pair having minimum and maximum marks in the class. If input dictionary is empty return "Invalid Input".
Ex: Input : { 'Amit': 21, 'Aniket':34, 'Rohit': 53 }, Output: ('Amit', 'Rohit' )
Input: { } , Output: Invalid Input
Make a C++ program that will print this output using while loop.
1
16
49
100
169
Ayush is learning python programming. He has given some task to do on dictionary, but he don't know anything about dictionary but he is good in concepts of list. Your task is to write a python function Co-Dic(Y) function which takes a dictionary as input and convert it into list of list as shown in the example.
Ex1: Input- {1:'Arnab Goswami' , 2: 'Michael Stone', 3: 'Rajesh Mishra, 4:'Chris Jordan'}
Output - [ [1,'Arnab Goswami'],[2,'Michael Stone'],[3,'Rajesh Mishra'], [4,'Chris Jordan'] ]
2 . Input- {3.2: 214, 00.000: 25, 3: 'Man', 0.00: 31}
Output- [ [3.2,214], [0,31], [3,'Man'] ]
Write an application that accepts the unit weight of a bag of coffee in pounds and
the number of bags sold and displays the total price of the sale, computed as
total price = unitweight * number of units * INR 25;
total price with tax = total price + totalprice * INR 0.70,
where 25 is the cost per 200grams and 0.70 is the sales tax. Use data type of
float.
Question 6 (13 marks) As the result of an audit, IMF Productions Ltd received an amended assessment on 1 June 2022 for the year ended 30 June 2021. It amended an earlier assessment, which was dated 11 December 2021, by disallowing $110,000 claim for work related travel expenses. The travel expenses were incurred in establishing an office in China. IMF Productions Ltd already has a number of offshore offices in the Asia-pacific region. Required: (a) Advise IMF Productions Ltd about objecting to the amended assessment citing relevant legislation to support your answer. (6 marks) (b) Assuming that, on the 1 October 2022, IMF Productions Ltd received notice that their objection had been disallowed, what further options are available to them? What are some of the factors that should be considered? Cite relevant legislation to support your answer.
Air conditioners are a luxury good. a) What does this imply about income elasticity? b) Which two countries would you guess have the highest per capita demand for air conditioners at present? c) If people continue to get richer and global warming continues to increase, what is likely to happen to the quantity of air conditioners demanded? d) And what will this do to global warming? And hence to the demand for air conditioners
Write a code (or pseudo-code) for summing the first N odd numbers.
Compose an Employee class with the attributes personalia, employeeNo, yearofAppointment, monthSalary, and taxPercent. In addition to get methods for all the attributes, the following operations should be available :
Find the employee’s monthly tax.
Find the gross annual salary
Find tax savings per year. To our employees June is tax free, and in December there’s only half the usual tax.
Find name (in the format last name, first name.)
Find age
Find number of years employed at the company.
Find out if the person has been employed for more than a given number of years
Set methods to change attributes that it makes sense to change.
Find out in which cases an instance of the Employee class has to collaborate with its personalia object in order to complete these tasks. Draw sequence diagrams for these operations.Write a simple program that puts data into an instance of the Employee class and calls all the methods you’ve created. Check that the results are correct
1) Write a program that helps solve the following problem: ground coffee from brand A costs Rs 45 for 450 grams, while ground coffee from brand B costs Rs 47 for 500 grams. Which brand is cheaper? Create Brand class. Suggest attributes and methods that are relevant for this problem.