The most efficient thing to do would be to provide training as firing or doing nothing halts productivity indefinitely while training eventually will finish
Answer:
The correct answer for the given question is "Machine languages can be used to write programs that can run on any machine."
Explanation:
The machine language consist of binary digit i. e 0 and 1 .Computer can understand only the machine language .The machine language consist of code that is written in bits so it is used to express algorithms.When any program is compiled the compiler are converted into machine code so the machine language is produced by the compiler .
Machine language cannot used to write a program that run on any machine.
84÷2=42. 84÷3=28. 84÷4=21. 84÷6=14. So your answer is true.
```
#!/usr/local/bin/python3
import sys
coins = { "quarters" : 25, "dimes" : 10, "nickels" : 5, "pennies" : 1 }
def mkChange( balance, coin ):
qty = balance // coins[ coin ]
if( qty ):
print( str( qty ) + ' ' + coin )
return( balance % coins[ coin ] )
if( __name__ == "__main__" ):
if( len( sys.argv ) == 2 ):
balance = int( sys.argv[ 1 ] )
balance = mkChange( balance, "quarters" )
balance = mkChange( balance, "dimes" )
balance = mkChange( balance, "nickels" )
balance = mkChange( balance, "pennies" )
else:
sys.stderr.write( "\nusage: " + sys.argv[ 0 ] + " <change owed>\n" )
```
Answer:
4 is the correct answer for the above question.
Explanation:
- If the if-else sequence has 4 blocks then it will be designed like if, else-if, else-if and then else which made 4 blocks which are as follows:-
- The first block is an if block.
- Then the second block is an else-if block.
- The third block is also else-if block and
- The fourth block else blocks.
- So there is a need of 4 value (one value for each case) to test the application which is defined in the above scenario.
- It is because when the first if statement is false then the first else-if statement is executed and when the first else statement is false then the second else-if statement is executed and when it is false then the else statement will executed.