Unit 4 Notes Flashcards

1
Q

How well the solution has met the Scenario Requirements.

A

What have you covered in the scenario?

_How have you met the requirements – justify each point.

“The customer’s details are required for the pizza order and so I have allowed for user input for name, address and phone number and stored them into relevant variables.”

_If you didn’t meet all the scenario then why not, was it time, ability or any other issues that you could not resolve.

_Technical Jargon used & logical links between aspects of the solution and the requirements of the scenario

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The Quality and Performance

A

_Is the code robust and efficient – explain why and justify why you wrote the code as you did.

_Explain the validation techniques you built in and justify why?

_Any functions used within the program – justify why?

_Is the program robust, will it deal with unexpected user input?

_Is the program at an acceptable level of performance, does the user have to wait for something to happen?

_Technical Jargon used & logical links between aspects of the solution and the requirements of the scenario

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Choice of Coding Conventions

A

_Did you use comments, indentations and naming conventions within your code?

_Spacing to allow for a more readable program?

_Did you use camelCasing when naming variable / constants etc?

_Any functions used to separate code?

JUSTIFY ALL OF THE ABOVE!

_Technical Jargon used & logical links between aspects of the solution and the requirements of the scenario.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Any changes made during development

A

_What changes did you make DURING development? (Remember iterative development)

_JUSTIFY ALL development changes – LINK to the scenario / requirements.

_Technical Jargon used & logical links between aspects of the solution and the requirements of the scenario.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Class

A

public static string Password;

public static string Validation = “£$^(){}_-@’~?/>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Put this in Password Do Loop

A
foreach (char Val in Validation)
                {
                    if (Password.Contains(Val))
                    {
                        valPoints = valPoints + 1;
                    }
                }
                if (valPoints > 0)
                {
                    Match = true;
                    Console.WriteLine("AAAAAAAA");
                }
                else if (valPoints == 0)
                {
                    Match = false;
                }
            valPoints = 0;
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Put this in points checker

A

if (char.IsSymbol(character) || char.IsPunctuation(character))
{
SpecialScore = SpecialScore + 10;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly