Appropriate use of coding constructs is evaluated to determine the efficiency of software as it relates to use of RAM. Software is measured against the functional requirements to evaluate fitness for purpose.
If your teacher told you to use 'indentation' in your code what would this mean?
You move certain parts of your code a little to the right to make it easier to read
Add details of what your code is doing
You need to name your variables better
What is internal commentary?
When the program runs and accepts input from the keyboard
Lines in your code that describe what is going on in the program
A program that uses voice output to detail internal errors in the code
Why is it a good idea to use internal commentary in your programs?
The program will run faster
It makes writing programs quicker
It makes the code more readable
Why is it a good idea to use meaningful variable names in your programs?
Some programming languages only let you use variable names that relate to the data that they hold.
It helps you with your spelling in English so it’s cross-circular.
It helps you work out what data is held in a variable.
Which of the following is an example of a good variable name?
Which of the following is a definition of robustness?
The program can cope with unexpected or incorrect input
The program is easy to read, with good use of indentation
The program makes best use of available RAM and processor time
Which of the following is an efficient approach to storing ten first names?
Store the names in fixed loop
Store the names using ten individual variables
Store the names using a 1D array
Why can use of nested IFs be regarded as more efficient than using a series of independent IF statements
Using nested IF statements correctly will result in conditions being checked only until a solution is found
Using nested IF statements allows programmers to traverse 1D arrays
Using nested IF statements requires less lines of code than using a series of IF statements
Which of the following is a definition of fitness for purpose?
Software can run on all known operating systems
Software can run on mobile and tablet devices
Software meets the functional requirements and purpose of the software decided at the analysis phase
What should happen if software is found not to be fit for purpose during the evaluation phase?
The project would be abandoned if the software were not fit for purpose
Previous phases of the process such as design, implementation and testing would be revisited
The program would be re-developed for a different operating system