Skip to content · ⁨דלג לתוכן⁩

Software · ⁨תוכנה⁩

IGCSE Computer Science · ⁨מדעי המחשב IGCSE⁩ · Topic 4 · ⁨נושא 4⁩

Video lesson for this topic · ⁨שיעור וידאו לנושא זה⁩ Open the video page · ⁨פתח את עמוד הוידאו⁩
13:11

חומרה ותוכנה

זהו מחשב חדש לגמרי. כל חלק פיזי עובד — המעבד, הזיכרון, המסך, המקלדת. מדליקים אותו ואין תגובה. לא מופיע שולחן העבודה…

English narration · English + 中文 subtitles burned in · ⁨קריאת קול באנגלית · תרגום אנגלי + סינית שרוף בתוך הסרטון⁩

4.1

Hardware and software · ⁨חומרה ותוכנה⁩

English

A computer system is made of two parts that work together.

  • Hardware 硬件 is the physical 物理的 parts of the computer — the parts you can touch. Examples: the CPU, memory, keyboard, screen and hard disk.
  • Software 软件 is the programs 程序 that control the computer and tell the hardware what to do.

Hardware cannot do anything useful on its own. Software needs hardware to run on. Both are needed.

עברית

מערכת מחשב מורכבת משתי חלקים העובדים יחד.

חומרה היא החלקים הפיזיים (מעבד, מקלדת); תוכנה היא התוכניות (אפליקציות, מערכת הפעלה)
ציוד הוא החלקים הפיזיים; תוכנה היא התוכניות
  • חומרה היא החלקים הפיזיים של המחשב — החלקים שניתן לגעת בהם. דוגמאות: המעבד, הזיכרון, המקלדת, המסך והדיסק הקשיח.
  • תוכנה היא התוכניות שמנהלות את המחשב ומנחות את החומרה לביצוע פעולות.

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

לוח אם מחשב עם שבבים, חריצים ומחברים
הלוח והחלקים המחוברים אליו הם חומרה — החלקים הפיזיים שניתן לגעת בהם
מערכת הפעלה שולחנית על מסך
מערכת הפעלה היא תוכנה — התוכניות שמנחות את החומרה לביצוע פעולות
Vocabulary · ⁨מילון מונחים⁩ Train · ⁨אימון⁩
English עברית
Hardware/ˈhɑːdweə/ חומרה
physical/ˈfɪzɪkl/ פיזי
Software/ˈsɒftweə/ תוכנה
programs/ˈprəʊɡræmz/ תוכניות
System software/ˈsɪstəm ˈsɒftweə/ תוכנת מערכת
operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ מערכת הפעלה
4.1

Types of software · ⁨סוגי תוכנה⁩

Syllabus · ⁨סיילבוס⁩
English
Candidates should be able to: Notes and guidance
1 Describe the difference between system software and application software and provide examples of each • System software provides the services that the computer requires, including operating system and utility software • Application software provides the services that the user requires
2 Describe the role and basic functions of an operating system • Including: – managing files – handling interrupts – providing an interface – managing peripherals and drivers – managing memory – managing multitasking – providing a platform for running applications – providing system security – managing user accounts
3 Understand how hardware, firmware and an operating system are required to run applications software • Applications are run on the operating system • The operating system is run on the firmware • The bootloader (firmware) is run on the hardware
4 Describe the role and operation of interrupts • Including: – how an interrupt is generated – how it is handled using an interrupt service routine – what happens as a result of the interrupts • Software interrupts include division by zero and two processes trying to access the same memory location • Hardware interrupts include pressing a key on the keyboard and moving the mouse
עברית
המועמדים צריכים להיות מסוגלים: הערות והנחיות
1 תיאור ההבדל בין תוכנת מערכת לבין תוכנת יישום וציון דוגמאות לכל אחד מהם • תוכנת מערכת מספקת את השירותים הנדרשים למחשב, כולל מערכת הפעלה ותוכנת עזר • תוכנת יישום מספקת את השירותים הנדרשים למשתמש
2 תיאור תפקידו ותפקודיו הבסיסיים של מערכת הפעלה • כולל: – ניהול קבצים – טיפול בהפרעות – מתן ממשק – ניהול מכשירים חיצוניים ונהגים – ניהול זיכרון – ניהול רב-ריצות – מתן פלטפורמה להרצאת יישומים – מתן אבטחת מערכת – ניהול חسابי משתמש
3 הבנה כי חומרה, פירמוויר ומערכת הפעלה נדרשים להרצאת תוכנת יישום • יישומים מופעלים על מערכת ההפעלה • מערכת ההפעלה מופעלת על הפירמוויר • בוטלוודר (פירמוויר) מופעל על החומרה
4 תיאור תפקידו ותפעולן של הפרעות • כולל: – כיצד הפרעה נוצרת – כיצד היא מטופלת באמצעות שגרת שירות הפרעות – מה קורה כתוצאה מההפרעות • הפרעות תוכנה כוללות חלוקה באפס וניסיון של שני תהליכים לגשת לאותו מיקום בזיכרון • הפרעות חומרה כולחות לחץ על מקשי המקלדת והזזת העכבר

