Final exam Flashcards

(12 cards)

1
Q

What are functional requirements (ddd)

A

The processes that the system has to perform and details of the data that the database will store

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

What are functional requirements (sdd)

A

Inputs, processes and outputs of

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

What would normal test data be for between 1-60

A

54, 32

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

What would extreme test data be for between 1-60

A

1, 60

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

What would exceptional test data be for between 1-60

A

-45, three

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

What are syntax errors

A

Syntax errors are errors in code such as mis-spelled keywords or incorrect use of the programming language rules And will cause the program to crash

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

What are execution errors

A

Execution errors (also called run-time errors) will cause the program to crash unexpectedly due to unexpected data, or incorrect data

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

What are logic errors

A

A logic error does not cause the program to crash, but it will produce unexpected results.

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

How to do a running total within a loop

A

Total = 0
for I in range(5):
print(“Enter a
number”)
number = int(input())
total += number
print(total)

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

Assignment

A

Number = 3
Text = “hi”

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

How to do an input validation

A

print(“Enter a number between 1 and 10”)
number = int(input())
while number < 1 or number > 10:
print(“Invalid - enter a number between 1 and 10”)
number = int(input())

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

How is a program fit for purpose

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