Answer:
B.O(1)
Explanation:
When we are implementing ADT stack using linked chain we can pop an entry from the stack having O(1) time complexity because in linked chain we have the head or top pointer in linked chain only.Popping and pushing in stack happens on only one end that is top.So we have move to move top in linked chain to the next and delete prev node.
TCP tells or state how applications can make channels of communication across a network.
<h3>What is the role of TCP?</h3>
TCP is known to often help in the management of how a message is put together into smaller packets before they are sent or transmitted over the internet and then put together again in the right way at the arriving or destination address.
Therefore, TCP tells or state how applications can make channels of communication across a network.
Learn more about TCP from
brainly.com/question/17387945
#SPJ11
Answer:
(a). Voltage X Current
Explanation:
Power -
In the concept of physics , power is denoted by P ,
Power = Voltage * Current
Power = V * I
The unit is Ampere * Voltage
Power is defined as the rate of work done , i.e. , work divided by time .
Power = work / time .
Power is a scalar quantity .
The standard unit of power is Watt , which is denoted by W .
You're setting the value of user_num to 20. Doing this won't allow the other test cases to run. Simply delete that line and your code should work. This is the code I wrote:
user_num = int(input())
while user_num>=1:
user_num/=2
print(user_num)
I wrote my code in python 3.8. I hope this helps.