Software Development Flashcards
What is assignment
(Process)
Give a value to a variable
What is a selection statement
A section of code that is run only if a condition is met
(If statements)
Logical Operators
AND , OR , NOT
Define iteration
Means to repeat something
Standard Algorithms
Input Validation:
(While loops, conditional loops)
Running Total:
Adding something within the loop
Traversing an Array:
When you loop through every item in an array
Concatenation
Joining variables within strings
Fixed loop
The number of loops is predetermined
Normal test
Input Something the programe accepts
Exceptional test data
Input something the programe doesn’t expect
Extreme test data
Highest or lowest values that the program accepts
Data types
String, character, real, boolean, integer
Logic error
Program runs but there is a processing/calculation error
Syntax error
Something wrong in the code
Exceptional error
The program doesnt know how to compute with the input
Define an Array
A record structure that can store multiple variables of the same type
Pre-defined functions
Random, length, round
How to make code more readable
Meaningful variable names
White space
Indentation
Internal commentry
Design notations
Wireframes
Structured diagram
Psuedocode
Python
Code for fixed loop
For i in range( ):
Code for conditional loops
While number >=12: