Design, Testing and IDEs

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:01 PM on 4/6/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

23 Terms

1
New cards

advantages of structure diagrams (5)

  • coding is easier

  • easy collaboration because modules are written independently

  • easy to test each module individually

  • easy to fix each module

  • reuse the subprograms

2
New cards

why should code be well maintained?

  • easier for other programmers to understand

3
New cards

how to improve maintainability of code: (4)

  • comments - explains code to other programmers

  • indentation - programmers can see the different structures

  • naming conventions - programmers can understand the purpose of the variables and keep track of them

  • subprograms - programmers see how different parts work

4
New cards

how can programmers protect their programs with defensive design? (3)

  • anticipate misuse and prevent it

  • ensure their code is well maintained

  • reduce the errors with testing

5
New cards

define input validation

checking if data meets certain criteria before passing it into the program

6
New cards

5 input validation checks:

  • range check - within specified range

  • length check - correct length

  • format check - correct format

  • presence check - entered data

  • look-up table - against acceptable values

7
New cards

how to increase the security of a password based authentication system: (3)

  • strong passwords changed regularly

  • limit failed attempts

  • random selection of characters from the password

8
New cards

define syntax error

problem with the grammatical rules of the programming language. code doesn’t run

9
New cards

define logic error

problem with the code which still runs but produces an unexpected output

10
New cards

what is iterative testing?

program is tested during development. modules are tested so that they work

11
New cards

what is final testing?

testing the whole program at once after it has been developed

12
New cards

4 types of test data:

  • boundary - limit of the range

  • erroneous - incorrect data type

  • normal - correct and should be accepted

  • invalid - correct data type, outside of range

13
New cards

characteristics of high level languages: (5)

  • one line represents many of machine code

  • code works on different processors

  • code is easy to read, write, teach and understand

  • must be translated

  • programs are slower and less memory efficient

14
New cards

characteristics of low level languages: (4)

  • compatible for one processor

  • code is hard to read, write, teach and understand

  • doesn’t need to be translated

  • more memory efficient and faster

15
New cards

define interpreter

translates code line by line

16
New cards

define compiler

translates the whole code and produces an executable file

17
New cards

advantages of interpreter: (2)

  • better for debugging because the code stops once an error is found

  • less memory use

18
New cards

disadvantages of interpreter: (2)

  • programs run slower - translated every time

  • has to be distributed with source code (no executable file) - modified without permission

19
New cards

advantages of compiler: (5)

  • run quickly once translated

  • creates executable file - cannot be modified

  • only needed once

  • optimises code

  • produces an error report of all the errors

20
New cards

disadvantages of compiler: (3)

  • worse for debugging - errors returned after all the code has been translated

  • compiling is slow

  • memory use

21
New cards

features of IDEs:

  • code editor

  • run-time environment

  • error diagnostics

  • translators

  • (Breakpoints)

22
New cards

what does a code editor have?

  • line numbering

  • auto-colour coding

  • auto-correct

  • auto-indentation

  • auto-complete

23
New cards

how do error diagnostics help?

  • debugging to find errors

  • location of the error and how to fix it

Explore top notes

note
Elements
Updated 1296d ago
0.0(0)
note
y9 science
Updated 144d ago
0.0(0)
note
catholicism
Updated 1259d ago
0.0(0)
note
Cubic and Reciprocal Graphs
Updated 1180d ago
0.0(0)
note
Elements
Updated 1296d ago
0.0(0)
note
y9 science
Updated 144d ago
0.0(0)
note
catholicism
Updated 1259d ago
0.0(0)
note
Cubic and Reciprocal Graphs
Updated 1180d ago
0.0(0)

Explore top flashcards

flashcards
Latin Michaelmas exam vocab
35
Updated 148d ago
0.0(0)
flashcards
SP1VS - AR Verbs (A-L)
36
Updated 1045d ago
0.0(0)
flashcards
KD PC 21 (Juniors)
27
Updated 1163d ago
0.0(0)
flashcards
BIS 2B Midterm 2
203
Updated 770d ago
0.0(0)
flashcards
AIS MC Quizzes Midterm
40
Updated 1140d ago
0.0(0)
flashcards
Chemistry Midterm #6
21
Updated 850d ago
0.0(0)
flashcards
BIO-112 Test 2
57
Updated 1124d ago
0.0(0)
flashcards
animal cell
30
Updated 1207d ago
0.0(0)
flashcards
Latin Michaelmas exam vocab
35
Updated 148d ago
0.0(0)
flashcards
SP1VS - AR Verbs (A-L)
36
Updated 1045d ago
0.0(0)
flashcards
KD PC 21 (Juniors)
27
Updated 1163d ago
0.0(0)
flashcards
BIS 2B Midterm 2
203
Updated 770d ago
0.0(0)
flashcards
AIS MC Quizzes Midterm
40
Updated 1140d ago
0.0(0)
flashcards
Chemistry Midterm #6
21
Updated 850d ago
0.0(0)
flashcards
BIO-112 Test 2
57
Updated 1124d ago
0.0(0)
flashcards
animal cell
30
Updated 1207d ago
0.0(0)