Key Area 1.3 - Reading and Interpreting Code Flashcards
What is UML
Unified Modelling Language
The development of an object orientated software such as activity diagrams or case diagrams
What is Pseudocode
A code like description of the stages involved in a task
It is closer to English than a programming language and helps the programmer to write out and understand code
List ways to improve the readability of code
Meaningful variable names
Internal commentary
Indentation
White spaces between lines
What is a fixed loop
When you have a piece of code that the computer will repeat a set number of times
What is a conditional statement
A way of making a choice in programming language
What is a conditional loop
A loop which will allow you to set a condition to a low the program to leave the loop
What are logical operators
AND
OR
NOT
List some testing ranges
Normal - In range
Extreme - Boundary
Exceptional - Out of Range
What is a syntax error
An error resulting from breaking the rules of the language such as missing an end if statement
What is an execution error
An error that prevents the code from running such as a variable which has not been declared
What is a logic error
An error that produces incorrect results but does not stop the program from running such as a badly written complex condition
Name the 2 software development environments
Graphical and text based
List the difference in data types between scratch and Visual Basic
Scratch has no need to declare variables
Scratch does not have Boolean
Scratch contains arrays of string and numbers only
VB has a complete range of variables and arrays hold any type of data
List the differences in constructs between scratch and Visual Basic
Scratch has a wait timer
VB has If Then Else and logical operators
List the differences in editing between scratch and Visual Basic
Scratch prevents syntax errors
VB has more control over the editing process
VB has an error feedback