Computer Science GCSE
Read
What Read means in Computer Science GCSE, as defined for OCR.
Definition of Read
Check what you remember
Read the wording for your board, then hide it and explain Read in your own words. Rough notes are fine. This is a self-check, with no mark or grade.
Reference: OCR
Retrieves data from an opened file into program variables, where read() returns the whole remaining content, readline() returns one line and readlines() returns a list of lines.
Topics that use Read
- Additional programming techniques (OCR GCSE)
Related terms
- AND
- Close
- Functions versus procedures
- Open
- Parameters and arguments
- Pseudorandomness
- Range and bounds
- Simulation and games
Using Read in the exam
Check the command word and mark scheme for your exact question. After comparing your explanation with the reference, use the term in an answer on the linked topic. This practice does not predict an exam mark.
Practise Computer Science questions
Create a free account to answer exam-style questions on this topic and get feedback on your answers.
Start free
All Computer Science GCSE termsA week of Premium from your first lesson · Then the free plan continues · No card, no charge