A program displays which pupil has the highest mark. The Standard Algorithm use would be?
- Finding the Maximum
- Finding the Minimum
- Input Validation
- Counting Occurrences
A program ensures that only numbers from 1 to 5 can be enetered. The Standard Algorithm used would be:
- Input Validation
- Counting Occurrences
- Linear Search
- Finding the Maximum
A text editor could be use for?
- Translating high level languages
- Copying and pasting, inserting and deleting, editing code
- Designing the form
- Testing programs
A tutorial teaching you how to work a program would be part of?
- The user guide
- The system requirements
- The internal commentry
- The technical guide
An interpreter?
- Translates and executes high level language line by line
- Translates the whole program in one go
- Executes machine code programs
- Does not tell you about any errors until the program is complete
Code written in an English-like language is called?
- High Level Language
- Medium Level Language
- Low Level Language
- Binary code
DO ... LOOP UNTIL count > 10 is an example of?
- A conditional loop
- An unfixed loop
- A nested loop
- An unconditional loop
FOR count = 1 TO 10 ... NEXT count is an example of?
- A fixed loop
- A conditional loop
- An unconditional loop
- An unfixed loop
If you want to store a set of 10 names you would use?
- A string array
- A numeric array
- An integer
- A string
If you want to store a set of 10 number you would use?
- A numeric array
- A string array
- A string
- An integer
If you want to test a number is between 0 and 100, the condition would be:
- number < 0 AND number > 100
- number >= 0 AND number <= 100
- number <= 0 OR number >= 100
- number >= 0 OR number <= 100
In a programming language, a pre-defined function is?
- A built-in piece of code that calculates something
- A subroutine
- A translator
- An algorithm
In the Design stage, the advantage of a structure diagram is:
- It gives an overall picture of the program
- It can be translated in one go into machine code
- It corresponds line by line to the actual program
- It tells you how to install the program
In the Design stage, the advantage of pseudocode is:
- It gives an overall picture of the program
- It corresponds line by line to the actual program
- It gives instructions on how to operate the program
- It can be translated in one go into machine code
In the PPMS program, details of any pupil can be found. A possible Standard Algorithm used would be?
- Linear Search
- Counting Occurrences
- Input Validation
- Finding the Maximum
Machine code is?
- The computer's binary language
- An English type programming language
- A code for numbers
- A code for text
Structure Diagrams are often used at the design stage because:
- They give an overall plan of the program
- They design the form for you
- There are lots of graphics in programs
- They translate line by line into program code
The most suitable set of test data for a program that takes in marks out of 100 woule be?
- -15, 0, 1, 23, 45, 67, 99, 100, 125
- 0, 0.5, 1, 49.6, 50, 50.6, 99, 99.6, 100
- -1, 0, 1, 99, 100, 101
- a, b, -5, 2.05, 3.14, 56.0003, 102.7
The Validation Algorithm can be used to ensure that:
- Only valid output is produced by a program
- Only correct data is allowed to be entered into a program
- Only input within a certain range is accepted by a program
- Only correct data is output by a program
What is meant by 'Fit for Purpose'?
- It doesn't crash easily
- It is well documented
- The software does what the analysis stage said it should do
- The code has lots of internal documentation
What is the purpose of the Analysis stage?
- Deciding what is needed, fully understanding the problem
- To design a solution
- To write the program
- To create pseudocode
What is the purpose of the Design stage?
- To fully understand the problem
- To produce an overall plan of the program
- To write the program
- To evaluate the solution
What is the purpose of the Documentation stage?
- To fully understand the problem
- To produce an overall plan of the program
- To produce a User Guide and Technical Guide
- To write the actual programming code
What is the purpose of the Evaluation stage?
- To fully understand the problem
- To produce an overall plan of the program
- To check the program does what it is supposed to do
- To produce a User Guide and Technical Guide
What is the purpose of the Implementation stage?
- To fully understand the problem
- To write the actual programming code
- To evaluate the solution
- To test a solution
What is the purpose of the Testing stage?
- To fully understand the problem
- Run the program with test data to ensure it doesn't crash
- To write the actual programming code
- To check the program does what it is supposed to do
When testing a program that takes in ages of primary pupils aged 4 to 12, the exceptions that could be tested are:
- -6 and 15
- 5 and 13
- 0 and 11
- 7 and 11