The five different ways databases can be processed are :
1) Queries, Forms and Reports
2) Application Programs
3) Stored Procedures
4) Triggers
5) Web Applications
Answer:
Program for the above question in python:
mass = float(input("Enter the mass in grams")) # It is used to take the mass as input.
density = float(input("Enter the density grams per cm cube")) # It is used to take the input for the grams.
print("Volume ={:.2f}".format(mass/density)) #It is used to print the Volume.
Output:
- If the user inputs as 2.98 and 3.2, then it will results as 0.92.
Explanation:
- The above code is in python language, in which the first statement is used to take the inputs from the user for the mass and sore it into a mass variable.
- Then the second statement also takes the input from the user and store it into a density variable.
- Then the third statement of the code is used to print the volume up to two places using the above-defined formula.
Answer:
Mainframe Computer System
Explanation:
Mainframe systems or simply mainframes are computers used for critical application, bulk processing and transaction processing.
They are larger than the basic computers we find around. They are advantageous as they are able to process large data faster. For this reason, large institutions like banks tend to use them for processing of data because of the thousands of transactions they engage in.
They are capable of handling and processing very large amount of data quickly.
Examples of other large institutions that uses mainframe computers apart from Bank stated in the question are
1. Stock brokerage firms
2. Government agencies
3. Insurance agencies
4. Fortune 500 companies and so on.
Answer:
The result of the following code will be 9
Explanation:
There are several operators used in Python to do mathematical calculations.
** operator is used for exponents.
i.e.
a ** b mathematically means a^b
Here in the given code
3 is assigned to numA and 2 is assigned to numB
Result will be equal to 3^2
Hence,
The result of the following code will be 9
Answer: Hello your question is poorly written attached below is the well written question
answer:
a) Determine ( compute ) the difference between the max and minimum value. determine the Min and max values using 1.5n comparisons
time efficiency = θ( n )
b) A(n-1) - A(0)
time efficiency = θ( 1 )
Explanation:
a) An unsorted array
To find the maximum and minimum values scan the array of elements , then determine ( compute ) the difference between the max and minimum value. to determine the range. Alternatively determine the Min and max values using 1.5n comparisons
Algorithm's time efficiency = θ( n )
b) A sorted array
To determine the range, we will determine the difference between the first and last element i.e. A(n-1) - A(0)
time efficiency = θ( 1 )