Book 5 · Chapter 4
Software
B5·4This 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 pageSoftware
B5·4·T - QuizSoftware
B5·4·Q1 - LabInterrupts timeline
B5·4·X1 - LabCompiler vs interpreter (stages)
B5·4·X2
§4.1 Types of software and interrupts
Short code B5·4·1
- FlashcardsFlashcards §4.1: System vs application software & the OS
B5·4·F1 - FlashcardsFlashcards §4.1: Firmware, bootstrap & interrupts
B5·4·F2 - Past-paper questionsPast-paper questions §4.1 (types-of-software-and-interrupts)
B5·4·1
§4.2 Programming languages, translators and IDEs
Short code B5·4·2
- FlashcardsFlashcards §4.2: Languages, translators & IDEs
B5·4·F3 - Past-paper questionsPast-paper questions §4.2 (programming-languages-translators-and-ides)
B5·4·2
System and application software
Short code B5·4·10
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
What an operating system does
Short code B5·4·11
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
From power button to application
Short code B5·4·12
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Interrupts
Short code B5·4·13
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Handling an interrupt
Short code B5·4·14
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
High-level and low-level languages
Short code B5·4·15
marks = [64, 81, 47, 90, 58]
print(sorted(marks))sorted puts the whole list in order. In machine code this needs a loop of many instructions.Output
[47, 58, 64, 81, 90]
Assembly language and the assembler
Short code B5·4·16
score = 12
bonus = 3
total = score + bonus
print(total)Output
15
Compilers and interpreters
Short code B5·4·17
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Compiler or interpreter?
Short code B5·4·18
Practice for this page of the book: the quiz, flashcards and past-paper questions for its section are listed above.
Integrated development environments
Short code B5·4·19
def average(marks):
total = sum(marks)
return total / len(marks)
print(average([64, 81, 47, 90]))Output
70.5
Workbook: Software
Short code W5·4 · Computer Systems 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.


