Answer:
The output of the given program is
Peach Pear Pineapple.
Explanation:
since the value of var is so control will move to the case 3 directly and executed the statement inside the case 3 so it will print "Peach" in window after that their is no break statement in the case 3 the control moves the case 4 and executed the statement inside the case 4 so it will print "Pear" in window again there is no break statement in the case 4 the control moves the case 5 and executed the statement inside the case 5 so it will print "Pineapple".Finally, the break statement is reached the execution of the program is stopped.
Answer:
import sys, time
from os import walk, remove
from os.path import exists, join, getsize, getctime
file_counter = [ ]
folder_name, file_size = argv
isExist = exists( folder_name )
if folder_name == True:
for root, folder, files in walk( folder_name ):
for file in files:
if getsize( join ( root, file ) ) >= file_size:
file_log = [ ]
file_log.append( file )
file_log.append( join ( root, file) )
file_log.append( time.ctime( getctime( file ) ) )
file_counter.append( file_log )
else:
remove ( join ( root, file ) )
Explanation:
The python script above output the filename, size and file creation date of any folder passed to it.
Answer:
Relay
Explanation:
They both perform similar functions in terms of control of voltage and current but the relay would be better because although it cannot produce a variable output like that of an amplifier, it has the capacity to isolate its input from its output.
<u>Uml (Unified Modified Language):</u>
In those days before software development normally we used flow chart, which will have Start, Process, Conditions and Stop, Modified version of flow chart is called UML (Unified Modified Language).
UML is standard model language which help develop understand flow of the software. Uml (Unified Modified Language).
There are 7 type of diagram is used in Uml (Unified Modified Language).
- Composite Structure Diagram.
I will suggest profile diagram and class diagram.
- Profile diagram – This diagram is just to define use role and user rights.
- Class diagram: - This diagram explains the class and their uses in the software development.
Yes, you can, with certain apps or with websites. Try Mozilla Web Maker.