Answer:
b) A separate part of the program that performs a specific task.
Explanation:
A subroutine is a portion of the program that can be invoked to perform a specific task. Typically, it performs that task and returns execution control to the point immediately following its invocation. It may or may not maintain "history" or "state", and it may or may not throw exceptions.
A well-behaved subroutine will only operate on data passed to it, will not maintain any internal history or state, and will have only one exit.
Answer:
grade = int(input("Enter grade: ")
if grade > 90:
print("A*")
elif grade > 80 and grade < 90:
print("A")
elif grade > 70 and grade < 80:
print("B")
elif grade > 60 and grade < 70:
print("C")
elif grade > 40 and grade < 50:
print("E")
else:
print("Fail")
Explanation:
Answer:
File Allocation Table(FAT):- It is a computer file system design and it is widely used on many computers and most of the memory cards. FAT file systems are commonly found on flash memory cards,floppy disks, digital cameras, and many other portable devices.
In floppy disks, the FAT has been standardized as ISO/IEC 9293 and ECMA-107.These include FAT12 and FAT16 only without any long filename support.