Hello! I'm taking the paper 1 exam this Monday, I have come across some small programming issues that I don't quite understand.
1. when inputs are evaluated as strings, '06' is considered 'alphabetically' larger than '007' (this was in the additional specimen questions). I still don't understand this? How is 06 larger than 007
2. The definitions for this seem to vary, so does anyone know what is the actual difference between a function and a procedure/subroutine? Right now the way I differentiate them is that a function returns a value whereas a procedure doesn't and a procedure might not have any parameters?
3. What is the equivalent of a record in python? Is this just knowing how to use external text files?
4. What is meant by reading/writing from binary external files? I know how to do this with text files - what exactly are the binary files? The difference I learnt is that binary files contain all data types and are interpreted only by the program that created them.
In hindsight, I am posting this far too close to the exam date so I apologize and anyone who has an answer please get back to me as soon as possible!! All help is greatly appreciated.
Computer Science AQA - programming theory questions
|Would YOU be put off a uni with a high crime rate? First 50 to have their say get a £5 Amazon voucher!||27-10-2016|