Components of Programming

Virginia SOL CM.CP.5

Write and implement the input phase of a computer program.

What students need to be able to do

  • Write and implement input statements to store user-given values into a program.
  • Validate input data using exception coding (e.g., using a 'while' loop to control valid input by a user).
  • Determine what output a program will produce given a specific input.