Operating System (OS) Fundamentals

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

¿Cuál de las siguientes opciones describe mejor la función principal de un sistema operativo?

  • Un programa que controla la ejecución de programas de aplicación. (correct)
  • Una herramienta de software utilizada para diseñar páginas web.
  • Un componente de hardware que acelera el procesamiento de gráficos.
  • Un programa que permite la edición de documentos de texto.

¿Cuál de los siguientes representa un objetivo principal del diseño del sistema operativo?

  • Maximizar la complejidad para evitar el acceso no autorizado.
  • Minimizar el número de funciones para reducir el tamaño.
  • Hacer que el ordenador sea más cómodo de usar. (correct)
  • Limitar la compatibilidad con el hardware más antiguo.

¿Cuál de los siguientes describe mejor la relación entre las aplicaciones y el hardware en un sistema informático?

  • Las aplicaciones actúan como la interfaz principal para gestionar recursos de hardware.
  • El hardware interactúa directamente con las aplicaciones sin necesidad de un sistema operativo.
  • Las aplicaciones y el hardware son componentes independientes que no requieren interacción.
  • El sistema operativo actúa como una interfaz entre las aplicaciones y el hardware. (correct)

¿Cuál de los siguientes es un ejemplo de un servicio prestado por un sistema operativo?

<p>Desarrollo de programas. (A)</p> Signup and view all the answers

¿Cuál de las siguientes opciones es una función que realiza un sistema operativo con respecto a la detección y respuesta a errores?

<p>Detección de errores de hardware internos y externos. (B)</p> Signup and view all the answers

¿Cuál de las siguientes describe mejor la importancia de la 'contabilidad' como servicio prestado por el sistema operativo?

<p>Para recopilar estadísticas de uso y supervisar el rendimiento. (D)</p> Signup and view all the answers

¿En qué se diferencia el 'modo kernel' del 'modo usuario' en un sistema operativo moderno en relación con las instrucciones privilegiadas?

<p>Las instrucciones privilegiadas solo se ejecutan en modo kernel. (C)</p> Signup and view all the answers

En el contexto de la evolución del sistema operativo, ¿qué característica principal distingue los 'sistemas de lotes simples' de los primeros sistemas sin sistema operativo?

<p>El uso de monitores de software para controlar la secuencia de eventos. (A)</p> Signup and view all the answers

¿Cuál es el propósito del Lenguaje de Control de Trabajos (JCL) en los sistemas operativos por lotes?

<p>Proporcionar instrucciones al monitor, como qué compilador utilizar. (A)</p> Signup and view all the answers

¿Cuál de las siguientes características de hardware es esencial para la implementación de la protección de la memoria en un sistema operativo?

<p>Temporizador. (B)</p> Signup and view all the answers

¿Por qué la multiprogramación mejora la utilización de la CPU en comparación con la uniprogramación?

<p>La multiprogramación permite que la CPU cambie a otro trabajo cuando un trabajo está esperando una operación de E/S. (D)</p> Signup and view all the answers

¿Qué reto aborda principalmente la técnica de 'tiempo compartido' en los sistemas operativos?

<p>Gestionar el uso de la CPU entre múltiples trabajos interactivos. (C)</p> Signup and view all the answers

¿Cuál de los siguientes es un logro clave en la evolución de los sistemas operativos en relación con la gestión de recursos?

<p>Programación y gestión de recursos. (A)</p> Signup and view all the answers

¿Cuál de las siguientes opciones describe mejor el concepto de 'proceso' en un sistema operativo?

<p>Un programa en ejecución. (A)</p> Signup and view all the answers

¿Cuál es una dificultad típica asociada con el diseño del software del sistema, como los sistemas operativos, en relación con la 'sincronización incorrecta'?

<p>Garantizar que un proceso que espera un dispositivo de E/S reciba la señal de finalización. (A)</p> Signup and view all the answers

¿Cuáles son los tres componentes principales que constituyen un proceso en un sistema operativo?

<p>Un programa ejecutable, datos asociados y contexto de ejecución del programa. (B)</p> Signup and view all the answers

¿Cuál de los siguientes es un beneficio clave de la gestión de la memoria en un sistema operativo?

<p>Aislamiento de procesos. (D)</p> Signup and view all the answers

¿Qué ventaja ofrece la 'memoria virtual' a los programadores?