Source: Cambridge International syllabus · ⁨מקור: הסיילבוס הבינלאומי של קמבריד'ג'⁩

English

Software is split into two types.

System software

System software 系统软件 controls the computer itself and gives a base for other programs to run on. Examples:

  • operating system 操作系统 (see below);
  • compiler 编译器 and linker 链接器 (tools that turn programs into a form the computer can run);
  • device driver 设备驱动程序 — software that lets the operating system control a piece of hardware;
  • utility software 实用程序 — small tools that look after the computer (for example anti-virus, backup, disk clean-up).

Below the operating system sits firmware 固件 – software stored permanently on ROM or flash that runs the moment the computer is switched on. The BIOS and the bootloader 引导程序 are firmware: they test the hardware and then load the operating system. So the layers stack up hardware → firmware → operating system → application software, each running on the layer below.

Application software

Application software 应用软件 lets the user do a useful task. Examples:

  • word processing 文字处理 software (writing documents);
  • spreadsheet 电子表格 software (working with numbers in a grid);
  • database management system 数据库管理系统 (storing and searching data);
  • web browser 网页浏览器 (viewing web pages).
System software Application software
Job runs and manages the computer helps the user do a task
Used by the computer (in the background) the user (directly)
Examples operating system, drivers, utilities word processor, browser, games
עברית

התוכנה מחולקת לשני סוגים.

עץ המפרק את התוכנה לתוכנה מערכת (מערכת הפעלה, כלי עזר, דרייברים, מקומד) ותוכנת יישום (עורך טקסט, גיליון עבודה, מסד נתונים, דפדפן)
התוכנה מתחלקת לתוכנה מערכת (הופעת המחשב) ותוכנת יישום (מאפשרת למשתמש לבצע משימה)

תוכנת מערכת

תוכנת מערכת שולטת במחשב עצמו ומספקת בסיס עבור תוכניות אחרות להפעלה. דוגמאות:

  • מערכת הפעלה (ראו להלן);
  • מקומד ומקשר (כלים הממירים תוכניות לצורה שהמחשב יכול להפעיל);
  • דרייבר התקן — תוכנה המאפשרת למערכת הפעלה לשלוט בחלקי חומרה;
  • תוכנת עזר — כלי קטנים המטפלים במחשב (למשל אנטי-וירוס, גיבוי, ניקוי דיסק).

מתחת למערכת הפעלה נמצאת תוכנת פירמवेयर – תוכנה מאובנתת באופן קבוע על ROM או Flash המופעלת ברגע הדלקת המחשב. ה-BIOS וה-bootloader הם פירמवेयर: הם בודקים את החומרה ואז מטעין את מערכת הפעלה. כך השכבות נערמות חומרה → פירמवेयर → מערכת הפעלה → תוכנת יישום, כאשר כל שכבה פועלת על השכבה התחתונה ממנה.

תוכנת יישום

תוכנת יישום מאפשרת למשתמש לבצע משימה שימוצית. דוגמאות:

  • תוכנת עיבוד טקסט (כתיבת מסמכים);
  • תוכנת טבלאות מחשב (עבודה עם נתונים בטבלא);
  • מערכת ניהול מאגרי נתונים (אחסון וחיפוש מידע);
  • דפדפן אינטרנט (תצוגת דפי רשת).
