Book 3 · Chapter 19
Computational thinking and Problem-solving
B3·19This chapter is in the ebook.
Read it in full on cswithzak.com. Every question has its mark scheme and every program is ready to run. The free practice for each section is below, with the short code the book prints beside it.
For the whole chapter
- Topic pageComputational Thinking and Problem-Solving
B3·19·T - QuizComputational Thinking & Problem-Solving
B3·19·Q1 - LabAlgorithm Lab (sorts, binary search, recursion)
B3·19·X1 - LabData Structures Playground
B3·19·X2 - LabProgramming tasks (stacks, queues, recursion)
B3·19·X3
§19.1 Algorithms · Building ADTs from other ADTs
Short code B3·19·1
- FlashcardsFlashcards §19.1: ADTs in code — stacks, queues, lists, trees, hash tables
B3·19·F1 - FlashcardsFlashcards §19.1: Algorithms & Big O
B3·19·F2 - Past-paper questionsPast-paper questions §19.1 (algorithms)
- Past-paper questionsPast-paper questions §19.1 (building-adts-from-other-adts)
§19.2 Recursion
Short code B3·19·2
- FlashcardsFlashcards §19.2: Recursion
B3·19·F3 - Past-paper questionsPast-paper questions §19.2 (recursion)
B3·19·2
Part A: Linear search, measured (§19.1)
Short code B3·19·10
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Binary search
Short code B3·19·11
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
How search time grows
Short code B3·19·12
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Bubble sort: what decides its speed
Short code B3·19·13
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Insertion sort
Short code B3·19·14
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Comparing the sorts
Short code B3·19·15
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
ADTs built from other ADTs
Short code B3·19·16
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Stacks in pseudocode
Short code B3·19·17
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Queues in pseudocode
Short code B3·19·18
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Linked lists: find, insert and delete
Short code B3·19·19
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Binary trees
Short code B3·19·20
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Graphs
Short code B3·19·21
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Big O notation
Short code B3·19·22
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Command words for algorithms
Short code B3·19·23
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Part B: What recursion is (§19.2)
Short code B3·19·30
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Tracing recursion: winding and unwinding
Short code B3·19·31
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Work before and after the call
Short code B3·19·32
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
How a compiler implements recursion
Short code B3·19·33
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Recursion or iteration?
Short code B3·19·34
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Command words for recursion
Short code B3·19·35
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Past-paper practice
Short code B3·19·90
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Workbook 3: Computational thinking and Problem-solving
Short code W3·19 · Advanced Theory Workbook
The write-in workbook for this chapter has drills, exam-style practice, trace tables, fix-the-mistake and mark-it-yourself pages. Its full mark schemes and an interactive version arrive here with the chapter.


