Computer Science 2210 ยท Chapter 4 of 12
Software
4 revision notes on Software for Cambridge O Level Computer Science (2210). 69 past-paper questions on this chapter to practise.
About this chapter
- Syllabus
- 4
- Section
- Paper 1 ยท Computer systems
- On Paper 1
- In every paper: one or two questions, often 10-20 marks
- Types of software
- System vs application software and the operating system's nine functions
- Interrupts
- Hardware, firmware and OS layers; hardware and software interrupts; the ISR
- Languages
- High/low-level, assembly; compilers, interpreters, assemblers; IDEs
- Reading time
- 4 notes ยท about 32 min
- Past-paper questions
- 69 to practise
Study these notes in order
4 notes cover this chapter. Work through them 1 โ 4: each one ends with a quiz, so you know you're ready for the next.
Start here ยท Note 1 of 4 ยท 7 min read
System and application software
- Types of Software and Interrupts
- Types of Software and Interrupts
- Programming Languages and Translators
- Programming Languages and Translators
Download and print
A4 PDFs of the 4 notes above, ready to print or use offline.
Summary notes
The key points of every note, for a last read before a test.
System and application software
- Software = programs / instructions used to operate a computer.
- System software: services the computer requires (OS, utilities). Application software: services the user requires.
- OS functions: files ยท interrupts ยท interface ยท peripherals and drivers ยท memory ยท multitasking ยท platform for apps ยท security ยท user accounts.
Firmware and interrupts
- Applications run on the OS; the OS runs on the firmware; the bootloader (firmware, in ROM) runs on the hardware.
- Interrupt: a signal to the CPU that something needs attention; managed by the OS.
- Hardware interrupts: key press, mouse, printer. Software: division by zero, two processes same memory.
- Handling: priority โ queue โ CPU finishes FDE cycle โ checks queue โ saves task โ ISR โ restores task.
Programming languages and translators
- High-level: close to English; easy to read, write, debug; machine independent; can't manipulate hardware directly.
- Low-level (machine code, assembly): close to the computer; direct hardware control, memory efficient, fast; hard to read/debug, machine dependent.
- Assembly language uses mnemonics; an assembler translates it.
- Compiler: whole code at once, executable file, error report of all errors; used for the final program.
- Interpreter: line by line, stops at an error, no executable; used during development.
Integrated development environments (IDEs)
- IDE: software with the tools to write, translate, test and debug code in one place.
- Functions: code editor ยท run-time environment ยท translator ยท error diagnostics ยท auto-completion ยท auto-correction ยท prettyprint.
What the syllabus says you need to know
- Describe the difference between system software and application software, with examples
- Describe the role and basic functions of an operating system
- Understand how hardware, firmware and an operating system are required to run applications software
- Describe the role and operation of interrupts, including the interrupt service routine
- Explain high-level and low-level languages and the advantages and disadvantages of each
- Understand assembly language, mnemonics and the assembler
- Describe the operation of a compiler and an interpreter, and how each reports errors
- Explain the advantages and disadvantages of a compiler and an interpreter
- Explain the role of an IDE and its common functions
Can I do this? Chapter checklist
System and application software
Firmware and interrupts
Programming languages and translators
Integrated development environments (IDEs)
Ticks are saved on this device and match the checklist at the end of each note. Anything unticked: open it and revise that section.