תוכנת מערכת תוכנת יישום
משימה פועל ומנהל את המחשב עוזר למשתמש לבצע משימה
משתמש ב- המחשב (ברקע) המשתמש (באופן ישיר)
דוגמאות מערכת הפעלה, דרייברים, כלי עזר עורך טקסט, דפדפן, משחקים
Vocabulary · ⁨מילון מונחים⁩ Train · ⁨אימון⁩
English עברית
bootloader/ˈbuːtləʊdə/ מטעין את המערכת (bootloader)
Application software/ˌæplɪˈkeɪʃn ˈsɒftweə/ תוכנת יישום
word processing/wɜːd ˈprəʊsesɪŋ/ עיבוד טקסט
spreadsheet/ˈspredʃiːt/ טבלאות מחשב
database management system/ˈdeɪtəbeɪs ˈmænɪdʒmənt ˈsɪstəm/ מערכת ניהול מסדי נתונים
web browser/web ˈbraʊzə/ דפדפן אינטרנט
providing a user interface/prəˈvaɪdɪŋ ə ˈjuːzə ˈɪntəfeɪs/ ספק ממשק משתמש
managing peripherals/ˈmænɪdʒɪŋ pəˈrɪfərəlz/ ניהול מכשירים חיצוניים
managing multitasking/ˈmænɪdʒɪŋ ˈmʌltitæskɪŋ/ ניהול ביצועים מקבילים
providing a platform/prəˈvaɪdɪŋ ə ˈplætfɔːm/ אספקת פלטפורמה
4.1

The operating system · ⁨מערכת ההפעלה⁩

English

An operating system (OS) is the main system software. It controls the whole computer and lets the hardware, the application software and the user work together. Without an OS the computer is very hard to use.

The OS has many roles:

  • managing files — saving, opening, naming, moving and deleting files;
  • handling interrupts (see below);
  • providing a user interface 用户界面 so the user can control the computer;
  • managing memory — deciding what is kept in RAM and where;
  • managing peripherals 外围设备 and their drivers — controlling devices like printers;
  • managing multitasking 多任务处理 — letting several programs run at once;
  • providing a platform 平台 for running application software;
  • managing security — user accounts, passwords and access rights.
עברית

מערכת הפעלה (OS) היא תוכנת המערכת הראשית. היא שולטת במחשב כולו ומאפשרת לחומרה, לתוכנת היישום ולמשתמש לעבוד יחד. ללא מערכת הפעלה קשה מאוד להשתמש במחשב.

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

למערכת ההפעלה ישנם תפקידים רבים:

  • ניהול קבצים — שמירה, פתיחה, ניקוב, הזזה ומחיקת קבצים;
  • טיפול בקטיעים (ראו למטה);
  • מתן ממשק למשתמש כדי שהמשתמש יוכל לשלוט במחשב;
  • ניהול זיכרון — החלטה מה נשמר בזיכרון RAM ואين;
  • ניהול התקנים חיצוניים והדרייברים שלהם — שליטה בהתקנים כמו מדפסות;
  • ניהול ריבוי משימות — האפשרת ריצה של מספר תוכניות בו-זמנית;
  • מתן פלטפורמה להרצת תוכנת יישום;
  • ניהול אבטחה — חשבונות משתמש, סיסמאות וזכויות גישה.
4.1

Interrupts · ⁨אירועי הפרעה⁩

English

An interrupt 中断 is a signal sent to the processor 处理器 to tell it that something needs attention now.

An interrupt can come from three sources:

  • hardware — for example a key is pressed, or a printer runs out of paper;
  • software — for example a program tries to divide by zero;
  • the user — for example the user presses a "cancel" key.

When an interrupt arrives, the processor stops what it is doing, saves its place, and services (deals with) the interrupt. When that is done, it goes back to what it was doing before. This lets the computer react quickly to important events.

עברית

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

הפרעה יכולה לנבוע משלושה מקורות:

  • חומרה — לדוגמה לחיצה על מקשי keyboard או גימור נייר במדפסת;
  • תוכנה — לדוגמה תוכנית מנסה לחלק באפס;
  • המשתמש — לדוגמה לחיצה על מקש "ביטול" על ידי המשתמש.

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

מחזור: תוכנית ראשית פועלת, ולאחר מכן בהפרעה מעבד המצב של CPU, פועל תוכנית שירות ההפרעה, משחזר את המצב והמשיך
בהפרעה מעבד שמר את מקומו, הפעיל את תוכנית שירות ההפרעה, ולאחר מכן שיחזר את מקומו והמשיך
Explore · ⁨חקור⁩

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. · ⁨מעבר שלב אחר שלב בהפרעה. המעבד משהה את פעילותו, מטפל באירוע דחוף, ולאחר מכן ממשיך בדיוק מהנקודה שבה עצר — וכך מעבד אחד מנהל בו-זמנית מקלדת, מדפסת ושעון.⁩

