Robust Programming Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is validation?

A

This is a check made by the computer to ensure the data entered is reasonable and valid.

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

What is authentication?

A

This is when the program checks that the user is real or that it is not someone trying to hack an account.

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

Name three types of validation.

A

Check digit, Format check, Length check, Lookup table, Presence check, Range check, Spell check.

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

What is input sanitization?

A

This makes sure you don’t make any mistakes like no capital letters in names or two decimal points in money.

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

What is a runtime error?

A

These are errors which may cause program errors or the computer to crash even if there appears to be nothing wrong.

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

What is a syntax error?

A

Syntax errors are mistakes in the way code is written.

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

What is a logic error?

A

A logic error is a bug in the program that causes it to operate incorrectly but not to terminate or crash.

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

What is iterative testing?

A

Iterative testing is where you test the code as you make it. For example a section at a time.

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

What is final testing?

A

This is when you test at the end after you have coded the program.

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

Name two examples of maintainability.

A

Comments, Indentation, Spacing.

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