Software Flashcards

1
Q

What are logical operators?

A

AND, OR, NOT

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

What is a comparator operator

A

< > =

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

What error is it if the program functions but doesn’t perform correctly

A

Logic error

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

What are the 7 stages of design?

A
  • Analysis
  • Design
  • Implementation
  • Testing
  • Documentation
  • Evaluation
  • Maintenance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s a fixed loop?

A

A loop which will repeat tasks a known amount of times

(For loop in python)

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

What’s a conditional loop?

A

When a programmer doesn’t know how many times the code will need to be looped. Conditions needed to be met to pass

(while loop in python(

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

What are the pre defined functions?

A
  • Random()
  • Round()
  • FormatCurrency()
  • Len()
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What would would Round(7.2566,2) do?

A

Return the number 7.26

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

What are the 3 types of test data?

A
  • Normal data: Data within the expected range
  • Extreme data: Data at the edge of the expected range
  • Exceptional data: Data outside the expected range
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the 3 types of errors?

A
  • Syntax error: The code isn’t typed correctly WONT START RUNNING
  • Execution error: Once the program has been translated there is a problem that occurs. (WRONG DATA TYPE, DIVIDING BY ZERO, NOT EXITING CONDITIONAL LOOP) WILL RUN UNTIL THE PROBLEM
  • Logic error: Program will function without crashing but wont give the expected results WILL RUN BUT GIVE INCORRECT ANSWERS (mostly in calculations)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is spoke about within efficiency?

A
  • Using too much memory
  • Running extra code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is spoke about within evaluation?

A

To see if a software is fit for purpose

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

What is spoke about within robustness?

A

Robustness is the ability of a program to run without crashing. This happens by including validation which means the program will deal with appropriate data and not crash

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

What is spoke about within readability?

A

Statements in his readable a program is.
You should mention:
- Internal commentary
- Meaningful variable names
- Indentation
- White space

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

How would you answer a user interface question?

A
  • Drawing out how the question would look.
  • maybe use boxes with words in them like calculate or certain inputs
  • SHOULD ALSO INCLUDE LABELS IF THE BOXES ARE INPUTS, PROCESSES, OR OUTPUTS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly