def min(x,y):
smallest = x
if y < smallest:
smallest = y
return smallest
x = min(2,1)
print("The min is "+str(x))
Although I wouldn't recommend using the name min for a function because min is the name of an existing function. Best of luck.
Answer:
C
Explanation:
All the calculation by computer is performed in base 2. Base 2 is also named as binary computation and it is used in all the computer and digital data processing processors.
Some differences between base 2 and base 10 are:
- Base 2 number system contains 0 and 1 whereas base 10 is from 0 to 9.
- Digital systems works on 0 and 1 logic i.e on and off logic. So we use digital system easily in binary domain whereas, decimal system has 0-9 levels and they are hard to be catered in digital domain.
- Base 10 is used in normal calculations for daily use and binary is only confined to digital domain.
I would say a host or end system
Meters * 1,000,000,000 = gigameters
Answer:
A programming design communicates decisions about the programming approach and saves time, money, and effort.
Explanation:
It is important to decide upon a programming design before developing a software solution. Starting out with a design benefits a project because:
1. it communicates decisions about the programming approach to all project team members.
2. it helps to ensure that different parts of the code developed by different programmers will integrate properly.
3. it helps to ensure that code will be easy to read and maintain.
4. it saves time, money, and effort.