📙

#1 Operating system

Julie Chaumard lesson

What is an operating system?

An operating system is a special type of computer program that manages all other programs on a computing device, such as a desktop or laptop computer, a smartphone, a tablet, or a game console.

Main Roles of an Operating System

The operating system (OS) is essential for making the computer work properly. It manages hardware and software, and allows users to interact with the system. Below are its main functions:

Operating system allows the user and software to interact with the hardware

The operating system allows the user and software to interact with the hardware. It translates high-level commands (like opening a file or playing a video) into low-level instructions that the hardware can understand.

Low-Level Instructions and Programming Languages

A low-level instruction is a very basic command that a computer's CPU (central processing unit) can understand and execute directly. Low-level languages are closer to machine code and faster for the computer to execute.

Machine code is the binary language (0s and 1s) that the CPU understands directly.

  1. Software programs (like Word, Chrome, etc.) are written in high-level languages

    → e.g., C++, JavaScript, Python...

  1. These programs are compiled or interpreted

    → The code is gradually transformed into instructions the processor can understand.

  1. The operating system (like Windows) acts as a translator

    → It manages memory, files, hardware, etc., using low-level instructions.

  1. In the end, the processor executes machine code (made of 0s and 1s)

    → This code corresponds to instructions similar to those written in Assembly.


High-Level in python

Add two numbers

a = 2 + 3

Low-Level Language in Assembly

MOV AX, 2ADD AX, 3

This instruction is then translated into machine code:

10111000 00000001

What are the different types and providers of operating systems?

Exercise

What is the version of your Operating system ?

How do you update your operating system ?

💚

Agence digitale Parisweb.art
Tout savoir sur Julie, notre directrice de projets digitaux : https://www.linkedin.com/in/juliechaumard/