Unit 8 - Systems Software & Robust Programming Flashcards
What is Input validation?
Checking input meets certain rules, e.g. the type of data.
What is Anticipating misuse?
Creating precautions for unintended use of the program
What is Authentication?
Entering data twice or checking from an alternative source.
Explain the Use of sub programs.
Creating reusable code where bugs can easily be fixed.
What are Naming conventions?
Good use of variables and sub program names makes programs easier to read.
What is Indentation?
Makes programs easier to read.
What is Commenting?
Helps programmers understand what a program does and how it does it.
What is a Syntax error?
A syntax error is one where the code written doesn’t conform to the rules of the language.
What is a Logical error?
A logical error is when a code runs in a way that is not intended by the programmer, but usually does not prevent it from running.
What are the 4 types of test data and what do they mean?
Normal data: Data that fits within all parameters with ease; Boundary data: Data which is just above or below the minimum or maximum requirements; Invalid data: Data which does not fit within the parameters; Erroneous data: Data which is the wrong type.
Give 3 examples of a High-level Programming language.
Python, Java, C#
Give an example of a Query language.
SQL
Give 2 examples of Markup languages.
HTML, XML
Give an example of a Low-level Programming language.
Assembly language
What is machine code?
Code that is read by the machine and is highly difficult to read by people