<em>hoping</em><em> that</em><em> </em><em>it </em><em>was </em><em>helpful</em><em> to</em><em> </em><em>you</em>
<em>plz </em><em>mark </em><em>me </em><em>as </em><em>brainlist</em><em> answer</em>
Answer:
userInput = input("Please enter a string of words ")
userInput.split ()
for item in userInput.split ():
if item =="darn":
print("Censored")
break
else:
print(userInput)
Explanation:
Using Python programming language, the input function is used to receive the users input and save in a variable userInput
Then the .split method is used to convert the words into a list of words.
Using a for loop, the code checks for the word darn and prints censored if it exists else it prints the userInput
Answer:
Time taken to travel from one track to the next = 0.08ms
Initial track= 15 0
4 (15-4)*(0.08)= 0.88
40 (40-4)*(0.08)= 2.88
35 (40-35)*(0.08)= 0.4
11 (35-11)*(0.08)= 1.92
14 (14-11)*(0.08)= 0.24
7 (14-7)*(0.08)= 0.56
----------------------------------------------
Total seek time=0.88+2.88+0.4+1.92+0.24+0.56=6.88ms
Explanation:
We caculate the seek time for each request, and then add them together to find the total seek time. The final track number for the current request becomes the current track of next request, and this process is repeated till the last request is processed.
Answer:
In a <u>little endian computer</u> -The data's least substantial byte is put at the lower address byte. The remaining information will be put in memory in order in the next three bytes.
a)1234
4 is placed at the least significant bits,so this byte stored at lower memory address.
1 is placed at the most significant bits,so this byte stored at higher memory address.
b) ABFC
C is placed at the least significant bits,so this byte stored at lower memory address.
A is placed at the most significant bits,so this byte stored at higher memory address.
c) B100
0 is placed at the least significant bits,so this byte stored at lower memory address.
B is placed at the most significant bits,so this byte stored at higher memory address.
d) B800
0 is placed at the least significant bits,so this byte stored at lower memory address.
B is placed at the most significant bits,so this byte stored at higher memory address.
top i believe is the answer