Kembali ke E-Learning
1/16

SISTEM OPERASI

Operating Systems

Fauzi, S.Kom., M.Eng

Pertemuan 5

Pengantar Teknik Informatika

2/16

Capaian Pembelajaran

Pemahaman Konsep

Memahami definisi dan konsep dasar sistem operasi menurut para ahli

Fungsi Utama

Mengetahui fungsi-fungsi utama sistem operasi dalam mengelola sumber daya komputer

Jenis dan Arsitektur

Mengklasifikasikan jenis-jenis sistem operasi dan memahami arsitekturnya

Keamanan Sistem

Memahami aspek keamanan dan manajemen akses dalam sistem operasi

3/16

Apa itu Sistem Operasi?

Definisi Dasar

Sistem Operasi adalah perangkat lunak sistem yang mengatur dan mengontrol operasi dasar komputer, bertindak sebagai interface antara pengguna dengan perangkat keras.

Analogi Sederhana

OS seperti "manajer hotel" yang mengatur semua fasilitas, melayani tamu (aplikasi), dan memastikan semua berjalan lancar.

OS Architecture

Posisi Sistem Operasi dalam Arsitektur Komputer

4/16

Definisi Menurut Para Ahli (1)

Andrew S. Tanenbaum (2015)

"An operating system is a program that acts as an intermediary between a user of a computer and the computer hardware."

Sistem operasi adalah program yang bertindak sebagai perantara antara pengguna komputer dengan perangkat keras komputer.

William Stallings (2018)

"Operating system is a program that controls the execution of application programs and acts as an interface between applications and the computer hardware."

Sistem operasi adalah program yang mengontrol eksekusi program aplikasi dan bertindak sebagai interface antara aplikasi dengan perangkat keras.

5/16

Definisi Menurut Para Ahli (2)

Abraham Silberschatz et al. (2018)

"An operating system is a program that manages the computer hardware and provides a basis for application programs and acts as an intermediary between the computer user and the computer hardware."

Sistem operasi adalah program yang mengelola perangkat keras komputer dan menyediakan basis untuk program aplikasi serta bertindak sebagai perantara antara pengguna dengan perangkat keras.

Harvey Deitel et al. (2004)

"Operating systems are programs that coordinate computer resources, provide an interface between users and the computer, and run applications."

Sistem operasi adalah program yang mengkoordinasikan sumber daya komputer, menyediakan interface antara pengguna dengan komputer, dan menjalankan aplikasi.

6/16

Fungsi Utama Sistem Operasi

OS Functions

Process Management

Mengelola proses-proses yang berjalan: create, schedule, terminate, synchronize

Memory Management

Mengalokasikan dan mengelola penggunaan memori: RAM allocation, virtual memory, swapping

File System Management

Mengelola file dan direktori: create, read, write, delete, permissions

Device Management

Mengontrol perangkat I/O: drivers, interrupts, buffering

Security & Protection

Keamanan sistem: user authentication, access control, data protection

7/16

Process Management

Definisi Process

Process adalah program yang sedang dieksekusi, terdiri dari program code, data, dan system resources.

Process States:

New: Process sedang dibuat
Ready: Siap dieksekusi
Running: Sedang dieksekusi
Waiting: Menunggu event
Terminated: Selesai eksekusi
Process Management

CPU Scheduling

  • FCFS: First Come First Served
  • SJF: Shortest Job First
  • Round Robin: Time quantum
  • Priority: Based on priority
8/16

Memory Management

Fungsi Memory Management

Memory Allocation

Mengalokasikan ruang memori untuk proses

Memory Protection

Melindungi memori antar proses

Virtual Memory

Ekstensi memori fisik menggunakan storage

Swapping

Memindahkan proses antara RAM dan disk

Memory Management

Memory Hierarchy

Cache Memory Fastest
Main Memory (RAM) Fast
Secondary Storage Slow
9/16

File System Management

Definisi File System

File System adalah metode dan struktur data yang digunakan sistem operasi untuk mengontrol bagaimana data disimpan dan diambil.

Jenis File System:

NTFS - Windows (New Technology File System)
ext4 - Linux (Fourth Extended File System)
APFS - macOS (Apple File System)
FAT32 - Universal compatibility
File System Structure

Directory Structure

  • Root Directory: Top-level directory
  • Subdirectories: Hierarchical organization
  • Path: Location identifier
  • Permissions: Access control
10/16

Perbandingan Sistem Operasi

OS Comparison
Aspek Windows Linux macOS
Developer Microsoft Open Source Community Apple
License Proprietary (Commercial) Open Source (Free) Proprietary (Commercial)
User Interface GUI (Graphical) CLI & GUI Options GUI (Graphical)
Target User General Users, Gaming Developers, Servers Creative Professionals
Security Moderate (Target for malware) High (Permission-based) High (Closed ecosystem)
Customization Limited Highly Customizable Limited
Market Share ~75% (Desktop) ~3% (Desktop), 96% (Servers) ~15% (Desktop)
11/16

Arsitektur Sistem Operasi

Layered Architecture

User Applications
System Calls (API)
Shell & User Interface
Operating System Services
Kernel
Hardware

Kernel

Core dari sistem operasi yang berinteraksi langsung dengan hardware.

  • • Process scheduling
  • • Memory management
  • • Device drivers
  • • Interrupt handling

Shell

Interface antara user dan kernel.

  • • Command Line Interface (CLI)
  • • Graphical User Interface (GUI)
  • • Command interpretation
  • • Script execution

System Calls

Programming interface untuk mengakses layanan OS.

  • • File operations
  • • Process control
  • • Device management
  • • Information queries
12/16

Mobile Operating Systems

Android

  • Developer: Google
  • Kernel: Linux-based
  • License: Open Source (AOSP)
  • Language: Java, Kotlin
  • Market Share: ~71% global
Kelebihan: Open source, customizable, wide device support

iOS

  • Developer: Apple
  • Kernel: Darwin (Unix-based)
  • License: Proprietary
  • Language: Objective-C, Swift
  • Market Share: ~28% global
Kelebihan: Secure, optimized, consistent UI/UX

Karakteristik Mobile OS

Power Management

Optimasi penggunaan baterai

Touch Interface

UI dirancang untuk layar sentuh

App Stores

Centralized app distribution

Connectivity

WiFi, cellular, Bluetooth, GPS

Other Mobile OS

  • HarmonyOS: Huawei
  • Windows Mobile: Microsoft (discontinued)
  • Tizen: Samsung
  • KaiOS: Feature phones
13/16

Keamanan Sistem Operasi

Security Process

Ancaman Keamanan

  • Malware: Virus, worm, trojan
  • Unauthorized access: Intrusi sistem
  • Data breaches: Kebocoran data
  • DoS attacks: Denial of service

Authentication

Verifikasi identitas pengguna

  • • Username/Password
  • • Biometric (fingerprint, face)
  • • Two-factor authentication (2FA)

Authorization

Kontrol akses berdasarkan hak

  • • Access Control Lists (ACL)
  • • Role-based access control
  • • File permissions (rwx)

Encryption

Enkripsi data untuk perlindungan

  • • File system encryption
  • • Network communication
  • • Password hashing

Auditing

Monitoring dan logging aktivitas

  • • System logs
  • • User activity tracking
  • • Security event monitoring
14/16

Manajemen Sumber Daya

CPU Scheduling

Preemptive: OS dapat menghentikan proses
Non-preemptive: Proses berjalan sampai selesai
Time quantum: Pembagian waktu CPU

I/O Management

Buffering: Temporary storage untuk I/O
Spooling: Queue untuk printer/output
Device drivers: Interface ke hardware

Network Management

Protocol stacks: TCP/IP, HTTP, FTP
Socket programming: Network communication
Firewall: Network security

Resource Allocation

Deadlock prevention: Menghindari deadlock
Priority management: Prioritas proses
Load balancing: Distribusi beban
15/16

Rangkuman

Konsep Utama

  • • OS sebagai interface user-hardware
  • • Manajemen sumber daya komputer
  • • Abstraksi kompleksitas hardware
  • • Platform untuk aplikasi

Fungsi Kunci

  • • Process Management
  • • Memory Management
  • • File System Management
  • • Security & Protection

Jenis OS

  • • Desktop: Windows, Linux, macOS
  • • Mobile: Android, iOS
  • • Server: Linux Server, Windows Server
  • • Embedded: Real-time OS

Aspek Keamanan

  • • Authentication & Authorization
  • • Access Control
  • • Encryption & Data Protection
  • • Auditing & Monitoring

"Sistem Operasi adalah fondasi dari semua aktivitas komputasi modern"

TERIMA KASIH

Pertemuan 5: Sistem Operasi

Pertemuan Selanjutnya

Pertemuan 6: Jaringan Komputer

Minggu depan, waktu yang sama

Keep Learning
Keep Coding
Keep Innovating

"The future belongs to those who learn more skills and combine them in creative ways."

- Robert Greene

16/16