Question: a) A computer system can be decomposed into its component parts. One of the parts is input. Identify two other component parts. b) Formal methods

a) A computer system can be decomposed into its component parts. One of the parts is input.

Identify two other component parts.

b) Formal methods are used to show a proposed solution.

i) Identify the formal methods shown.

Method 1 Password checker Check for eight or more characters Check for

ii) Identify another formal method that could be used to check if the password has more than eight characters.
iii) Use the formal method you identified in part b)ii) to show the same routine to check if the password has more than eight characters.

Method 1 Password checker Check for eight or more characters Check for at least one digit Method 2 START Password checker Check for at least one special character LENGTH (Password) >=8? no Accept FALSE STOP yes Accept TRUE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Cambridge International AS & A Level Computer Science Questions!