I think what I meant to saw was "raw bits" that travel accross mediums. So if I alter my answer like this:
The Physical Layer of the OSI model allows raw bits to travel along physical mediums, such as cables. As the Physical Layer controls the circuits and ultimately controls all functionality in the system, it is essential for higher layers that fully utilise the TCP/IP protocols, to operate.
Would that be a better response?
The bolder part is the only small issue I can identify. I understand what you mean by that but I would avoid stating layer 1 controls "all
functionality". Try to stick to the whole physical/electrical specifications/the means for transmitting raw bits idea. Again, the physical layer is not concerned with MAC addresses, IP addresses and packets; rather, these are dealt with by layers higher in the hierarchy. Hence this isn't necessarily "all functionality".
1) What is the difference between archiving and backing up?
2) Purpose of a context diagram, and how it differs from a DFD.
1). Mark Kelly sums it up nicely.
Archiving makes a copy of data that is no longer needed regularly. The copy is stored offline and the original data is
deleted.Backing up makes a copy of data and
retains the original data.2).
Think of the context diagram as a "black box". We are not interested in the internal workings of the system. We are only concerned with how the system interacts with external entities.
DFDs provide a logical model that shows what the system does,
not how it does it. Essentially we explode process 0 and define the flow of information within the IS.
1) A backup is generally create a safety procedure in case of a situation where disaster recovery is necessary, and only backs up data that is presently active. Whereas an archive stores data as records that can be identified over long periods of time.
Check the definitions above. The main distinction between a backup and archiving is that the backup retains the data. When you archive, you delete the data on the primary media and store it on secondary media.
2)A context diagram represents external entities relationships with a software system (generally represented by actors), whereas a DFD shows data flows inside a software system, and how they are used to manipulate data.
Be careful not to confuse yourself with the specific terminology used in use case, context diagram and DFD. Does a DFD show HOW data is manipulated? i.e. the processing steps? No. We are not concerned with algorithms or specific data structures in a DFD. Instead, we are interested in the FLOW of data, hence data FLOW diagram. To reiterate, DFDs show what the system does, not how it does it.
I highlighted the words relationships and actors. Reading 'entities' and 'relationships' in the same sentence, it sounds like an ERD (entity relationship diagram) which is a different model. Technically your words are correct, however I wouldn't be surprised if VCAA penalised this answer for 'terminology'.
However the actors part is incorrect. Actors are in use case diagrams. External entities in a context diagram/DFD are represented by rectangles.
Question 3
An 'array' and a 'record' are two types of data structure.
The main difference between the two is that
A. arrays can only store the same type of data in each element.
B. records can only store the same type of data in each field.
C. arrays can only store numeric data.
D. records can only store textual data.
I'm not sure about B though. I thought records/tuples were a data structure that defined the data type for each field.
How would we do the VCAA-esque pseudocode for defining a record? Actually, how would datatypes be defined in pseudocode anyway? It usually isn't, now that I think of it - is that due to the fact that you'd use something along the lines of data dictionary instead for that purpose?
STRUCTURE record
int productID
string productName
float price
END STRUCTURE
I am mistaken in the idea that the data types have to be defined for each field there?
Yes the answer is A. C & D are false, and B is false. Every element of the array has to the be same type, whether it be int, String or Object (even though an object may have int & string attributes, elements in the array are of type object).
"records can only store the same type of data in
each field." ---> Each field in the record must have the same type of data (which is false).
Your comments are correct about records. Yes you define the data type for each field (and each field can be a different data type or the same, it doesn't matter). In this subject we typically use a data dictionary, but say in OO programming, if we assume the records are objects of a class, then I would represent the attributes and methods in a UML class diagram (outside the scope of SD).
Your pseudocode representation is also correct.