Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Community ▾
A
A
Quizzes
/
Why does a game save its players' scores in a file rather than only in an array?
Computer Science
Easy
High School (9–10)
Algorithms, Programming and Logic › Programming
IGCSE
Created by
StemPy Lab
Why does a game save its players' scores in a file rather than only in an array?
The data in a file is kept after the program stops
A file can hold only numbers
An array cannot hold more than ten values
Reading a file never needs a loop
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A shop keeps the price of each of its products in Prices : ARRAY[1:12] OF REAL. A loop must visit every price exactly once. Which first line of the loop is right?
Which statement stores the name Kim in the third element of the array Names? →
More on
Algorithms, Programming and Logic › Programming
Discussion (0)
Log in
to join the discussion.
Loading…
All questions on this topic →
Problems on this topic
A long scenario question. A teacher has the names of 5 students in the file Names.txt, one name a…
Hard
Shopping.txt holds six lines: bread, rice, milk, eggs, tea and jam…
Medium
The file Best.txt holds one line: 120. What is output, and what does Best.txt hold afterwards, when…
Easy
The nine squares of a board are input row by row: X, O, O, then X, X, X, then O, a dot for an empty…
Hard
All problems on this topic →