AControl instruction
BStore instruction
CTransfer instruction
DOutput instruction
Answer:
B. Store instruction
Read Explanation:
Store Instruction (Assignment): In the context of computer architecture and programming, assigning a value to a variable (e.g.,
x = 10
) is carried out by a STORE operation. This operation takes the calculated or specified value (the constant 10) and places (stores) it into the dedicated memory location or register associated with the variable (x).(A) Control instruction: These instructions manage the flow of the program (e.g.,
if
,for
,goto
,jump
, orcall
).(C) Transfer instruction: This usually refers to an instruction that moves data between different components, often between registers or between memory and a register (like a LOAD instruction, which retrieves a value from memory). While assignment involves a transfer, the final step of placing the value into the variable's memory location is the STORE operation.
(D) Output instruction: These instructions send data from the computer's memory or CPU to an external device (like a printer or screen).