- Input Validation
Category: Old National 5
National 5 – Software Design and Development (Revision)
Testing and documenting solutions
- Normal, extreme and exceptional test data
- Syntax, execution and logic errors
- Readability of code (internal commentary, meaningful identifiers, indentation)
Data types and structures
- String, character
- Numeric (integer and real) variables
- Graphical objects
- Boolean variables
- 1D arrays
Computational Constructs
- Expressions to assign values to variables
- Expressions to return values using arithmetic operations (+, -, *, /, ^, mod)
- Execution of lines of code in sequence demonstrating input – process- output
- Expressions to concatenate strings and arrays using the & operator
- Use of selection constructs including simple and complex conditional statements and logical operators.
- Iteration and repetition using fixed and conditional loops Pre-defined functions (with parameters)
Nat 5 – HTML Template
HTML5 Blank Template
<!DOCTYPE html>
<html>
<head>
<title> </title>
<meta charset=”UTF-8″/>
</head>
<body>
</body>
</html>
Using a message box to make a choice
It is possible to use a MsgBox to make a choice in your program. You first of all assign a integer variable to the MsgBox then you change the buttons attributes to vbYesNo. vbYesNo is a VB constant that represents a value, the use of the constant means that you do not need to memories the number, vbYes and vbNo are other examples of these VB constants. An IF statement is then used to make the selection.
Past Papers
This course has only been assessed on one occasion (last May). I was asked today for copies of the past papers, here are the only two papers that exist.
More information can be found here.
S4 – Homework for w/b 17th Nov
- Explain the following terms with reference to a database. (3)
- File
- Record
- Field
- State and explain how five organisations could use a data base (5)
- Describe the following field types (9)
- Text
- Number
- Date
- Time
- Graphic
- Calculated
- Object
- Link
- Boolean
Prelim Revision
Please look over the following chapters from the book.
- Chapter 3 – Reading and Interpreting Code
- Chapter 6 – Creating an Information Systems
- Chapter 7 (part) – Mark-up languages
- Chapter 8 (part) – Compressing Graphics, text files, PDF
- Chapter 9 – Hardware