Unit 2 Flashcards

1
Q

What is testing?

A

To ensure that a program performs as expected, meeting user requirement

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

What is normal?

A

Data that is valid and represents how program would be used

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

What is boundary?

A

Data that is just barely valid, using the edges of the range

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

What is erroneous?

A

Data that cannot be understood/accepted

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

What is invalid?

A

Data type that is accepted but is not usable

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

What is a syntax error?

A

The grammar and rules of the language have not been followed

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

What is a logic error?

A

Code is written incorrectly but doesn’t cause program to stop working

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

What is iterative testing?

A

Takes place when program development after changes made

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

What is terminal testing?

A

Final test as a whole

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

What is a truth table?

A

Shows every possible output

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

What is a logical statement?

A

Where the outcome can be true or false

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

What is an AND gates output?

A

Both inputs must be on for output to be on

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

What is an OR gates output?

A

Either inputs must be on to make output on

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

What is a NOT gates output?

A

An input of on means it’s off and an input of off means it’s on

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

What is an IDE?

A

A program that provides tools to develop and run programs

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

What is a text editor?

A

Window for a program developer to enter or edit program code

17
Q

What is a highlighter?

A

Identified command words and makes them stand out

18
Q

What is auto-indent?

A

Recognises when to add 4 spaces to next line of code

19
Q

What is auto-complete?

A

When writing code gives a list of possible programming terms

20
Q

What is error diagnostics?

A

Identifying points in code where error occurs

21
Q

What are breakpoints?

A

A line of code where the program will halt running to variables

22
Q

What is a watcher?

A

Shows the current valves of the variables

23
Q

What is stepping?

A

To see what happens as each instruction is run

24
Q

What is the run-time environment?

A

It allows you to run your program while creating it making it easy to check for errors

25
Q

What is casting?

A

Changing data type from one type to another

26
Q

What are the 4 data types in coding?

A

String, integer, float, Boolean

27
Q

What is input text?

A

name = input(“enter your name”)

28
Q

What is input change to an integer?

A

age = int(input(“enter your age”)

29
Q

What is output?

A

print(“your age is”,age)

30
Q

What is selection?

A

if password == “let me in”:
print(“welcome”)
else:
print(“your not welcome”)