Vocabulary · ⁨מילון מונחים⁩ Train · ⁨אימון⁩
English עברית
interrupt/ˈɪntərʌpt/ הפרעה
processor/ˈprəʊsesə/ מעבד
central processing unit/ˈsentrəl ˈprəʊsesɪŋ ˈjuːnɪt/ מעבד מרכזי
programming language/ˈprəʊɡræmɪŋ ˈlæŋɡwɪdʒ/ שפת תכנות
high-level language/haɪ ˈlevl ˈlæŋɡwɪdʒ/ שפת תכנות בעלת רמה גבוהה
low-level language/ləʊ ˈlevl ˈlæŋɡwɪdʒ/ שפת תכנות נמוכה
machine code/məˈʃiːn kəʊd/ קוד מכונה
assembly language/əˈsemblɪ ˈlæŋɡwɪdʒ/ שפת אסמבלר
specific/spəˈsɪfɪk/ ספציפי
translator/trænˈsleɪtə/ מתרגם
4.2

Programming languages · ⁨שפות תכנות⁩

Syllabus · ⁨סיילבוס⁩
English
Candidates should be able to: Notes and guidance
1 Explain what is meant by a high-level language and a low-level language, including the advantages and disadvantages of each • Advantages and disadvantages include: – ease of reading and writing code, e.g. low-level is hard to read – ease of debugging code – machine independence – direct manipulation of hardware
2 Understand that assembly language is a form of low-level language that uses mnemonics, and that an assembler is needed to translate an assembly language program into machine code
3 Describe the operation of a compiler and an interpreter, including how high-level language is translated by each and how errors are reported • A compiler translates the whole code at once before executing it, producing an executable file • An interpreter translates and executes the code line-by-line • A compiler provides an error report for the whole code if errors are detected • An interpreter stops execution when an error is found
4 Explain the advantages and disadvantages of a compiler and an interpreter • Including an understanding that an interpreter is mostly used when developing a program and a compiler is used to translate the final program
5 Explain the role of an IDE in writing program code and the common functions IDEs provide • Including: – code editors – run-time environment – translators – error diagnostics – auto-completion – auto-correction – prettyprint
עברית
המועמדים צריכים להיות מסוגלים: הערות והנחיות
1 הסבר על המשמעות של שפה ברמה גבוהה ושפה ברמה נמוכה, כולל היתרונות והחסרונות של כל אחת מהן • היתרונות והחסרונות כוללים: – נוחות בקריאה וכתיבת קוד, לדוגמה: קשה לקרוא שפה ברמה נמוכה – נוחות בתקנון קוד – עצמאות ממכונה – עיבוד ישיר של חומרה
2 הבנה כי שפת אסמבלר היא סוג של שפה ברמה נמוכה המשמשת מנומוןיקסים, וכי נדרש אסמבלר כדי לתרגם תוכנית בשפת אסמבלר לקוד מכונה
3 תיאור תפעולו של מתרגם ומפרש, כולל כיצד שפה ברמה גבוהה מתורגמת על ידי כל אחד מהם וכיצד שגיאות מדווחות • מתרגם מתרגם את כל הקוד בפעם אחת לפני ביצועו, ומייצר קובץ ניתן לביצוע • מפרש מתרגם ומבצע את הקוד שורה-שורה • מתרגם מספק דוח שגיאות עבור כל הקוד אם התגלו שגיאות • מפרש מפסיק ביצוע כאשר מופגעת שגיאה
4 הסבר על היתרונות והחסרונות של מתרגם ומפרש • כולל הבנה כי מפרש משמש לרוב במהלך פיתוח תוכנית ומתרגם משמש לתרגום התוכנית הסופית
5 הסבר על תפקידו של IDE בכתיבת קוד תוכנית והפונקציות הנפוצות שמספקות IDEs • כולל: – עורכי קוד – סביבת ריצה – מתרגמים – אבחון שגיאות – השלמה אוטומטית – תיקון אוטומטי – פורמט קוד

