Which of the following is determined during the analysis phase of software development?
Fitness for purpose
Functional requirements
Pseudocode
Which of the following is a definition of an input?
Data that will be entered by a user or received from a file
Data that is to be initialised by the programmer during implementation and that will not change when the software is in use
Results of testing
Which of the following is a definition of a process?
Code created to execute a sequence of instructions that may make use of inputs and may result in output to the user
Data received from a text file
Data sent to a printer
Which of the following is a definition of an output?
Data that is validated after being entered by a user
Data that is sent from the program to the user, a file or peripheral
Selection statements
What would you consider when outlining assumptions about new software that is being developed?
Hardware needed to run the software
Data structures
Normal data
Why are appropriate boundaries important when we are writing a program?
We need to be sure what we enter into the program will work properly
We need to give boundaries so that a program doesn’t use too much memory
We need to give a program boundaries so that it is sure what it is doing
If the String “Winnie” can be seen throughout a program, by all functions and subroutines, what visibility does that variable have?
Local
Global
Static
If I want to keep a certain variable secret from the rest of the program, what visibility should I give it?