<p>La capacidad de abordar la memoria desde un punto de vista lógico sin preocuparse por las limitaciones físicas. (C)</p> Signup and view all the answers

¿Cómo implementa la memoria virtual el almacenamiento a largo plazo para los datos?

<p>Almacenando información en objetos nombrados llamados archivos. (A)</p> Signup and view all the answers

¿Qué es la 'paginación' en el contexto de la gestión de memoria?

<p>Un método para dividir un proceso en bloques de tamaño fijo llamados páginas. (B)</p> Signup and view all the answers

¿Cuál es el enfoque principal de la 'disponibilidad' como aspecto de la protección de la información y la seguridad?

<p>Preocuparse por proteger el sistema contra la interrupción. (C)</p> Signup and view all the answers

¿Cuál es el principal objetivo de la 'confidencialidad' en la seguridad de la información?

<p>Garantizar que solo los usuarios autorizados puedan acceder a los datos. (D)</p> Signup and view all the answers

¿Cuál es el enfoque de la 'integridad de los datos' como parte de la seguridad informática?

<p>Proteger los datos contra acceso o modificación no autorizados. (B)</p> Signup and view all the answers

¿Cuál es el objetivo principal de la 'autenticidad' en la seguridad de la información?

<p>Verificar la identidad de los usuarios y la validez de los mensajes. (C)</p> Signup and view all the answers

¿Cuál de los siguientes NO es un objetivo típico de la programación y gestión de recursos en un sistema operativo?

<p>Complejidad. (B)</p> Signup and view all the answers

¿Cómo se organiza un sistema operativo según el concepto de 'estructura del sistema'?

<p>Como una serie de niveles donde cada nivel realiza un subconjunto de funciones. (A)</p> Signup and view all the answers

En la arquitectura de microkernel, ¿qué funciones se asignan típicamente al núcleo?

<p>Solo las funciones esenciales como espacios de direcciones y comunicación entre procesos. (D)</p> Signup and view all the answers

¿Cuál es una característica clave del 'multiprocesamiento simétrico (SMP)'?

<p>Los procesadores comparten la misma memoria principal y pueden ejecutar las mismas funciones. (D)</p> Signup and view all the answers

¿Qué ilusión proporcionan los 'sistemas operativos distribuidos' a los usuarios?

<p>Un único espacio de memoria principal y secundaria unificado. (B)</p> Signup and view all the answers

¿Cómo facilita el 'diseño orientado a objetos' la personalización de un sistema operativo?

<p>Permitiendo agregar extensiones modulares sin alterar la integridad del sistema. (B)</p> Signup and view all the answers

¿Qué aspecto de la arquitectura de Windows permite una mayor flexibilidad?

<p>Su estructura modular. (D)</p> Signup and view all the answers

¿Cuál de los siguientes NO es un componente en modo kernel en la arquitectura de Windows?

<p>Subsistemas ambientales. (B)</p> Signup and view all the answers

¿Cuál es la función principal del 'Ejecutivo' en el modo kernel de Windows?

<p>Contener servicios básicos del sistema operativo como la gestión de memoria y procesos. (A)</p> Signup and view all the answers

¿Cuál de los siguientes es un ejemplo de proceso que se ejecuta en 'modo usuario' en Windows?

<p>Proceso de inicio de sesión. (D)</p> Signup and view all the answers

¿Cómo contribuye el modelo cliente/servidor a la confiabilidad del sistema en Windows?

<p>Ejecutando cada servicio en un proceso independiente con su propia partición de memoria. (D)</p> Signup and view all the answers

¿Qué ventaja proporciona la capacidad de los procesos del servidor para utilizar varios subprocesos en Windows?

<p>Mayor capacidad de respuesta y rendimiento. (D)</p> Signup and view all the answers

¿Qué característica principal define la arquitectura del sistema operativo UNIX?

<p>Una arquitectura en la que el hardware está rodeado por el software del sistema operativo, con servicios centrales y de usuario claramente definidos. (D)</p> Signup and view all the answers

¿Cuál de las siguientes opciones representa una característica fundamental de los sistemas UNIX modernos, como Solaris 9 o Linux?

<p>La implementación de un modelo híbrido en que ciertos servicios operan en modo kernel y otros en modo usuario. (C)</p> Signup and view all the answers

Flashcards

¿Qué es un sistema operativo?

