GCSE Computing: Theory revision questions 2 Flashcards
Describe how an interpreter translates the high level code to machine code
Translates one line of HL code at a time and executes it. The interpreter stops when it finds an error.
State the name of a different type of translator, other than an interpreter, which can be used to translate high-level code to machine code.
Compiler
State what is meant by a real number?
A number which can contain a fractional part
State what is meant by an integer?
A whole number
State whether the operation below use sequence, selection or iteration.
Performing a series of different set-up operations when the computer is switched on
Sequence
State whether the operation below use sequence, selection or iteration.
Deciding whether to use the DayTimeRate or EveningRate functions to calculate a customer’s fare.
Selection
State whether the operation below use sequence, selection or iteration.
Beeping repeatedly after a message is sent, until the driver presses a button to show that the message has been read.
Iteration
Bytes, Kilobytes and Megabytes are units used for the amount of data stored in a computer.
State which of these units is most appropriate for the following item of data
A one page text document?
Kilobyte(s)
Bytes, Kilobytes and Megabytes are units used for the amount of data stored in a computer.
State which of these units is most appropriate for the following item of data
A ten minute movie clip?
Megabyte(s)
Bytes, Kilobytes and Megabytes are units used for the amount of data stored in a computer.
State which of these units is most appropriate for the following item of data
A person’s surname
Byte(s)
A computer has a hard disk of 2 Terabytes
How much is this in Gigabytes.
Note: You would be expected to show your working for this type of question.
Multiply by 1024/1000
2048/2000 (GB)
Explain one reason why multi-tasking is needed in an operating system.
Allows more than one program to run (apparently) at the same time by sharing processor time / resources between the programs. This enables the user to be more productive.
A good example of a situation where multitasking is required (e.g. cut from browser and paste in word processor).
Describe what is meant by a variable.
A name or symbol which represents a value in a program. The name or symbol (variable) points to a memory location and the value stored in that location can be changed while the program is running.
State two advantages of off-the-shelf software
Available now / the school will not have to wait
Recommendations available / can see it working in other schools
Tried and tested / less likely to contain bugs (given how critical the application is)
Costs less than custom-written / as the school does not pay for the full cost of development. More (third party) support / documentation
State two disadvantages of off-the-shelf software
May contain features which the school does not need
May not contain features which the school needs
May not be compatible with school’s hardware
May not be compatible with school’s processes
Developer not available to make adjustments necessary