Professional Documents
Culture Documents
Hardware
1. Describe two differences between primary and secondary storage
Primary storage is in charge of a storage structure when programs are running;
whereas secondary storage stores data when they are not actively used.
Secondary storage sources are typically cheaper ($/MB) than primary storage
sources
Software
2. Explain the difference between system and application software
System software are tools used by a computer to run the users programs and
manage hardware. Application software are used to perform work or complete
larger tasks, such as running programs.
Executable code runs off of information processed from the source code.
Storage structures
7. Name and give examples of five data types
String Text Hello
Integers Whole numbers with no part 2340
Floating Numbers Numbers with fractional parts 2.42
Byte 0-255
Currency Numeric, storing monetary values only $0.00, limited decimals
Character A single character, $
8. Describe how lossy and lossless compression reduce file sizes
Lossy compression shrinks media by throwing away details
Lossless compression reduces media size as much as possible without losing
data. They work by summarising data.
The software development process
9. Why is the PSM analysis stage so important?
PSM is important to identify new material that may need to be produced, and the
method it will take to get to the desired outcome.
10.
Make mock up diagrams to look at how the final product will look like
Commonly used features the quickest and easiest to find
Structure the design so that it makes sense to end users
Should cater for peoples with disabilities, e.g. colour blindness
Size considerations of elements
Fundamental Programming Concepts
15.
Syntax error:
Language expects a specific order
INPUT prompt; variablename
Vs
INPUT variablename; prompt
It matters in which order the language is typed
Logical error:
E.g. Total cost = Price + 10%, a price of $30 would yield a Total Cost of $30.10
instead of $33.00
Should be Price + (10% of the price)
Runtime error:
Runtime errors are caused by factors during the execution of a program, e.g. The
computer running out of memory
16.
Compiled languages mean that source code is converted once by a compiler into
executable code, to be run many times under a particular OS
Interpreted language mean that the source code is compiled every time it is run,
instead of being compiled once
17.
So that notes can be referred to within the code, and dont have to be on a
separate document. Notes, mistakes, errors and reasoning can all be in one
place.
18.
Arrays can store many values in numbered slots. These stored values can be
read, and can be repeated until a clear condition is reached. Based on the
information in the array, if a clear condition cannot be reached, then the
sequence of instruction can be repeated.
19.
For an employee record, so that all records are the same length, so the location
of any record in the file can be calculated precisely. Program can instantly load in
data.