Review Answers

What problems do operating systems solve?

  1. Hardware abstraction: interact with heterogeneous hardware through a common interface.
  2. Multitasking: Run several programs concurrently, managing their state independently. Programs managed by operating systems are sometimes called applications (hence the neologism app).

What is a system shell?

A system shell is a command-line interface to the operating system, presented through a program called a terminal emulator (usually shortened to terminal).

What is an interpreter?

An interpreter is a program, managed by the OS, that translates human-readable source code into executable machine code, and executes it.

What is the python shell command?

The python command tells the OS to start the python interpreter, which is an application that is managed by the OS. The python interpreter has two modes of operation.

It can launch an interactive shell:

$ python

It can run a script non-interactively:

$ python myscript.py

Note: The $ symbol is a convention used to denote shell input. It is not typed into the terminal.



slide 1/4
* help? contents?

Space, Right Arrow or swipe left to move to next slide, click help below for more details