Answer:
D) can access main memory at the same time as the main CPU
Explanation:
DMA is short for Direct Memory Access, these controllers allow the device to transfer data directly to and from the memory modules without interfering with CPU processes. Therefore it can access main memory at the same time as the main CPU. Thus freeing up CPU processing power for other tasks while also retrieving the data necessary.
The answer would be A.
The rest seem impractical.
Answer:
Please the code snippet below, the code was writen in Kotlin Language
Explanation:
const val inches:Int= 12 . //This is the const value
fun main(args: Array<String>) {
//this will ask the user for input
print("Enter a number")
//this will do the conversion
var valueInFeet= Integer.valueOf(readLine())*inches
print("The value in feet is $valueInFeet feet(s)")
}