Answer:
a good algorithm must be able to accept a set of defined input. Output: a good algorithm should be able to produce results as output, preferably solutions. Finiteness: the algorithm should have a stop after a certain number of instructions. Generality: the algorithm must apply to a set of defined inputs.Explanation:
Answer:
Demonstrate the register addressing mode for the following instructions. Also what addressing mode belongs to these instructions?
1. MOV CX, [BX+DI]
2. MOV AX, ARRAY[CX]
3. MOV BX, [CX+DI+6]
Answer:
The addition and count algorithm
Explanation:
Answer:
The correct answer to the following question will be "Flash memory card".
Explanation:
A flash memory card seems to be a storage (small) medium which stores data or information on fordable or remote devices using non-volatile transistor technology hardware.
- Most newer offerings include flash storage or memory chips, even though the development of other memory innovations is underway.
- This would be the storage mechanism from which the configuration tool was replicated by Thomas' friend.
Answer:
Option 3 is the correct answer.
Explanation:
- In c, c++ or Java programming language, The for loop takes three parameters in which first is an initialization, second is condition check and the third is an increment. None of the other loop (except for loop) takes three parameters. The other loop takes only one parameter and that is the condition check.
- So when a user knows about the times of iteration then it is a good choice to use the for loop but when the person does not know about the times of iteration if the loop. It means the iteration of the loop is based on the condition then it is a good choice to chose while or Do-while loop.
- The above question wants to ask which loop for a user can best if he familiar with the iteration of the loop then the answer is for loop which is started from option 3. Hence Option 3 is the correct answer while the other is not because--
- Option 1 states about the do-while loop which takes condition only.
- Option 2 states about the while loop which also takes condition only.
- Option 4 states about the infinite loop which is not any loop.
- Option 5 states about none of these which is not correct because option 3 is the correct answer.