Answer:
A.O(1)
Explanation:
In the implementation of queue by using linked chain the performance of the enqueue operation is O(1).We have to maintain two pointers one head and the other tailand for enqueue operation we have to insert element to the next of the tail and then make that element tail.Which takes O(1) time.
Answer:
Explanation:
The following is written in Python and uses exception handling to do exactly as requested. It then goes adding all of the integer values to an array called num_list and finally adding them all together when the function ends.
def in_values():
num_list = []
while True:
try:
num = input("Input non-zero floating point: ")
num = int(num)
if num == 0:
break
else:
num_list.append(num)
except ValueError:
print("No valid integer! Please try again ...")
try:
num = input("Input non-zero floating point: ")
num = int(num)
break
except ValueError:
break
sum = 0
for number in num_list:
sum += number
return sum
Answer:
Data is encrypted on SSH
Explanation:
Telnet and SSH both are the networking protocols. These protocol are used for the security of data. In telnet data is sent over the link without any encryption. That is the reason, in telnet protocol data is less secure.
In SSH (Security Shell) protocol data has been encrypted before transmission. The encryption of data make it more secure between transmitter and receiver.
So the true statement is that, SSH has data encryption.