Software Flashcards
What are logical operators?
AND, OR, NOT
What is a comparator operator
< > =
What error is it if the program functions but doesn’t perform correctly
Logic error
What are the 7 stages of design?
- Analysis
- Design
- Implementation
- Testing
- Documentation
- Evaluation
- Maintenance
What’s a fixed loop?
A loop which will repeat tasks a known amount of times
(For loop in python)
What’s a conditional loop?
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(
What are the pre defined functions?
- Random()
- Round()
- FormatCurrency()
- Len()
What would would Round(7.2566,2) do?
Return the number 7.26
What are the 3 types of test data?
- Normal data: Data within the expected range
- Extreme data: Data at the edge of the expected range
- Exceptional data: Data outside the expected range
What are the 3 types of errors?
- 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)
What is spoke about within efficiency?
- Using too much memory
- Running extra code
What is spoke about within evaluation?
To see if a software is fit for purpose
What is spoke about within robustness?
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
What is spoke about within readability?
Statements in his readable a program is.
You should mention:
- Internal commentary
- Meaningful variable names
- Indentation
- White space
How would you answer a user interface question?
- 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