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
Programming methods
which contains a test and the instruction to go back to an earlier line if the
test is TRUE (N less than 70). The start of the repetition is therefore line
110,
but there is nothing in line 110 to mark this. If in the course of typing
the program the line 130 were mistyped as:
IF N < = 70 GOTO 100
then the repeating section of program could never end because the value of N
could never become 70 (it could never exceed unity). If the GOTO number
were mistakenly typed as 1100 then there could be no repetition at all.
Lack of structure makes programming very difficult for programs of any
reasonable length, and makes program
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