Answer:
total time to read whole file = ( 81.380208 mili seconds ) + 80ms + 80ms
Explanation:
Size of a surface = 675/15 = 45 MB
Size of a track = (Number of sectors per track)*(Size of a sector)
= (144*512)Bytes
= 73.728 KB
Number of tracks where 360KB file is located = 360/73.728 = 4.8828125 (Approx 5 tracks)
So Seek time to go the first track of the file = 80 ms
And after seek time for track to track movement = 4*20 = 80 ms
We need 4.8828125 rotations to read whole file.
Time for 4.8828125 ratations = (60.0/3600.0)*4.8828125 seconds = 0.081380208 seconds = 81.380208 mili seconds
So total time to read whole file = ( 81.380208 mili seconds ) + 80ms + 80ms
Answer:
import random
decisions = int(input("How many decisions: "))
for i in range(decisions):
number = random.randint(0, 1)
if number == 0:
print("heads")
else:
print("tails")
Explanation:
*The code is in Python.
import the random to be able to generate random numbers
Ask the user to enter the number of decisions
Create a for loop that iterates number of decisions times. For each round; generate a number between 0 and 1 using the randint() method. Check the number. If it is equal to 0, print "heads". Otherwise, print "tails"
Answer: b)seamlessly share real-time data internally among departments and with external business partners.
Explanation: Enterprise system are type of software section that provides the facility of controlling and tracing of the operation in business organizations.They helps in making the business automatic, trading of data in different organization sectors internally and externally as well, reporting etc.
Other options are incorrect because it does not transfers the data using emails,outsourcing the process to vendors and combining data into central hub.Thus, the correct option is option (b).
Answer:
Following are the code to this question:
import math# import math module
def RaiseToPower(): # defining a function RaiseToPower
r= math.pow(2,1/12) # defining r variable that calcualte the decimal point value.
return r # return r variable value.
f0= float(input()) #defining f0 variable that hold input frequency .
for n in range(0,5):#defining for loop to count all frequency
fn = f * math.pow(RaiseToPower(),n) # defining fn variable that calls method RaiseToPower and multiply the value by frequency
print(fn,end=' ') # use print method to prints all five frequency
Output:
440
440.0 466.1637615180899 493.8833012561241 523.2511306011974 554.3652619537443
Explanation:
Description of the above python code can be defined as follows:
- In the above code first we import the package of the math module for converting frequency, after importing package a "RaiseToPower" method is declared, inside the method r variable is declared, that counts decimal value and return its value.
- In the next step, "f0" a frequency variable is declared that input a value from the user and defined a for loop to in the loop fn variable declared, calls the method and pass its input value and stores its decimal points and at the last print its value.
Answer:
A computer is defined as an electronic device for storing and processing data, typically in binary form, according to instructions given to it in a variable program.
Four features of a computer would be CPU, GPU, Memory, and Motherboard.