Source: Cambridge International syllabus · ⁨מקור: הסיילבוס הבינלאומי של קמבריד'ג'⁩

English

All computers process data using the central processing unit 中央处理器 (CPU). To make the CPU do work, people write programs in a programming language 编程语言. There are two kinds.

High-level languages

A high-level language 高级语言 is written in words that look a bit like English (for example Python). It is:

  • easy for people to read, write and fix;
  • independent of the computer — the same program can run on different types of computer.

Low-level languages

A low-level language 低级语言 is close to what the hardware actually uses. It includes:

  • machine code 机器码 — instructions written in binary (0s and 1s), which the CPU runs directly;
  • assembly language 汇编语言 — machine code written with short word codes (mnemonics) instead of binary.

A low-level language relates to the specific 特定的 type of CPU, so a program written for one CPU may not run on another. It is used when the programmer needs full control of the hardware or very fast, small code.

עברית

כל המחשבים מעבדים נתונים באמצעות מעבד מרכזי (CPU). כדי שה-CPU יעשה עבודה, אנשים כותבים תוכניות בשפת תכנות. ישנם שני סוגים.

שפות רמות גבוהות

שפת רמה גבוהה כתובה במילים הדומות מעט לאנגלית (לדוגמה Python). היא:

  • קלה לקריאה, כתיבה ותיקון על ידי אנשים;
  • בלתי תלויה במחשב — אותו תוכנית יכולה לפעול על סוגים שונים של מחשבים.

שפות רמות נמוכות

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

  • קוד מכונה — הוראות כתובות בבינארי (0s ו-1s), אותם ה-CPU מפעיל ישירות;
  • שפת אסימבלר — קוד מכונה כתוב עם קודי מילים קצרות (mnemonics) במקום בינארי.

שפת רמה נמוכה קשורה לסוג ספציפי של CPU, ולכן תוכנית שנכתבה עבור CPU אחד עשויה לא לפעול על אחר. היא משמשת כאשר המתכנן זקוק לשליטה מלאה בחומרה או בתוכנית מהירה מאוד, קטנה.

שלוש שכבות ערומות: שפה בגובה גבוה למעלה, לאחר מכן אסימבל, ולאחר מכן קוד מכונה למטה
שפות תכנות גבוהות קרובות לשפת האדם ופועלות על כל מחשב; שפות תכנון נמוכות (אסמבלי וקוד מכונה) קרובות לחומרה ומותאמות לסוג CPU אחד בלבד
Explore · ⁨חקור⁩

Computing concept lab · ⁨מעבדת מושגי מחשוב⁩

Classify concrete examples by the computing idea they demonstrate. · ⁨סווג דוגמאות מلموسة לפי הרעיון המחשובי שהן מדגימות.⁩

4.2

Translators · ⁨מתרגמים⁩

English

The CPU can only run machine code. A high-level program must first be changed into machine code. The software that does this is a translator 翻译程序. There are three types: a compiler and an interpreter (for high-level code), and an assembler (for low-level code).

Compiler

A compiler translates the whole program into machine code before it is run. After translating, the machine code can be run many times without translating again.

  • translation happens once, in full;
  • it reports all the errors together, at the end of translating;
  • the finished program runs fast and does not need the compiler to run.

Interpreter

An interpreter 解释器 translates and runs the program one line at a time.

  • it stops at the first error it finds, which helps when testing;
  • the program runs more slowly, because it is translated each time it runs;
  • the interpreter must be present every time the program runs.
Compiler Interpreter
Translates the whole program at once one line at a time
Errors all reported at the end stops at the first error
Speed of finished program faster slower
Needed to run later? no yes

Use a compiler when you want to share a fast, finished program. Use an interpreter when you are writing and testing a program and want to find errors easily.

Assembler

An assembler 汇编器 translates a low-level assembly-language program (written in mnemonics such as LDA, ADD) into machine code. Each mnemonic becomes one machine instruction – a direct one-to-one translation, unlike a compiler or interpreter, which work on high-level code.

Worked example. A team is writing a program. While developing it they want to find and fix errors quickly; when they ship it they want customers to run it fast without seeing the source code. Which translator suits each stage? While developing, use an interpreter: it translates and runs one line at a time and stops at the first error, so a mistake is easy to locate. To ship, use a compiler: it translates the whole program once into machine code, which then runs quickly with no translator present, and the customer receives only the executable rather than the source. The two are not rivals - name the stage and give the reason, because "a compiler is faster" on its own earns nothing.