A program that controls the execution of application programs.

Objetivo de conveniencia del SO

Make the computer more convenient to use.

Objetivo de eficiencia del SO

Allow computer system resources to be used efficiently.

Objetivo de evoluciona del SO

Allow the effective development, testing, and introduction of new system functions without interfering with service.

Signup and view all the flashcards

Servicios prestados por el SO

Developing programs (editors, debuggers), program execution, I/O device access, controlled file access, system access.

Signup and view all the flashcards

Detección de errores del SO

Detecting and responding to errors that occur when the computer is running.

Signup and view all the flashcards

Contabilidad del SO

Collecting usage statistics, monitoring performance, anticipating future enhancements, billing purposes.

Signup and view all the flashcards

Cómo funciona el SO

It manages the resources, works like regular software, but the OS relinquishes control of the processor.

Signup and view all the flashcards

¿Qué es el Núcleo?

Part of the operating system that is in main memory containing the most frequently used functions.

Signup and view all the flashcards

Impulsores de la evolución del SO

Hardware upgrades, new types of hardware, new services, and fixes.

Signup and view all the flashcards

Procesamiento en serie

Machines operated from a console with lights, switches, input device, and printer. Scheduling was done manually.

Signup and view all the flashcards

Monitores de lotes simples

Software that controls the sequence of events, jobs are batched together, and programs return to the monitor when finished

Signup and view all the flashcards

Lenguaje de control de trabajos (JCL)

Special type of programming language that provides instructions to the monitor which data or compiler to use.

Signup and view all the flashcards

Características del hardware

Protection of memory, timer, privileged instructions, and interruptions.

Signup and view all the flashcards

Protección de memoria

User programs run in user mode; the monitor runs in system mode (kernel mode).

Signup and view all the flashcards

Uniprogramación

The processor must wait for the I/O instruction to complete before proceeding.

Signup and view all the flashcards

Multiprogramación

If a job needs to wait for I/O, the processor can switch to another job.

Signup and view all the flashcards

Tiempo compartido

Using multiprogramming to handle multiple interactive jobs.

Signup and view all the flashcards

Principales logros

Processes, memory management, protection and information security, resource scheduling and management, and system structure.

Signup and view all the flashcards

¿Qué es un proceso?

A program in execution; an instance of a program running on a computer; an entity that can be assigned and executed on a processor.

Signup and view all the flashcards

Dificultades en el diseño SO

Incorrect synchronization, failed mutual exclusion, non-deterministic program operation, deadlocks.

Signup and view all the flashcards

Componentes un proceso

Executable program, associated data, and execution context of the program.

Signup and view all the flashcards

Gestión de la memoria

Process isolation, automatic allocation and management, support for modular programming, access protection and control, long-term storage.

Signup and view all the flashcards

¿Qué es Memoria virtual?

Allows programmers to address memory from a logical perspective.

Signup and view all the flashcards

Sistema de archivos OS

Implements long-term storage and storing information in named objects called files.

Signup and view all the flashcards

¿Qué es paginación?

Allows a process to be composed of fixed-size blocks called pages.

Signup and view all the flashcards

4 pilares seguridad información

Availability, confidentiality, data integrity, and authenticity.

Signup and view all the flashcards

Programación y recursos

Fairness, differential responsiveness, and efficiency.

Signup and view all the flashcards

Estructura sistema

See the system as a series of levels, each level performing a related subset of functions.

Signup and view all the flashcards

Niveles de hardware del proceso

Electronic circuits, processor instruction set, procedure calls, interrupts, process management, devices, logical address space, information communication and standardized interfaces.

Signup and view all the flashcards

Microkernel OS modernos

Assigns only a few essential functions to the kernel such as address spaces, interprocess communication (IPC), and basic programming.

Signup and view all the flashcards

Multiprocesamiento moderno

The process is divided into threads that can run concurrently which are sequentially executed and interruptible.

Signup and view all the flashcards

Multiprocesamiento simétrico (SMP)

Multiple processors sharing same main memory and I/O functions; all processors can perform the same functions.

Signup and view all the flashcards

Sistemas operativos distribuidos

Provides the illusion of a single main memory space and a single secondary memory space across multiple systems.

Signup and view all the flashcards

Diseño orientado a objetos

Used to add modular extensions to a small kernel and a flexible way to create an OS.

Signup and view all the flashcards

