Back to 课程

Computer-science_A-level_Cie

0% Complete
0/0 Steps
  1. computers-and-components
    6 主题
  2. logic-gates-and-logic-circuits
    2 主题
  3. central-processing-unit-cpu-architecture
    6 主题
  4. assembly-language-
    4 主题
  5. bit-manipulation
    1 主题
  6. operating-systems
    3 主题
  7. language-translators
    2 主题
  8. data-security
    3 主题
  9. data-integrity
    1 主题
  10. ethics-and-ownership
    3 主题
  11. database-concepts
    3 主题
  12. database-management-systems-dbms-
    1 主题
  13. data-definition-language-ddl-and-data-manipulation-language-dml
    1 主题
  14. computational-thinking-skills
    1 主题
  15. algorithms
    14 主题
  16. data-types-and-records
    2 主题
  17. arrays
    2 主题
  18. files
    1 主题
  19. introduction-to-abstract-data-types-adt
    1 主题
  20. programming-basics
    1 主题
  21. constructs
    2 主题
  22. structured-programming
    1 主题
  23. program-development-life-cycle
    2 主题
  24. program-design-
    2 主题
  25. program-testing-and-maintenance
    3 主题
  26. user-defined-data-types
    1 主题
  27. file-organisation-and-access-
    3 主题
  28. floating-point-numbers-representation-and-manipulation
    3 主题
  29. protocols
    2 主题
  30. circuit-switching-packet-switching
    1 主题
  31. processors-parallel-processing-and-virtual-machines
    5 主题
  32. boolean-algebra-and-logic-circuits
    4 主题
  33. purposes-of-an-operating-system-os
    3 主题
  34. translation-software
    3 主题
  35. encryption-encryption-protocols-and-digital-certificates
    3 主题
  36. artificial-intelligence-ai
    4 主题
  37. recursion
    1 主题
  38. programming-paradigms
    4 主题
  39. object-oriented-programming
    7 主题
  40. file-processing-and-exception-handling
    2 主题
  41. data-representation
    5 主题
  42. multimedia
    3 主题
  43. compression
    2 主题
  44. networks-and-the-internet
    11 主题
课 Progress
0% Complete

Purpose of an OS

What is an operating system (OS)?

  • An operating system (OS) is software that provides an interface between the user and the hardware in a computer system

  • An operating system hides the complexities of the hardware from the user, for example:

    • A user does not need to know ‘where’ on secondary storage data is kept, just that it is saved for when they want it again

  • To help achieve this an OS provides a user interface

User interface

  • A user interface is how the user interacts with the operating system

  • Examples of user interfaces include:

    • Command Line Interface (CLI)

    • Graphical User Interface (GUI)

    • Menu

    • Natural language (NLI)

purpose-and-functionality-of-the-os-

What is a command line interface (CLI)?

  • A Command Line Interface (CLI) requires users to interact with the operating system using text based commands

  • CLIs are more commonly used by advanced users

  • Examples of CLIs are MSDOS (Microsoft Disk Operating System) and Raspbian (for Raspberry Pi)

What is a graphical user interface (GUI)?

  • A Graphical User Interface (GUI) requires users to interact with the operating system using visual elements such as windows, icons, menus & pointers (WIMP)

  • GUIs are optimised for mouse and touch gesture input

  • Examples of GUIs are Windows, Android and MAC OS

What is a menu interface?

  • A menu interface is successive menus presented to a user with a single option at each stage

  • Often performed with buttons or a keypad

  • Examples include

    • Chip and pin machines

    • Vending machines

    • Entertainment streaming services

What is a natural language interface (NLI)?

  • A natural language interface (NLI) uses the spoken word to respond to spoken or textual inputs from a user

  • Examples include

    • Virtual assistants – Amazon Alexa, Google Assistant, Siri

    • Search engines

    • Smart home devices

OS management tasks

An operating system has five key management tasks:

  • Memory management

  • File management

  • Security management

  • Hardware management

  • Process management

Memory management

  • Memory management is a process carried out by the operating system allocating main memory (RAM) between different programs that are open at the same time

  • The OS is responsible for copying programs and data from secondary to primary storage as it is needed

  • Programs and data require different amounts of RAM to operate efficiently and the OS manages this process

  • RAM is allocated based on priority and fairness, for example, system applications (essential) may have a higher priority than user applications

  • The OS dynamically manages the memory, adjusting allocation as needed to maintain optimal system performance

  • Memory management makes multitasking possible

File management

  • File management is a process carried out by the operating system creating, organising, manipulating and accessing files and folders on a computer system

  • The OS manages where data is stored in both main memory and secondary storage

  • File management gives the user the ability to:

    • Create files/folders

    • Name files/folders

    • Rename files/folders

    • Copy files/folders

    • Move files/folders

    • Delete files/folders

  • The OS allows users to control who can access, modify and delete files/folders (permissions)

  • The OS provides a search facility to find specific files based on various criteria

Security management

  • Operating systems provide various security features such as password-protected system accounts, a firewall, virus scanning and file encryption

  • Password-protected system accounts are a very common feature in operating systems

  • A system administrator is able to allocate different access rights for different users on a network

  • The OS is able to maintain settings for individual users, such as desktop backgrounds, icons and colour schemes

  • The OS audits (keeps a log of) files created by users, accesses, edits and deletes 

Hardware management

  • Peripheral management is a process carried out by the operating system managing the way peripherals (hardware) interact with software

  • The OS allocates system resources to peripherals to ensure efficient operation

  • Peripheral management makes plug-and-play (PnP) functionality possible, automatically detecting and configuring new peripherals without the need for manually installing device drivers or power cycling the system

  • A device driver is a piece of software used to control a piece of hardware

  • Inputs/outputs require device drivers in order to be used by the operating system

  • The OS has generic device drivers built in which makes basic compatibility possible

  • In order for hardware to be used to its maximum capacity, often a separate device driver must be downloaded from the manufacturer

  • Device drivers are OS specific and are regularly updated

Process management

  • Process management is a process carried out by the operating system dividing time (time slicing) in to small chunks and allocating them to different processes

  • The CPU can only execute one process at a time, it can can execute billions of them in one second

  • The OS uses a scheduling algorithm to prioritise processes

  • Processes are placed in queue whist waiting to be carried out, they return to the back of the queue when their time is up

  • The goal of process management is to share resources (CPU & main memory)

Worked Example

Identify four key management tasks that the Operating System will perform. [4]

Answer

  • Memory management [1 mark]

  • File management [1 mark]

  • Security management [1 mark]

  • Hardware / device / peripheral / resources management [1 mark]

  • Input/output management [1 mark]

  • Process management [1 mark]

  • Error checking and recovery [1 mark]

  • Provision of a platform for software [1 mark]

  • Provision of a user interface [1 mark]

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注