Software Design and Development Flashcards
Integer
Whole numbers
Real
Decimal numbers
Boolean
True or False
String
Text
What is an Array?
Lets the user store lists of data in one variable
What is a fixed loop?
Repeats a loop a set amount of times
What is a conditional loop?
Repeats a loop until it is declared as true
Used for input validations
How do you implement a running total?
Total = 0 Total = total + 1
What are the 3 Pre-Defined Functions
Round
Random
Length
3 Types of Errors
Syntax Error
Executional Error
Logic Error
What is a Syntax Error?
Occurs when the rules, of programming language that is being used, is broken.
Eg; forgetting to close a loop or close a bracket.
What is a Executional Error?
Causes the program to crash even if there appears to be nothing wrong with it
What is a Logic Error?
When the program runs but does not do what its supposed to
Give an example of an operator
=, AND, OR, * etc
3 design methods
Pseudocode
Flowcharts
Structured diagram