Arquitectura de Windows

Modular structure for greater flexibility, executes across various hardware platforms, and supports applications written for other OS.

Signup and view all the flashcards

Componentes en modo kernel

Executive, kernel, hardware abstraction layer (HAL), and Windows.

Signup and view all the flashcards

OS modo kernel

Contains core basic operating system services, managing device drives.

Signup and view all the flashcards

Núcleo de UNIX moderno

Exec, streams and scheduler framework.

Signup and view all the flashcards

Procesos en modo usuario

Special system support processes, service processes, environmental subsystems, user applications.

Signup and view all the flashcards

Study Notes

General Description of the Operating System (OS)

  • An OS is a program that controls the execution of application programs
  • It serves as an interface between applications and hardware

Objectives of an OS

  • Convenience: Makes the computer more comfortable to use
  • Efficiency: Allows computer system resources to be used efficiently
  • Ability to Evolve: Allows for the effective development, testing, and introduction of new system functions without interfering with service

Layers of a Computer System

  • The computer system typically comprises layers like hardware, OS, utilities, application programs, programmers, and end-users

Services Provided by the OS

  • Program development is facilitated through editors and debuggers
  • Program execution is enabled
  • Access to I/O devices is controlled
  • File access is managed and controlled
  • System access is provided

Error Detection and Response

  • The OS handles hardware errors, which can be internal or external, including memory errors and device failures
  • Software errors like arithmetic overflows or attempts to access prohibited memory locations are managed
  • The OS addresses situations where it is unable to fulfill an application's request

Accounting

  • Collecting usage statistics aids in monitoring performance and anticipating future enhancements
  • It is also used for billing purposes

Resource Management

  • The OS manages resources
  • Functions like regular computer software, as a running program
  • The OS relinquishes control of the processor

Kernel

  • A core part of the OS resides in main memory
  • The kernel contains the most frequently used functions
  • Also known as the nucleus

OS Evolution

  • This involves updating the OS with hardware upgrades, new types of hardware, new services, and corrections

Systems Evolution

  • Serial processing lacked an OS
  • Machines operated from a console with lights, switches, input devices, and printers, requiring scheduled time
  • Setup included loading compilers, source programs, saving compiled programs, and linking

Simple Batch Systems

  • These systems use monitors which have software controls and event sequences
  • Jobs are batched together, and programs return to the monitor upon completion

Job Control Language (JCL)

  • This is a special type of programming language
  • It provides instructions to the monitor: specifying which compiler to use and what data to utilize

Hardware Features

  • Memory protection prevents modification of the monitor area
  • A timer prevents jobs from monopolizing the system
  • Privileged instructions can only be executed by the monitor
  • Interrupts were not available in early computer models

Memory Protection

  • User programs run in user mode, restricting certain instructions
  • The monitor operates in system mode, also known as kernel mode
  • Privileged instructions are executed and protected memory areas become accessible

Limitations of Early Systems

  • I/O devices are slow
  • A sample computing usage showed ≅ 3.2% CPU utilization

Uniprogramming

  • The processor waits for an I/O instruction to complete before proceeding

Multiprogramming

  • When a job needs to wait for I/O, the processor switches to another job

Time Sharing

  • Time sharing utilizes multiprogramming to handle multiple interactive jobs
  • Processor time is shared among users
  • Multiple users can access the system simultaneously via terminals

Compatible Time-Sharing System (CTSS)

  • CTSS was an early time-sharing system developed at MIT

Key Achievements in OS

  • Processes
  • Memory management
  • Information protection and security
  • Scheduling and resource management
  • System structure

Processes

  • A process is a program in execution and an instance of a program running on a computer
  • It's an entity assignable to and executable on a processor
  • It is characterized by a single sequential thread of execution, a current state, & associated system resources

Design Difficulties in System Software

  • Incorrect synchronization, failure to ensure signals are received from I/O devices
  • Mutual exclusion issues related to resource access
  • Non-determinate program operation due to dependencies on external activities
  • Deadlocks which are system halts

Process Components

  • An executable program
  • Associated data required by the program
  • The execution context, including all information needed by the OS to manage the process

Memory Management

  • Processes isolation, automatic allocation, and modular programming support are key
  • Protected access control and long-term storage are enabled

Virtual Memory

  • Enables programmers to address memory logically
  • Eliminates pauses between the execution of successive processes by managing secondary storage for process data

