paper 2 theory Flashcards
1
Q
what does an identifier table contain
A
- list of variable names
- explanation of what that variable does
- datatype of the variable
2
Q
algorithm
A
- sequence of instructions
- to implement a task/solution to a problem
3
Q
features to make a program easier to read/understand
A
- indentation
- sensible variable names
- comments
- prettyprint
- capitalization of keywords
4
Q
source code
A
represents a solution algorithm expressed in high level language
5
Q
object code
A
- produced by the compiler during translation stage
- the object code is produced by translating the source code
- not produced by interpreter
6
Q
pseudocode
A
a way of using keywords and identifiers to describe an algorithm without following the syntax of a particular programming language
7
Q
flowchart
A
graphical representation of an algorithm
8
Q
verification
A
- checking that data has not been changed during transfer to a computer
- double entry
- parity check
- checksum
9
Q
validation
A
- checking that data meets certain criteria
- range check
- presence check
- length check
10
Q
integrated development environment (IDE)
A
software application that combines all the features and tools needed by a software developer
11
Q
features of an IDE
A
- pretty print
- automatic indentation
- syntax checking
- highlights any undeclared variable
- dynamic syntax checking
12
Q
methods to find errors in IDE
A
- dry run, trace table
- breakpoint: run code to set point to find error
- variable watch: checks the content of variable at specific points
- stepping: execute the code line by line
13
Q
program development cycle
A
- amazing: analysis
- doctors: design
- can: coding
- treat: test
- men: maintenance
14
Q
corrective maintenance
A
- occurs when testing reveals a fault in the program and this is corrected
- used to amend the algorithm to eliminate errors
15
Q
adaptive maintenance
A
- a term used for changes that are made to a program in response to a specification change
- a result of changes to requirements or available technology