Software, the OS and interrupts
הוצג
8:28
חומרה ותוכנה
זהו מחשב חדש לגמרי. כל חלק פיזי עובד — המעבד, הזיכרון, המסך, המקלדת. מדליקים אותו ואין תגובה. לא מופיע שולחן העבודה…
קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן
בשיעור הזה
| English | משמעות |
|---|---|
| software/ˈsɒftweə/ | תוכנה |
| operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ | מערכת הפעלה |
| 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ə/ | תוכנת מערכת |
| application software/ˌæplɪˈkeɪʃn ˈsɒftweə/ | תוכנת אפליקציה |
| compilers | |
| device drivers/dɪˈvaɪs ˈdraɪvəz/ | נהגי התקן |
| utility software/juːˈtɪlɪti ˈsɒftweə/ | תוכנת עזר |
| 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/ | הפרעה |
| 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/ |
תוכנה והמערכת ההפעלה
- חומרה היא החלקים הפיזיים; תוכנה היא התוכניות שמפיקות את הפעלתם.
- התוכנה מתחלקת לתוכנת מערכת ולתוכנת אפליקציה.
- תוכנת המערכת החשובה ביותר היא המערכת ההפעלה.
תוכנת מערכת לעומת תוכנת אפליקציה
- תוכנת מערכת מפעילה את המחשב וסופקת בסיס לתוכניות אחרות: המערכת ההפעלה, מוסיכים (compilers), דרייברים לציוד, ותוכנת שימושיות (אנטי-וירוס, גיבוי).
- תוכנת אפליקציה מאפשרת למשתמש לבצע משימה: עורך טקסט, טבלאות, מסדי נתונים, דפדפן אינטרנט.
- תוכנת מערכת פועלת ברקע; תוכנת אפליקציה משמשת ישירות על ידי המשתמש.

התוכנה מתחלקת לתוכנת מערכת (מפעילה את המחשב) ולתוכנת אפליקציה (מאפשרת למשתמש לבצע משימה).

באופן הפסקה (interrupt), מעבד שומר את מיקומו, פועל את שגרת שירות ההפסקה, ואז משחזר את מיקומו וממשיך.

Which is system software?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
The OS (and drivers, utilities) is system software; the others are application software.
Sort these into system or application software.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
Drivers and utilities run the computer (system); a browser is a user application.
מערכת ההפעלה
- ה-OS (מערכת ההפעלה) שולט במחשב כולו כדי שהחומרה, האפליקציות והמשתמש יעבדו יחד. תפקידיו כוללים:
- ניהול קבצים, ניהול זיכרון, ניהול ציוד חיצוני (וגם הדרייברים), ריבוי משימות, טיפול בהפסקות, ספקת ממשק משתמש, פלטפורמה לאפליקציות, ואבטחה.

הלוח האם וחלקיו המחוברים אליו הם חומרה — החלקים הפיזיים של המחשב.

Which is a role of the operating system?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
The OS manages files, memory, peripherals, multitasking, interrupts, the UI and security.
הפרעות (Interrupts)
- הפסקה (interrupt) היא אות למעבד שיש צורך לדבר עליו עכשיו.
- הוא יכול להופיע מתוך חומרה (לחיצה על מקש, מדפסת ללא נייר), תוכנה (חילוק באפס) או משתמש (לחיצה על ביטול).
- המעבד נעצר, שומר את מיקומו, משרת את ההפרעה ולאחר מכן ממשיך — כך שהמחשב מגיב במהירות לאירועים חשובים.

מערכת ההפעלה נמצאת בין החומרה לתוכנת האפליקציה ולמשתמש, ומאפשרת להם לעבוד יחד.

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:
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
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.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Interrupts can be hardware, software or user-triggered; in every case the CPU saves state, handles it, then resumes.
הכרטיס הזה חדש, לכן הוא מוצג באנגלית עד שהתרגום שלו יהיה מוכן.
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?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
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.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Saving the registers lets the program resume exactly where it stopped.
הבנתך מושלמת
- תוכנת מערכת מפעילה את המחשב (OS, דרייברים, כלים עזר); תוכנת אפליקציה מבצעת משימה עבור משתמש.
- ה-OS מנהל קבצים, זיכרון, התקנים חיצוניים, רב-ריצות, הפרעות, ממשק משתמש ואבטחה.
- הפרעה = אות הדורש תשומת לב מיידית (חומרה / תוכנה / משתמש).
- בהפרעה, ה-CPU שומר את מיקומו, משרת אותה ולאחר מכן ממשיך.
מה השתבש? רק צוות האתר רואה זאת.