# CTE Resource Center - Verso - Programming, Advanced Task 1362466408

CTE Resource Center - Verso

Virginia’s CTE Resource Center

Code a program that uses error-handling and input-validation procedures.

Definition

Coding should include error handling and input validation accomplished by any of the following statements:
  • Try/Catch
  • Try/Catch/Finally
  • If/Then
  • Program-defined methods or functions
  • Message box validating keyword

Related Standards of Learning

Mathematics

COM.1

The student will design and apply computer programs to solve practical problems in mathematics arising from business and applications in mathematics.

COM.2

The student will design, write, document, test, and debug, a computer program.

COM.3

The student will write program specifications that define the constraints of a given problem.

COM.10

The student will design and implement the input phase of a program, which will include designing screen layout, getting information into the program by way of user interaction and/or file input, and validating input.

COM.17

The student will test a program using an appropriate set of data. The test data should include boundary cases and test all branches of a program.

COM.18

The student will debug a program using appropriate techniques (e.g., appropriately placed controlled breaks, the printing of intermediate results, other debugging tools available in the programming environment), and identify the difference among syntax errors, runtime errors, and logic errors.

Other Related Standards

FBLA Competitive Events and Activities Areas

Computer Game & Simulation Programming

 

Desktop Application Programming

 

Mobile Application Development