Answer:
<u>D. In DMA, interrupt is sent when the task is completed</u>
Explanation:
Note, the term Direct Memory Access simply refers to a computer feature that allows hardware subsystems to directly access the main system memory of a computer, without any the aid of the central processing unit (CPU).
It is a fact that while the transfer process is ongoing, an interrupt (interrupt signal) is not sent until when the task is completed.
Answer:
The last 2 point in the given question is the correct answer to the given question i.e
- an argument passed to the function in the correct positional order
- an argument wherein the number of arguments in the function call should match the definition of the function.
Explanation:
The required argument are those argument that are passing to the method the in the right location order.In the required argument the number of arguments in the call method must match the definition of the function .
For example
def fun( s ): #function definition
print(s) #display s
fun('er')#calling
In this example there is function fun() in which we pass the argument 'er' we call that function from main() .The control moves to the function definition it checks the number of argument in the calling function fun() is matched with the definition of function fun() and print 'er'.
All the other option are not describing the required argument that's why this is incorrect option .
It should be compiled. It won't work if it's not compiled.
Answer:
a. a syntax error
Explanation:
When the same variable name is repeated in the parameter set and the method body, it will result in a syntax error. This is because the variable in the parameter has a local scope within the method body. Now if we declare another variable with the same name in the method body, it will result in redefinition of the variable and violate the uniqueness principle of variable names in the method code. This will give rise to syntax error.
Answer:
i do not know
Explanation:
but it helps to communication