Answer:
PYTHON CODE:
str = input("Enter the first 9 digits of an ISBN-10 as a string : ") # user input
i = 1
checksum = 0 # for total sum
while i < 10:
c = int(str[i - 1]) # getting every digit of the ISBN
c = c * i
checksum += c
i=i+1
checksum=checksum % 11 # getting the last digit of ISBN
ch=checksum
if checksum==10: # if the last digit is 10 then change it to X
ch="X"
print("The Complete 10-Digit ISBN is : ",end="")
print(str,end="") # displaying the 9 digit of ISBN
print(ch) # appending the last digit of ISBN
Explanation:
Answer:
The main difference between mode switch and process switch is that mode switch changes the process privilege between modes like user mode and kernel mode while process switch changes the process state between different states. These processes then load into the main memory for the CPU to execute them.
Explanation:
Answer:
Explanation:
Present value is the value in the present of a sum of money, in contrast to some future value it will have when it has been invested at compound interest.
It can be calculated using future value formula below
A = P(1+r/100)^n
where
A = Future value
P = Present value
r = Rate of interest
n = time period
Present Value = Value at Year 1 + Value at Year 4
Calculating Value at Year 1
A = $5,500
r = 8%
n = 1
From A = P(1+r/100)^n ; Make P the subject of formula
P = A ÷ (1 + r/100)^n
Substitute in values
P = $5,500 ÷ (1 + 8/100)^1
P = $5,500 ÷ (1 + 0.08)
P = $5,500/1.08
P = $5092.5925926
P = $5092.59 ----
Present Value at Year 1 = $5092.59
Calculating Value at Year 4
A = $5,000
r = 8%
n = 1
From A = P(1+r/100)^n ; Make P the subject of formula
P = A ÷ (1 + r/100)^n
Substitute in values
P = $5,000 ÷ (1 + 8/100)⁴
P = $5,000 ÷ (1 + 0.08)⁴
P = $5,000/1.08⁴
P = $3675.149263982267
P = $3675.15 ----
Present Value at Year 4 = $3675.15
Present Value = Value at Year 1 + Value at Year 4
Substitute each value
Present Value = $5092.59 + $3675.15
Present Value = $8,767.74
Answer:
Identifying Responses and Replies by using the drop-down menus to complete the sentences about message response is written below in detail.
Explanation:
A situation like this may be:
Someone receives a bike. They travel it and all, and then all of an unexpected they fall and get injured
If you only understood the first section of how the person received a bike when you draft a response, you would only draft about that piece, but getting harm after receiving the bike is also a huge portion of the "story". You could draft like how you were so pleased when you received your first bike, but you wouldn't remember to address the time you got injured when you were riding down a hill or something.
Answer:
The cable run connecting the new keystone jack to the patch panel is bad.
The patch panel connector for the new location's cable run is not connected to a switch.
Explanation: