Designing solutions using appropriate tools - CCEASuccess criteria

In this unit, students design, develop and test coded solutions when creating digital systems. Students must use one of the following languages in their completed solution: Python, Java or C#.

Part ofDigital Technology (CCEA)Digital development practice (programming)

Success criteria

Once you have identified your success criteria, it is time to create design plans. You must provide clear to solve each success criteria. Your algorithms should be represented using a combination of both and . For example:

  • Success criteria 1: The solution will include a function to capture user's name as a string, use a length check to validate the name and return the name variable.
Example of a flowchart containing functions, checks and variables.

Pseudocode:

START INPUT Name
WHILE LENGTH Name >= 50: OUTPUT ERROR
RETURN Name
END
  • Success criteria 3: Four functions will be created that will add, subtract, multiply and divide integer value. The function will accept two numbers as arguments and return the result after the mathematical operation

Pseudocode:

Create a function called SUBTRACT(A, B): Display on screen A - B
FUNCTION ADD(A, B): Return A + B
FUNCTION MULTIPLY(A, B): Return A * B
FUNCTION DIVIDE(A, B): Return A / B

You should show how your modules will work together. This can be represented in a flow chart. Remember, each function (like name and Subtract) will have its own algorithm.

So far, our example will look like:

Example of a system flowchart incorporating functions and loops

This system flowchart shows how the name function is called and, once a valid name has been input, the quiz level function is called.

If a valid level is entered (1, 2 or 3) a For loop (x 10) will call the number function to generate two numbers less than 10, then randomly call and pass the numbers to one of the four maths questions.