עברית

מעבד המידע יכול ליישר רק קוד מכונה. תוכנית בשפה גבוהה חייבת להימסר תחילה לקוד מכונה. התוכנה שמבצעת זאת נקראת מתרגם. ישנם שלושה סוגים: מצבר ומפרש (לשפה גבוהה), ואסמבלר (לשפה נמוכה).

קומפילר

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

  • ההמרה מתבצעת פעם אחת, במלואה;
  • הוא מדווח על כל השגיאות יחד, בסוף ההמרה;
  • התוכנית המוגמרת מייצרת מהר ואינה זקוקה למצבר כדי לפעול.

מחבר (Interpreter)

מפרש מתרגם ומייצר את התוכנית שורה אחר שורה.

  • הוא עצור בשגיאה הראשונה שמגלה, מה שעוזר במהלך הבדיקה;
  • התוכנית מייצרת לאט יותר, כי היא מתורגמת בכל פעם שהיא מיוצרת;
  • המפרש חייב להיות נוכח בכל פעם שהתוכנית מיוצרת.
מתרגם מעביר
תרגום את כל התוכנית בו-זמנית שורה אחת באחת
שגיאות דווחות כולן בסיום עצור בראשונה שגיאה
מהירות תוכנית מוגמרת מהירה יותר איטית יותר
נדרש ליצור בעתיד? לא כן

שתמש במצבר כאשר ברצונך לשתף תוכנית מהירה ומוגמרת. שתמש במפרש כאשר אתה כותב ובודק תוכנית ורוצה למצוא שגיאות בקלות.

אסמבלר

אסמבלר מתרגם תוכנית שפת אסמבלי נמוכה (כתובה באקונימונים כמו LDA, ADD) לקוד מכונה. כל אקונימון הופך להוראה מכונה אחת – המרה ישירה של אחד לאחד, בניגוד למצבר או למפרש, הפועלים על קוד בשפה גבוהה.

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

דוגמה פותרת. צוות כותב תוכנית. במהלך הפיתוח הם רוצים למצוא ולתקן שגיאות במהירות; כאשר הם משלחים אותה, הם רוצים שהלקוחות יייצרו אותה מהר מבלי לראות את קוד המקור. איזה מתרגם מתאים לכל שלב? במהלך הפיתוח, השתמש במפרש: הוא מתרגם ומייצר שורה אחר שורה ועוצר בשגיאה הראשונה, כך שגיאה קלה למיקום. עבור השליחה, השתמש במצבר: הוא מתרגם את כל התוכנית פעם אחת לקוד מכונה, שמייצר מאוחר מהר ללא נוכחות המתרגם, והלקוח מקבל רק את הקובץ הניתן לביצוע ולא את קוד המקור. שניהם אינם יריבים - צין את השלב ותן את הסיבה, כי "מצבר מהיר" לבדו אינו משיג נקודות.

Vocabulary · ⁨מילון מונחים⁩ Train · ⁨אימון⁩
English עברית
compiler/kəmˈpaɪlə/ מתרגם
linker/ˈlɪŋkə/ מקשר
device driver/dɪˈvaɪs ˈdraɪvə/ נהג התקן
utility software/juːˈtɪlɪti ˈsɒftweə/ תוכנת שימושיות
firmware/ˈfɜːmweə/ תוכנת מעבד
interpreter/ɪnˈtɜːprɪtə/ מפענח
assembler/əˈsemblə/ אסמבלר
integrated development environment/ˈɪntɪɡreɪtɪd dɪˈveləpmənt enˈvaɪrənmənt/ סביבת פיתוח משולבת
code editor/kəʊd ˈedɪtə/ עורך קוד
run time environment/rʌn taɪm enˈvaɪrənmənt/ סביבת ריצה
error diagnostics/ˈerə ˌdaɪəɡˈnɒstɪks/ אבחון שגיאות
auto-completion/ˈɔːtəʊ kəmˈpliːʃn/ השלמה אוטומטית
auto-correction/ˈɔːtəʊ kəˈrekʃn/ תיקון אוטומטי
prettyprinting/ˈpretɪprɪntɪŋ/ הדפסה מעוצבת (prettyprinting)
user interface/ˈjuːzə ˈɪntəfeɪs/ ממשק משתמש
peripherals/pəˈrɪfərəlz/ מכשירים חיצוניים
multitasking/ˈmʌltitæskɪŋ/ ריבוי משימות
platform/ˈplætfɔːm/ פלטפורמה
4.2

