Skip to content
Topic 06 8 min read

Computer Software

Software, Languages and Translators

Software is the set of instructions and data that a computer executes. System software manages the machine and its resources; application software performs tasks for the user; translators convert source code into machine instructions. These notes cover software categories, utilities and device drivers, language levels, compiler-interpreter-assembler differences, algorithm and flowchart notation, and software licences.

01

System vs application software

  • System software manages hardware, provides services and supports other programs; application software performs tasks for the end user.
  • System software includes the operating system (one category), device drivers, utility programs and language translators.
  • Application software is general-purpose (Word, Excel, browsers, games) or tailor-made for one organization.
  • Firmware is software stored in ROM, such as BIOS or UEFI, that initializes hardware before the operating system loads.
  • Classification test: managing the machine points to system software; doing user work points to application software.
System software vs application software
AspectSystem softwareApplication software
RoleManages hardware and provides servicesPerforms a user task or business function
ExamplesOperating system, drivers, utilities, translatorsWord, Excel, browser, media player, games
Depends onThe hardwareSystem software and its services
Typical userSystem or administratorEnd user
02

Utilities and device drivers

  • A utility is a small maintenance, protection or repair program: backup, antivirus, disk cleanup, compression, partition manager or defragmenter.
  • A device driver is software that lets the operating system communicate with and control a specific device such as a printer, graphics card or scanner.
  • Drivers translate general operating-system commands into device-specific signals and are usually supplied by the device vendor.
  • Utilities may ship with the operating system or as separate products, and they often run with elevated privilege, so keep them updated.
  • A defragmenter rearranges blocks on a magnetic disk to reduce seek time; it does not create or format documents.
  • Utility vs application: a utility protects system health or data; an application produces user output such as a letter or budget.
03

Language levels

  • Machine language is the processor binary instruction set; each opcode is a bit pattern executed directly, and it differs by CPU family.
  • Assembly language replaces opcodes with mnemonics such as MOV, ADD and JMP and uses register names such as AX.
  • One assembly statement usually maps to one machine instruction, so assembly remains architecture-specific.
  • High-level languages use variables, expressions, loops and functions; C, Python, Java and COBOL are examples.
  • High-level code hides registers and addresses, giving portability and faster development; assembly gives exact hardware control.
  • Source code is the text a programmer writes; it must be translated into machine code before the CPU can execute it.
04

Compiler, interpreter, assembler

  • An assembler translates assembly mnemonics into machine code, usually producing an object file.
  • A linker combines object files and library routines into a single executable.
  • A compiler scans the whole high-level program, reports syntax and type errors, and produces object code or an executable before run time.
  • An interpreter translates and executes one statement at a time, stops at the first error and must be present at run time.
  • Compiled code usually runs faster; interpreted code supports quicker testing and interactive use; a JIT compiler translates hot code during execution.
  • Translators enforce syntax, not logic: a program with correct syntax can still produce wrong results.
Translator comparison
TranslatorInputOutputWhen it runsError reporting
AssemblerAssembly sourceObject file / machine codeBefore execution; then linkedAfter scanning the file
CompilerHigh-level sourceObject code or executableBefore executionAfter scanning the whole program
InterpreterHigh-level sourceNo separate output fileStatement by statementStops at the first error
05

Algorithms and flowcharts

  • An algorithm is a finite, ordered set of unambiguous steps that solves a problem.
  • Required properties: finite (terminates), definite (one meaning per step), effective (each step is executable), with input and output.
  • Pseudocode expresses the logic in structured English without language syntax.
  • Flowchart symbols: oval = start/end, parallelogram = input/output, rectangle = process, diamond = decision, arrows = flow.
  • Average of three marks: read A, B, C; total = A + B + C; average = total / 3; print average; 72, 85 and 91 give 248 and 82.67.
  • A decision such as average >= 40 selects Pass or Fail; draw the flowchart before coding to expose missing cases.
06

Software licences

  • A software licence states how a program may be used, copied, modified and distributed.
  • Proprietary software is closed-source and sold under an end-user licence agreement (EULA); limits may be per device, per user or a site licence.
  • Freeware is free of charge but may stay closed-source; shareware is tried before purchase and may expire.
  • Open-source licences publish source code: MIT and Apache 2.0 are permissive; the GNU GPL is copyleft.
  • Permissive licences allow closed derivative products with attribution; copyleft requires derivative works to keep the same freedoms and release source.
  • Public-domain software has no copyright restrictions; subscription or SaaS licences rent access and end when payment stops.
  • Free software means freedom to study, change and share, not zero price.

Exam points

  • System software manages the machine and its services; application software performs user tasks.
  • Utilities maintain, protect or repair the system; device drivers let the operating system control specific hardware.
  • Machine language is binary and CPU-specific; assembly uses mnemonics; high-level languages use portable statements.
  • Assembler: assembly to machine code. Compiler: whole program before execution. Interpreter: one statement at a time.
  • An algorithm must be finite, definite and effective, and it must accept input and produce output.
  • MIT and Apache are permissive; GPL is copyleft; freeware is free of charge but not necessarily open source.

Key terms

Algorithm
A finite, ordered set of unambiguous steps that solves a problem and produces a result.
Compiler
A translator that converts an entire high-level source program into object code or an executable before the program runs.
Copyleft licence
An open-source licence, such as the GNU GPL, that requires modified or extended versions to be distributed under the same licence with source available.

Check yourself

Quick check

0 / 2 answered
01

Which tool translates assembly language into machine code?

02

Which licence requires modified versions to be released under the same terms?

IT Fundamentals · Computer organization, memory, number systems, Boolean algebra, microprocessors, software, and MS Office.