Virtual Memory and File System

  • Implements long-term storage and stores information in named objects called files

Paging

  • Allows a process to be made up of fixed-size blocks which are called pages
  • A virtual address is a page number and displacement within the page
  • Each page can reside anywhere in main memory
  • Real or Physical address refers to the location in main memory

Information Protection and Security

  • Availability ensures system protection against interruption
  • Confidentiality ensures users cannot read unauthorized data
  • Integrity of data provides data protection against unauthorized access or modification
  • Authenticity verifies the identity and validity of data

Programming and Resource Management Goals

  • Fairness ensures equal and just resource access
  • Differential responsiveness is the ability to discriminate among different classes of jobs
  • Efficiency maximizes throughput and minimizes response time to accommodate as many uses as possible

Key Elements of an OS for Multiprogramming

  • The OS requires elements for service calls, as well as interrupt handling, scheduling, and queue management

System Structure

  • Viewing the system as a series of levels allows for a subset of related functions being performed at each level
  • Each level relies on the level below for primitive functions and decomposes problems into manageable parts

Levels of Process Hardware

  • Level 1 includes electronic circuits with registers, memory cells, and logic gates, performing operations like clearing registers or reading memory
  • Level 2 involves the processor's instruction set with instructions for operations, such as adding, subtracting, loading and storing memory
  • Level 3 adds procedures/subroutines and call/return operations
  • Level 4 handles interrupts

Concepts with Multiprogramming

  • Level 5 treats processes as programs in execution that can be suspended and resumed
  • Level 6 relates to secondary storage devices and the transfer of data blocks
  • Level 7 creates logical addressing spaces for processes and organizes virtual address spaces

Dealing with External Objects

  • Level 8 involves info and message communication between processes
  • Level 9 enables long-term file storage with naming conventions
  • Level 10 provides access to external devices through standard interfaces
  • Level 11 maintains associations between external and internal identifiers
  • Level 12 offers full process support
  • Level 13 functions as interface for the actual user

Modern Operating Systems

  • Microkernel architecture assigns only essential functions like address spaces, inter process communication (IPC), and basic scheduling to the kernel

Multiprocessing Overview

  • Processes are divided into subprocesses that execute simultaneously
  • A sub-process is a dispatchable unit of work that can be sequentially executed and interrupted
  • The computer process comprises one or more

Symmetric Multiprocessing (SMP)

  • In SMP multiple processors share the same main memory and perform identical functions
  • All processors are equal

Distributed Operating Systems

  • They give the illusion of a single main memory space and single secondary memory space

Object-Oriented Design

  • This includes the modular extensions used for small kernels
  • Programmers can customize the OS without affecting system integrity

Windows Architecture

  • Its modular structure provides flexibility and supports executing on varied hardware platforms
  • It also supports applications written for other OS

Windows OS Organization

  • A modified microkernel architecture is used
  • Many system functions run outside the microkernel in kernel mode
  • Modules can be updated or replaced without system-wide rewriting

Kernel Mode Components

  • This is a set of systems with basic OS services like memory and process / sub-process management, security, I/O, and between process communication
  • It implements core components
  • A HAL, or Hardware Abstraction Layer, isolates platform-specific hardware differences
  • Device drivers and GUI exist

Windows Executive

  • E/S Manager, Cache Manager, Object Manager, Plug and Play Manager, Power Manager, Security Reference Monitor, Memory Manager, Processes/Subprocesses Manager and LPC for configuration are used

User Mode Processes

  • These are special system support processes as well as session login and session management processes, environmental management processes, services and applications

Client/Server Model

  • Simplifies the executive by enabling construction of varied APIs and improving client reliability
  • Each service runs in an independent process, with memory partitioning and restricted client access to hardware
  • It has a uniform framework that uses applications to communicate via LPC

Windows Objects

  • Encapsulation: Consisting of data and procedures
  • Class or instance of an object including generating object instances
  • Inheritance is supported and polymorphism and inheritance is included in the executive

Threads and SMP

  • OS routines execute on available processors and different routines execute in different, simultaneous, processors
  • Multiple subprocesses run simultaneously in various processors with sharing of data and other resources

UNIX

  • It has hardware surrounded by software and calls the OS the "system nucleus"
  • Comes standard with shell program, standard service package, and C tool component bundle

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser