Software, the OS and interrupts
Diperkenalkan
8:28
Perangkat Keras & Perangkat Lunak
Berikut adalah komputer baru. Setiap bagian fisik berfungsi — prosesor, memori, layar, keyboard. Nyalakan, dan tidak terjadi apa-apa. Tidak ada desktop…
Narasi bahasa Inggris · takarir bahasa Inggris dan 中文 yang dapat dipilih
Dalam pelajaran ini
| English | Makna |
|---|---|
| software/ˈsɒftweə/ | perangkat lunak |
| operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ | sistem operasi |
| Hardware/ˈhɑːdweə/ | The physical parts; software is the programs that control them. |
| programs/ˈprəʊɡræmz/ | A set of instructions specifying operations for a computer to carry out. |
| system software/ˈsɪstəm ˈsɒftweə/ | perangkat lunak sistem |
| application software/ˌæplɪˈkeɪʃn ˈsɒftweə/ | perangkat lunak aplikasi |
| compilers | |
| device drivers/dɪˈvaɪs ˈdraɪvəz/ | penggerak perangkat |
| utility software/juːˈtɪlɪti ˈsɒftweə/ | perangkat lunak utilitas |
| anti-virus/ˈænti ˈvaɪrəs/ | Software aimed at detecting or removing viruses and often other malware; protection is not guaranteed by its presence alone. |
| backup/ˈbækʌp/ | An additional copy of data kept so it can be recovered after loss or damage. |
| word processor/wɜːd ˈprəʊsesə/ | |
| spreadsheet/ˈspredʃiːt/ | |
| database/ˈdeɪtəbeɪs/ | An organised collection of data that can be accessed and managed. |
| web browser/web ˈbraʊzə/ | An application that requests web resources, interprets their content and presents pages for the user to interact with. |
| managing files | |
| managing memory | |
| managing peripherals/ˈmænɪdʒɪŋ pəˈrɪfərəlz/ | |
| multitasking/ˈmʌltitæskɪŋ/ | |
| interrupt/ˈɪntərʌpt/ | interupsi |
| user interface/ˈjuːzə ˈɪntəfeɪs/ | The controls, displays and interaction mechanisms through which a person communicates with a computer system or program. |
| platform/ˈplætfɔːm/ | A hardware/software environment on which applications can run. |
| security/sɪˈkjʊərɪti/ | |
| signal/ˈsɪɡnl/ | Information or cues that communicate a condition and can influence a response or decision. |
| processor/ˈprəʊsesə/ | The component that executes instructions and performs the operations of a computer or similar system. |
| CPU/ˌsiː piː ˈjuː/ | |
| interrupt service routine/ˈɪntərʌpt ˈsɜːvɪs ruːˈtiːn/ | A routine executed to handle a particular interrupt before control returns to an appropriate point in the interrupted processing. |
| instruction/ɪnˈstrʌkʃn/ | |
| state/steɪt/ |
Perangkat lunak dan sistem operasi
- Perangkat keras adalah bagian fisik; perangkat lunak adalah program yang mengendalikannya.
- Perangkat lunak dibagi menjadi perangkat lunak sistem dan perangkat lunak aplikasi.
- Perangkat lunak sistem paling penting adalah sistem operasi.
Perangkat lunak sistem vs aplikasi
- Perangkat lunak sistem mengontrol komputer dan memberikan dasar bagi program lain: sistem operasi, compiler, driver perangkat, dan perangkat lunak utilitas (anti-virus, backup).
- Perangkat lunak aplikasi memungkinkan pengguna melakukan tugas: pengolah kata, spreadsheet, basis data, browser web.
- Perangkat lunak sistem berjalan di latar belakang; perangkat lunak aplikasi digunakan langsung oleh pengguna.

Perangkat lunak terbagi menjadi perangkat lunak sistem (mengendalikan komputer) dan perangkat lunak aplikasi (memungkinkan pengguna melakukan tugas).

Saat terjadi interupsi, CPU menyimpan posisinya, menjalankan rutinitas layanan interupsi, lalu mengembalikan posisinya dan melanjutkan.
Which is system software?
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
The OS (and drivers, utilities) is system software; the others are application software.
Sort these into system or application software.
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
Drivers and utilities run the computer (system); a browser is a user application.
Sistem operasi
- OS mengendalikan seluruh komputer agar perangkat keras, aplikasi, dan pengguna bekerja bersama. Perannya mencakup:
- manajemen file, manajemen memori, manajemen periferal (dan driver), multitasking, menangani interupsi, menyediakan antarmuka pengguna, platform untuk aplikasi, dan keamanan.

Motherboard dan bagian-bagian yang terpasang padanya adalah perangkat keras — bagian fisik komputer.

Which is a role of the operating system?
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
The OS manages files, memory, peripherals, multitasking, interrupts, the UI and security.
Interrupts
- Interupsi adalah sinyal ke prosesor bahwa sesuatu memerlukan perhatian segera.
- Dapat berasal dari perangkat keras (tombol ditekan, printer habis kertas), perangkat lunak (pembagian dengan nol), atau pengguna (mencabut perintah).
- Prosesor berhenti, menyimpan posisinya, memproses interupsi, kemudian melanjutkan — sehingga komputer bereaksi cepat terhadap peristiwa penting.

Sistem operasi berada di antara perangkat keras dan perangkat lunak aplikasi serta pengguna, memungkinkan mereka bekerja bersama.

How the CPU handles an interrupt
Step through an interrupt. The CPU pauses what it's doing, deals with the urgent event, then carries on exactly where it left off — which is how one processor juggles the keyboard, printer and timer at once.
An interrupt is:
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
An interrupt makes the CPU pause, service the event, then resume — for quick reactions.
A hardware interrupt comes from a device (e.g. a printer out of paper), while a software interrupt comes from a program (e.g. dividing by zero) — both make the CPU pause and service the event.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Interrupts can be hardware, software or user-triggered; in every case the CPU saves state, handles it, then resumes.
Kartu ini baru, jadi ditampilkan dalam bahasa Inggris sampai terjemahannya siap.
Worked example: a key press during printing
A student is typing a report while it prints. The printer runs out of paper. Explain what the operating system does.
- The printer sends an interrupt. At the end of the current instruction 指令 the CPU checks for interrupts, saves the state 状态 of the running program and runs the interrupt service routine, which shows a "load paper" message.
- The saved state is then restored and the word processor carries on. The OS is managing peripherals (the printer) and multitasking, while the word processor is application software.
Which of these is system software?
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Utilities help run and look after the computer; the others are applications that do a task for the user.
Before handling an interrupt, the CPU saves the state of the current program so it can carry on afterwards.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Saving the registers lets the program resume exactly where it stopped.
Anda telah memahaminya
- perangkat lunak sistem menjalankan komputer (OS, driver, utilitas); perangkat lunak aplikasi melakukan tugas pengguna
- OS mengelola file, memori, periferal, multitasking, interupsi, UI, dan keamanan
- interupsi = sinyal yang membutuhkan perhatian segera (perangkat keras / perangkat lunak / pengguna)
- saat interupsi, CPU menyimpan posisinya, memprosesnya, lalu melanjutkan
Apa yang salah? Hanya tim situs yang dapat melihatnya.