Integrated development environment (IDE) · ⁨סביבת פיתוח משולבת (IDE)⁩

English

An integrated development environment 集成开发环境 (IDE) is software that helps you write programs. It puts many useful tools in one place:

  • a code editor 代码编辑器 — for typing in your program;
  • a run time environment 运行时环境 — for running the program to test it;
  • a translator — a compiler or interpreter to turn your code into machine code;
  • error diagnostics 错误诊断 — messages that help you find and understand mistakes;
  • auto-completion 自动补全 and auto-correction 自动纠错 — the IDE finishes or fixes code as you type;
  • prettyprinting 美化打印 — laying out the code neatly with colour and indentation so it is easy to read.
עברית

סביבת פיתוח משולבת (IDE) היא תוכנה העוזרת לך לכתוב תוכניות. היא משלבת מספר כלים שימושיים במקום אחד:

  • עורך קוד — לעריכת התוכנית שלך;
  • סביבת הרצה — להרצת התוכנית לבדיקתה;
  • מתרגם — מחולק או מפרש הממיר את הקוד שלך לקוד מכונה;
  • אבחון שגיאות — הודעות המסייעות לך למצוא ולהבין טעויות;
  • השלמה אוטומטית ותיקון אוטומטי — הסביבה המאחדת (IDE) משלימה או תיקן קוד בעת ההקלדה;
  • עיצוב נאה — סידור הקוד בצורה מסודרת עם צבע והזזה כדי לשפר את קריאותו.
קוד מקור בעורך: סביבה מאוחדת משלבת עורך, מטפל שגיאות וכלי הרצה במקום אחד
קוד מקור בעורך: סביבה מאוחדת משלבת עורך, מטפל שגיאות וכלי הרצה במקום אחד
4.2

Exam tips · ⁨טיפים לבחינות⁩

English
  • Hardware is the physical parts; software is the programs. System software runs the computer (OS, drivers, utilities); application software does a task for the user.
  • A compiler translates the whole program at once (the finished program runs fast, and all errors are reported at the end); an interpreter translates line by line (it stops at the first error, runs slower, and is needed every time).
  • High-level languages are close to English and run on any computer; low-level languages (assembly, machine code) are tied to one type of CPU.
  • An interrupt is a signal that makes the CPU stop, save its place, service the event, then carry on where it left off.
  • Learn the operating system's roles: managing files, memory, peripherals, multitasking, security and the user interface.
עברית
  • חומרה היא החלקים הפיזיים; תוכנה היא התוכניות. תוכנת מערכת מפעילה את המחשב (מערכת הפעלה, דרייברים, כלים); תוכנת יישום מבצעת משימה עבור המשתמש.
  • מחולק מתרגם את כל התוכנית בבת אחת (התוכנית המוגמרת רצה מהר, וכל השגיאות מדווחות בסוף); מפרש מתרגם שורה שורה (עוצר בשגיאה הראשונה, רץ לאט יותר, ונדרש בכל פעם).
  • שפות רמה גבוהה קרובות לאנגלית ורצות על כל מחשב; שפות רמה נמוכה (אסמבלר, קוד מכונה) קשורות לסוג CPU אחד.
  • הפרעה היא אות הגורם למעבד לעצור, לשמור את מיקומו, לשרת האירוע, ולאחר מכן להמשיך מהנקודה שבה עצר.
  • למד את תפקידי מערכת ההפעלה: ניהול קבצים, זיכרון, התקנים חיצוניים, ריבוי משימות, אבטחה וממשק משתמש.

Interactive lessons on this topic · ⁨שיעורים אינטראקטיביים בנושא זה⁩

Work through it step by step, with instant-check exercises. · ⁨לעבור על הדברים צעד אחר צעד, עם תרגילים לבדיקה מיידית.⁩

Past Papers · ⁨מבחני עבר⁩

More topics in IGCSE Computer Science · ⁨מדעי המחשב IGCSE⁩ · ⁨נושאים נוספים בIGCSE Computer Science · ⁨מדעי המחשב IGCSE⁩⁩

Log in or create account · ⁨היכנס או צור חשבון⁩

IGCSE, A-Level & AP