The first 3 should be the answer
Answer:
The program to this question can be given as:
Program:
def swap_values(user_val1, user_val2): #define function
return (user_val2, user_val1) #return values
if __name__ == '__main__': #define constructor.
n1 = int(input('Enter first number :')) #input value form user
n2 = int(input('Enter second number :')) #input value form user
(n1,n2) = swap_values(n1,n2) #hold function values.
print(n1) #print values
print(n2) #print values
Output:
Enter first number :3
Enter second number :8
8
3
Explanation:
The explanation of the above python program can be given as:
- In the python program we define a function that is "swap_values". This function takes two integer values that is "user_val1 and user_val2" as a parameters and returns variable values that is "user_val2 and user_val1".
- Then we use a constructor in this we define two variable that is "n1 and n2" these variable are use to take user-input from the user and pass the value into the function.
- To hold the value of the function we use n1 and n2 variable and print these variable value.
Answer:
1. Capacitor.
2. Inductor.
3. Resistor.
4. Battery.
5. Transistor.
Explanation:
1. <u>Capacitor</u>: this component stores a temporary charge.
2. <u>Inductor</u>: this component stores electric energy in the form of a magnetic field.
3. <u>Resistor</u>: this component prevents components from overheating.
4. <u>Battery</u>: this component produces electricity by converting chemical energy into electric energy.
5. <u>Transistor</u>: the voltage applied to the base can control the current that flows across the emitter and collector.
<span>Some causes of the number of bytes on the wire exceeding the number of bytes being captured is that </span>not everything is being captured or that partial packets may be captured which could lead to incorrect analysis. If there are regularly more bytes on the wire than captured, then, it is possible that the computer on which Wireshark is running is not able to keep up with the interface.