nerdexam
ExamsFC0-U61Questions#22
CompTIA

FC0-U61 · Question #22

FC0-U61 Question #22: Real Exam Question with Answer & Explanation

The correct answer is B: Variable. A variable contains a value that can change during the execution of the program. This value might be a text string, a number, or any other data type. Variables are usually declared, defined as a particular data type, and given an initial value at the start of the routine in which

Question

Joe, a developer, is writing a program in which he needs to store a number that changes over the duration of the program's run. Which of the following would Joe MOST likely use to accomplish this?

Options

  • ALoop
  • BVariable
  • CConstant
  • DFunction

Explanation

A variable contains a value that can change during the execution of the program. This value might be a text string, a number, or any other data type. Variables are usually declared, defined as a particular data type, and given an initial value at the start of the routine in which they are used. It is often possible to use undeclared variables, but this can make code harder to read and more prone to errors.

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice
Joe, a developer, is writing a program in which he needs to store... | FC0-U61 Q#22 Answer | NerdExam