1.
first = float(input("First Entry = "))
second = float(input("Second Entry = "))
def func(num1, num2):
    return max(num1, num2)
print(func(first, second))
2.
first = input("First Entry = ")
second = input("Second Entry = ")
def func(word1, word2):
    return sorted([word1,word2])[0]
print(func(first, second))
I hope this helps!
 
        
             
        
        
        
Answer:
A device is indeed a computer unit that can relay a signal throughout the phone, any contact cable or wirelessly. A modem is the best illustration of such a device of communication.
Explanation:
A device that transforms a computer's signals and transmits data over cell towers, known as Modem.
It stands for "Modulator and Demodulator" and are of two types such as: Internal and External. It is being used for accessing the site that modulates carrier tides to encode the transmitting data as well as demodulates arriving waves to decode the documentation they hold.
Other means of communication shall include:
- Routers.
- Hub.
- Switch.
- Bridge.
- Network cards.
So, it's the right answer.
 
        
             
        
        
        
Answer:
-3874₁₀ = 1111 1111 1111 1111 1111 1111 1101 1110₂
Explanation:
2's complement is a way for us to represent negative numbers in binary.
To get 2's complement:
1. Invert all the bits
2. Add 1 to the inverted bits
Summary: 2's complement = -N = ~N + 1 
1. Inverting the number
3874₁₀ = 1111 0010 0010₂
~3874₁₀ = 0000 1101 1101₂
2. Add 1 to your inverted bits
~3874₁₀ + 1 = 0000 1101 1101₂ + 1
= 0000 1101 1110₂ 
You can pad the most signigicant bits with 1's if you're planning on using more bits.
so,
12 bits                          16 bits
0000 1101 1110₂  = 1111 0000 1101 1110₂ 
They asked for double word-length (a fancy term for 32-bits), so pad the left-most side with 1s' until you get a total of 32 bits.
            32 bits
= 1111 1111 1111 1111 1111 1111 1101 1110