Answer:
Option d) B is 1.33 times faster than A
Given:
Clock time, 

No. of cycles per instructions, 

Solution:
Let I be the no. of instructions for the program.
CPU clock cycle,
= 2.0 I
CPU clock cycle,
= 1.0 I
Now,
CPU time for each can be calculated as:
CPU time, T = 


Thus B is faster than A
Now,


Performance of B is 1.33 times that of A
<span>A pointing device controls the movement of the </span>Mouse Pointer
user_str1 = str ( input ("Please enter a phrase: "))
user_str2 = str ( input("Please enter a second phrase: "))
def strcmp (word):
user_in1 = int (len(user_str1))
user_in2 = int (len(user_str2))
if user_in1 > user_in2:
return "Your first phrase is longer"
elif user_in1 < user_in2:
return "Your second phrase is longer"
else:
return "Your phrases are of equal length"
People who use Windows OS.