Answer:
Multiprogramming will be extremely difficult to be achieved.
Explanation:
If every byte of data read or written is handled by the CPU the implications this will have for multiprogramming are not going to be satisfactory.
This is because, unlike before, after the successful completion of the input and output process, the CPU of a computer is not entirely free to work on other instructions or processes.
Answer:
INPUT
Explanation:
EXAMPLE PYTHON CODE
_______________________________________________________
INPUT CODE:
_______________________________________________________
foo = input('foo: ')#Have some text printed before the input field
bar = foo
print(bar)
_______________________________________________________
OUTPUT CODE:
_______________________________________________________
foo: Hello World!
Hello World!
>>> bar
'Hello World!'
>>>foo
'Hello World!'
What are some of the challenges that could arise from setting up a file management system on a computer
Answer:
def future_worth(p,i,n):
print("n \t F")
for num in range(1, n+1):
F = round(p * ((1 + i)** num), 2)
print(f"{num}\t{F}")
future_worth(100000, .05, 10)
Explanation:
The "future_worth" function of the python program accepts three arguments namely the P (amount invested), i (the interest rate), and n (the number of years). The program runs a loop to print the rate of increase of the amount invested in n number of years.