Skip to Main Content
Computer Science
book

Computer Science

by Ian Sinclair
May 2014
Beginner content levelBeginner
186 pages
9h
English
Newnes
Content preview from Computer Science
Computer Science
number information will fit, by methods that we can look at later. The
awkward items are strings like names and addresses. These will be chopped
if they are too long and padded out with blanks if they are too short, and a
random-access filing program will carry out this work automatically.
Numbers are treated in a rather special way. Since each item that is stored
in a random-access file must be a string, the obvious thing to do is to convert
each number into a string. This could be done by converting each digit of a
number into ASCII code, and recording these ASCII codes as a string, but
this is a slow action, and for larg ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Science

Computer Science

Robert Sedgewick

Publisher Resources

ISBN: 9781483104256