Explain the difference between constructor and initializer list.
Find the change in entropy when 1.25 kg of steam at 100°C condenses and cools to 50°C.
Create a program using Python for Eduvos based on the above scenario. The program should initially display a welcome message. The program should then do the following: 3.1 Prompt the user to enter the number of students to be captured. 3.2 Handle exceptions to ensure that the user enters a number. 3.3 Prompt the user to enter the student’s name, exam 1 and exam 2 marks. 3.4 Calculate the test average. 3.5 Use tuples to handle records. 3.6 The records should then be written to a file called studentsexammarks.txt. 3.7 The program should display the recorded test marks on the screen.
*Production volume for product A was estimated at 1000 units.
*Only 80% production was achieved.
*Each unit of product A requires 0.5 hours at an hourly rate of N$8.50
*80% production volume was produced at 45 minutes per unit at an hourly rate of N$8.00
*Buys raw materials from local suppliers at N$3.50 per kilogram
*Each unit requires 1.5 kilograms
*Two Kilograms were used per unit
*Total monthly budgeted manufacturing overheads costs amounted to N$950
*Actual monthly manufacturing overheads cost was N$1200
*Lungameni Enterprises production manager view that manufacturing overheads cost be absorbed on basis of direct labour costs. There was no opening inventory and all units produced were sold.
Required:
1.For the information above calculate the gross profit / loss
2.Any recommendation for Lungameni Enterprise production manager?
The speed(v) of car in m/s is related to time t in second by the equation: v= 3+12t-3t^ . Find the maximum of the car in km/h?
How many sheets of a dielectric are necessary to make a condenser having a capacity of 5.5nF when the sheets are 15cm x 30cm in area and 0.29cm thick? Use k = 8
*Production volume for product A was estimated at 1000 units.
*Only 80% production was achieved.
*Each unit of product A requires 0.5 hours at an hourly rate of N$8.50.
*80% production volume was produced at 45 minutes per unit at an hourly rate of N$8.00
*Buys raw materials from local suppliers at N$3.50 per kilograms.
*Two kilograms were used per unit.
*Total monthly budgeted manufacturing overheads costs amounted to N$950
*Actual monthly manufacturing overheads cost was N$1200
*Lungameni Enterprises production manager view that manufacturing overheads costs be absorbed on basis of direct labour cost. There was no opening inventory and all units produced were sold.
Required:
1.For the information above calculate the gross profit / loss.
2.Any recommendation for Lungameni Enterprise production manager
Write a program to take input for n book records from user and write those book records in a file named: ”record”, whose price is less than INR 500 . Program should also perform random access in the file, after taking input for a particular record number to read and it should also perform random record overwriting after taking input of new record and the record number to overwrite. After overwriting record, display all records on the screen [Attributes of book: Book_id, Book_price, Book_name, Book_author_name]
Write a program that can perform addition with these overloaded methods:
int add(int x, int y) – returns the sum of two integer values
double add(int x, double y) – returns the sum of an integer value and a double value
double add(int x, int y, double z) – returns the sum of two integer values and a double value
Use the methods in the program. (How would you use them?)
Suppose that we know f(x) is a polynomial with critical points x=-1, x=2 and x=6. If we also that the 2nd derivative is f''(x) = -3x² +14x -4. If possible, classify each of the critical points as relative minimums, relative maximums. If it is not possible to classify the critical points clearly explain why they cannot be classified.