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

Data · ⁨נתונים⁩

AP Computer Science Principles · ⁨עקרונות מדעי המחשב - AP⁩ · Topic 2 · ⁨נושא 2⁩

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

נתונים

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

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

2.1

Binary Numbers · ⁨מספרים בינאריים⁩

Syllabus · ⁨סיילבוס⁩
English

Enduring Understanding (DAT-1): The way a computer represents data internally is different from the way the data are interpreted and displayed for the user. Programs are used to translate data into a representation more easily understood by people.

Learning Objective DAT-1.A: Explain how data can be represented using bits. [Skill 3.C]

  • DAT-1.A.1 Data values can be stored in variables, lists of items, or standalone constants and can be passed as input to (or output from) procedures.
  • DAT-1.A.2 Computing devices represent data digitally, meaning that the lowest-level components of any value are bits.
  • DAT-1.A.3 Bit is shorthand for binary digit and is either 0 or 1.
  • DAT-1.A.4 A byte is 8 bits.
  • DAT-1.A.5 Abstraction is the process of reducing complexity by focusing on the main idea. By hiding details irrelevant to the question at hand and bringing together related and useful details, abstraction reduces complexity and allows one to focus on the idea.
  • DAT-1.A.6 Bits are grouped to represent abstractions. These abstractions include, but are not limited to, numbers, characters, and color.
  • DAT-1.A.7 The same sequence of bits may represent different types of data in different contexts.
  • DAT-1.A.8 Analog data have values that change smoothly, rather than in discrete intervals, over time. Some examples of analog data include pitch and volume of music, colors of a painting, or position of a sprinter during a race.
  • DAT-1.A.9 The use of digital data to approximate real-world analog data is an example of abstraction.
  • DAT-1.A.10 Analog data can be closely approximated digitally using a sampling technique, which means measuring values of the analog signal at regular intervals called samples. The samples are measured to figure out the exact bits required to store each sample.

Learning Objective DAT-1.B: Explain the consequences of using bits to represent data. [Skill 1.D]

  • DAT-1.B.1 In many programming languages, integers are represented by a fixed number of bits, which limits the range of integer values and mathematical operations on those values. This limitation can result in overflow or other errors.
  • DAT-1.B.2 Other programming languages provide an abstraction through which the size of representable integers is limited only by the size of the computer's memory; this is the case for the language defined in the exam reference sheet.
  • DAT-1.B.3 In programming languages, the fixed number of bits used to represent real numbers limits the range and mathematical operations on these values; this limitation can result in round-off and other errors. Some real numbers are represented as approximations in computer storage.
    • Exclusion statement: Specific range limitations for real numbers are outside the scope of this course and the AP Exam.

Learning Objective DAT-1.C: For binary numbers: a. Calculate the binary (base 2) equivalent of a positive integer (base 10) and vice versa. [Skill 2.B] b. Compare and order binary numbers. [Skill 2.B]

  • DAT-1.C.1 Number bases, including binary and decimal, are used to represent data.
  • DAT-1.C.2 Binary (base 2) uses only combinations of the digits zero and one.
  • DAT-1.C.3 Decimal (base 10) uses only combinations of the digits $0 - 9$.
  • DAT-1.C.4 As with decimal, a digit's position in the binary sequence determines its numeric value. The numeric value is equal to the bit's value (0 or 1) multiplied by the place value of its position.
  • DAT-1.C.5 The place value of each position is determined by the base raised to the power of the position. Positions are numbered starting at the rightmost position with 0 and increasing by 1 for each subsequent position to the left.
עברית

הבנה מתמשכת (DAT-1): הדרך שבה מחשב מייצג נתונים בפנים היא שונה מהדרך שבה הנתונים מופנשים ומוצגים למשתמש. תוכניות משמשות להמרת נתונים לייצוג שמבין אנשים בקלות יותר.

מטרת למידה DAT-1.A: הסבר כיצד ניתן לייצג נתונים באמצעות ביטים. [מיומנות 3.C]

  • DAT-1.A.1 ערכי נתונים יכולים להיות מאוחזים במשתנים, ברשימות פריטים או בקבועים עצמאיים, ויכולים לעבור כקלט (או כתוצאה) לתוך פרוצדורות.
  • DAT-1.A.2 התקני מחשוב מייצגים נתונים דיגיטלית, כלומר שהרכיבים ברמה הנמוכה ביותר של כל ערך הם ביטים.
  • DAT-1.A.3 ביט הוא קיצור של דיגיט ביינרי, והוא יכול להיות 0 או 1.
  • DAT-1.A.4 בייט הוא 8 ביטים.
  • DAT-1.A.5 ה abstraction (התפשטות) היא תהליך של צמצום המורכבות על ידי התמקדות ברעיון המרכזי. על ידי הסתרת פרטים שאינם רלוונטיים לשאלה הדורשת את תשובתה וקבוצת יחד פרטים רלוונטיים ושימושיים, הה abstraction מצמצמת מורכבות ומאפשרת להתמקד ברעיון.
  • DAT-1.A.6 ביטים מקובצים כדי לייצג abstractions. abstractions אלו כוללות, אך אינן מוגבלות ל-, מספרים, תווים וצבעים.
  • DAT-1.A.7 אותה רצף של ביטים יכול לייצג סוגי נתונים שונים בהקשרים שונים.
  • DAT-1.A.8 נתונים אנלוגיים הם בעלי ערכים השונים בצורה חלקה, ולא בתחומים נפרדים, לאורך זמן. דוגמאות לנתונים אנלוגיים כוללים גובה טון ועוצמת קול במוסיקה, צבעים של ציור, או מיקומו של רץ ספרינט בזמן מירוץ.
  • DAT-1.A.9 השימוש בנתונים דיגיטליים כדי לקירוב נתונים אנלוגיים מהעולם האמיתי הוא דוגמה ל- abstraction.
  • DAT-1.A.10 ניתן לקרוב נתונים אנלוגיים באופן מדויק בדיגיטלי באמצעות שיטת דגימה, המשמעות מדידת ערכים של האות האנלוגי במרווחים קבועים הנקראים דגימות. הדגימות נמדדות כדי לחשב את הביטים המדויקים הנדרשים לאחסון כל דגימה.

מטרת למידה DAT-1.B: הסבר ההשלכות של שימוש בביטים לייצוג נתונים. [מיומנות 1.D]

  • DAT-1.B.1 בשפות תכנות רבות, שלמים מיוצגים על ידי מספר קבוע של ביטים, מה שמגביל את הטווח של ערכי שלמים ופעולות מתמטיות על ערכים אלו. הגבלה זו עלולה לגרום to overflow או שגיאות אחרות.
  • DAT-1.B.2 שפות תכנות אחרות מספקות abstraction שבו גודל של שלמים שניתן לייצג מוגבל רק בגודל הזיכרון של המחשב; זהו המקרה עבור השפה המוגדרת בדף הרפרנס לבחינה.
  • DAT-1.B.3 בשפות תכנות, מספר הביטים הקבוע המשמש לייצוג מספרים ממשיים מגביל את הטווח ואת הפעולות המתמטיות על ערכים אלו; הגבלה זו עלולה לגרום to round-off ושגיאות אחרות. חלק ממספרים ממשיים מיוצגים כקירובים באחסון המחשב.
    • הצהרת исключение: הגבלות טווח ספציפיות למספרים ממשיים הן מחוץ לתחום ההשכלה של הקורס ובחינת AP.

מטרת למידה DAT-1.C: עבור מספרים ביינריים: א. חשב את הערך הבוינרי (בסיס 2) של שלם חיובי (בסיס 10) ולהפך. [מיומנות 2.B] ב. השווה וסדר מספרים ביינריים. [מיומנות 2.B]

  • DAT-1.C.1 בסיסי מספרים, כולל בינארי ועשרוני, משמשים לייצוג נתונים.
  • DAT-1.C.2 מערכת בינארית (בסיס 2) משתמשת רק בשילובים של הספרות אפס ואחד.
  • DAT-1.C.3 מערכת עשרונית (בסיס 10) משתמשת רק בשילובים של הספרות $0 - 9$.
  • DAT-1.C.4 כמו במערכת העשרונית, מיקום הספרה ברצף הבינארי קובע את ערכה המספרי. הערך המספרי שווה לערך הביט (0 או 1) כפול ערך המקום של המיקום שלו.
  • DAT-1.C.5 ערך המקום של כל מיקום נקבע על ידי הבסיס מורם בחזקה של המיקום. המיקומים מסומנים החל מהמיקום הימני ביותר עם 0 ועולים ב-1 עבור כל מיקום נוסף שמאלה.

Source: College Board AP Course and Exam Description · ⁨מקור: תיאור הקורס והמבחן של College Board AP⁩

English

Computers store everything as bits 位 – each a 0 or 1. A group of 8 bits is a byte 字节. Numbers are stored in binary 二进制 (base 2), where each place is a power of two ($1, 2, 4, 8, 16, \dots$) instead of the powers of ten in decimal 十进制. For example, binary 1011 is $8+2+1=11$.

Worked example. To convert binary 1101 to decimal, write the place values 8 4 2 1 under the bits 1 1 0 1 and add the ones that have a 1: $8+4+0+1=13$. Going the other way, convert 19 to binary by subtracting the largest power of two that fits: $19-16=3$, then $3-2=1$, then $1-1=0$, so the bits sit at the 16, 2, and 1 places $\rightarrow$ 10011 (check: $16+2+1=19$).

Because a computer has a finite number of bits, it can represent only a limited range of values. This causes two effects tested on the exam:

  • Overflow error 溢出错误: a number too large for the available bits cannot be stored correctly.
  • Round-off (rounding) error 舍入错误: numbers with decimals (real numbers) can only be approximated, because infinitely many real values must map onto finitely many bit patterns.

All data – text, images, sound – is ultimately encoded as binary. An image is a grid of pixels 像素, each stored as numbers for its colors; sound is stored as numbers sampled many times per second.

עברית
ספרות בינאריות על תצוגה — כל הנתונים הדיגיטליים מאוספים בסופו של דבר כ-0s ו-1s
ספרות בינאריות על תצוגה — כל הנתונים הדיגיטליים מאוספים בסופו של דבר כ-0s ו-1s

מחשבים אוספים הכל כ-ביטים – כל אחד מהם 0 או 1. קבוצה של 8 ביטים היא בייט. מספרים מאוספים ב-בינארי (בסיס 2), שבו כל מקום הוא חזקה של שתיים ($1, 2, 4, 8, 16, \dots$) במקום חזקות של עשר ב-עשרוני. לדוגמה, בינארי 1011 הוא $8+2+1=11$.

טבלת ערכי מקומיים ל-8 ביטים: ה-1s נמצאות מתחת לערכים שמסכמים למספר
טבלת ערכי מקומיים ל-8 ביטים: ה-1s נמצאות מתחת לערכים שמסכמים למספר

דוגמה מפורטת. כדי להמיר מספר בינארי 1101 לעשרוני, כתבו את ערכי המקומות 8 4 2 1 מתחת לספרות הבינאריות 1 1 0 1 וחברו את אלו שיש להם 1: $8+4+0+1=13$. בכיוון ההפוך, המירו 19 לבינארי על ידי חיסור של החזקה הגדולה ביותר של 2 שמתאימה: $19-16=3$, ואז $3-2=1$, ואז $1-1=0$, כך שהספרות יושבות במקומות ה-16, ה-2 וה-1 $\rightarrow$ 10011 (בדיקה: $16+2+1=19$).

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

  • שגיאת גלגל (Overflow): מספר גדול מדי עבור הביטים הזמינים לא יכול להיות מאוסף נכון.
  • שגיאת עיגול (Round-off/rounding): מספרים עם עשרוני (מספרים ממשיים) יכולים להיות רק קירוב, מכיוון שצריך להמיר מספר אינסופי של ערכים ממשיים לתוך מספר סופי של דפוסי ביטים.

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

Explore · ⁨חקור⁩

Convert between binary and decimal · ⁨מירוג בין בינארי לעשרוני⁩

Computers store numbers in binary (base 2). Each bit is a power of two; add the place values of the 1-bits to read the decimal number. · ⁨מחשבים מאחסנים מספרים ב-בינארי (בסיס 2). כל ביט הוא חזקה של שתיים; הוסף את ערכי המקומות של הביטים בערך 1 כדי לקרוא את המספר העשרוני.⁩

Vocabulary · ⁨מילון מונחים⁩ Train · ⁨אימון⁩
English עברית
bits/bɪts/ ביטים
byte/baɪt/ בייט
binary/ˈbaɪnəri/ דו-ספרתי
decimal/ˈdesɪml/ עשרוני
Overflow error/ˌəʊvəˈfləʊ ˈerə/ שגיאת גלישה
Round-off (rounding) error/raʊnd ɒf ˈerə/ שגיאת עיגול
pixels/ˈpɪkslz/ פיקסלים
Watch lesson · ⁨צפה בשיעור⁩
2.2

Data Compression · ⁨דחיסת נתונים⁩

Syllabus · ⁨סיילבוס⁩
English

Enduring Understanding (DAT-1): The way a computer represents data internally is different from the way the data are interpreted and displayed for the user. Programs are used to translate data into a representation more easily understood by people.

Learning Objective DAT-1.D: Compare data compression algorithms to determine which is best in a particular context. [Skill 1.D]

  • DAT-1.D.1 Data compression can reduce the size (number of bits) of transmitted or stored data.
  • DAT-1.D.2 Fewer bits does not necessarily mean less information.
  • DAT-1.D.3 The amount of size reduction from compression depends on both the amount of redundancy in the original data representation and the compression algorithm applied.
  • DAT-1.D.4 Lossless data compression algorithms can usually reduce the number of bits stored or transmitted while guaranteeing complete reconstruction of the original data.
  • DAT-1.D.5 Lossy data compression algorithms can significantly reduce the number of bits stored or transmitted but only allow reconstruction of an approximation of the original data.
  • DAT-1.D.6 Lossy data compression algorithms can usually reduce the number of bits stored or transmitted more than lossless compression algorithms.
  • DAT-1.D.7 In situations where quality or ability to reconstruct the original is maximally important, lossless compression algorithms are typically chosen.
  • DAT-1.D.8 In situations where minimizing data size or transmission time is maximally important, lossy compression algorithms are typically chosen.
עברית

הבנה מתמשכת (DAT-1): הדרך שבה מחשב מייצג נתונים בפנים היא שונה מהדרך שבה הנתונים מופנשים ומוצגים למשתמש. תוכניות משמשות להמרת נתונים לייצוג שמבין אנשים בקלות יותר.

מטרות למידה DAT-1.D: השוואת אלגוריתמי דחיסת נתונים כדי לקבוע איזה מהם הטוב ביותר בהקדם נתון. [מיומנות 1.D]

  • DAT-1.D.1 דחיסת נתונים יכולה להקטין את גודל (מספר הביטים) של הנתונים המועברים או מאוחים.
  • DAT-1.D.2 פחות ביטים אינו חייב להציג פחות מידע.
  • DAT-1.D.3 מידת ההקטנה בגודל כתוצאה מדחיסה תלויה גם בכמות החזרה (redundancy) בייצוג המקורי של הנתונים וגם באלגוריתם הדחיסה שיושם.
  • DAT-1.D.4 אלגוריתמי דחיסת נתונים לא מאבדים נתונים (lossless) יכולים בדרך כלל להקטין את מספר הביטים הארוכים או המועברים תוך הבטחת שחזור מלא של הנתונים המקוריים.
  • DAT-1.D.5 אלגוריתמי דחיסת נתונים מאבדים נתונים (lossy) יכולים להקטין באופן משמעותי את מספר הביטים הארוכים או המועברים אך מאפשרים רק שחזור של קירוב לנתונים המקוריים.
  • DAT-1.D.6 אלגוריתמי דחיסת נתונים מאבדים נתונים יכולים בדרך כלל להקטין את מספר הביטים הארוכים או המועברים יותר מאשר אלגוריתמי דחיסה לא מאבדים נתונים.
  • DAT-1.D.7 במקרים שבהם האיכות או היכולת לשחזר את המקורי הם בעלי חשיבות מקסימלית, בדרך כלל נבחרים אלגוריתמי דחיסה לא מאבדים נתונים.
  • DAT-1.D.8 במקרים שבהם מיזעור גודל הנתונים או זמן ההעברה הוא בעל חשיבות מקסימלית, בדרך כלל נבחרים אלגוריתמי דחיסה מאבדים נתונים.

Source: College Board AP Course and Exam Description · ⁨מקור: תיאור הקורס והמבחן של College Board AP⁩

English

Compression 压缩 reduces the number of bits needed to store or send data. Two kinds:

  • Lossless compression 无损压缩 lets you restore the exact original data (used for text and programs, where every bit matters).
  • Lossy compression 有损压缩 throws away some data to shrink the size further (used for photos, music, video, where a small quality loss is acceptable).

Choosing between them trades size against fidelity: lossless keeps everything but saves less; lossy saves more but loses detail permanently. Prefer lossless when the data must be exact.

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

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

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

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

Explore · ⁨חקור⁩

Compress a run of repeats · ⁨דחוס רצף של חזרות⁩

Run-length encoding is a lossless compression: a long run of the same symbol is replaced by the symbol and a count, shrinking the data with no information lost. · ⁨הקודד רצפים הוא דחיסה ללא אובדן: רצף ארוך של אותו סימן מוחלף על ידי הסימן והספירה, מה שמצמצם את הנתונים ללא איבוד מידע.⁩

Vocabulary · ⁨מילון מונחים⁩ Train · ⁨אימון⁩
English עברית
Compression/kəmˈpreʃn/ דחיסה
Lossless compression/ˈlɒsləs kəmˈpreʃn/ דחיסה ללא אובדן
Lossy compression/ˈlɒsi kəmˈpreʃn/ דחיסה עם אובדן
Data/ˈdeɪtə/ נתונים
information/ˌɪnfəˈmeɪʃn/ מידע
correlation/ˌkɒrɪˈleɪʃn/ קורלציה
Metadata/ˌmetəˈdeɪtə/ נתוני מטא
filtering/ˈfɪltərɪŋ/ סינון
visualizing/ˈvɪʒuːəlaɪzɪŋ/ ויזואליזציה
privacy/ˈprɪvəsi/ פרטיות
Watch lesson · ⁨צפה בשיעור⁩
2.3

Extracting Information from Data · ⁨חילוץ מידע מנתונים⁩

Syllabus · ⁨סיילבוס⁩
English

Enduring Understanding (DAT-2): Programs can be used to process data, which allows users to discover information and create new knowledge.

Learning Objective DAT-2.A: Describe what information can be extracted from data. [Skill 5.B]

  • DAT-2.A.1 Information is the collection of facts and patterns extracted from data.
  • DAT-2.A.2 Data provide opportunities for identifying trends, making connections, and addressing problems.
  • DAT-2.A.3 Digitally processed data may show correlation between variables. A correlation found in data does not necessarily indicate that a causal relationship exists. Additional research is needed to understand the exact nature of the relationship.
  • DAT-2.A.4 Often, a single source does not contain the data needed to draw a conclusion. It may be necessary to combine data from a variety of sources to formulate a conclusion.

Learning Objective DAT-2.B: Describe what information can be extracted from metadata. [Skill 5.B]

  • DAT-2.B.1 Metadata are data about data. For example, the piece of data may be an image, while the metadata may include the date of creation or the file size of the image.
  • DAT-2.B.2 Changes and deletions made to metadata do not change the primary data.
  • DAT-2.B.3 Metadata are used for finding, organizing, and managing information.
  • DAT-2.B.4 Metadata can increase the effective use of data or data sets by providing additional information.
  • DAT-2.B.5 Metadata allow data to be structured and organized.

Learning Objective DAT-2.C: Identify the challenges associated with processing data. [Skill 5.D]

  • DAT-2.C.1 The ability to process data depends on the capabilities of the users and their tools.
  • DAT-2.C.2 Data sets pose challenges regardless of size, such as:
    • the need to clean data
    • incomplete data
    • invalid data
    • the need to combine data sources
  • DAT-2.C.3 Depending on how data were collected, they may not be uniform. For example, if users enter data into an open field, the way they choose to abbreviate, spell, or capitalize something may vary from user to user.
  • DAT-2.C.4 Cleaning data is a process that makes the data uniform without changing their meaning (e.g., replacing all equivalent abbreviations, spellings, and capitalizations with the same word).
  • DAT-2.C.5 Problems of bias are often created by the type or source of data being collected. Bias is not eliminated by simply collecting more data.
  • DAT-2.C.6 The size of a data set affects the amount of information that can be extracted from it.
  • DAT-2.C.7 Large data sets are difficult to process using a single computer and may require parallel systems.
  • DAT-2.C.8 Scalability of systems is an important consideration when working with data sets, as the computational capacity of a system affects how data sets can be processed and stored.
עברית

הבנה מתמשכת (DAT-2): ניתן להשתמש בתוכניות לעיבוד נתונים, מה שמאפשר למשתמשים לחשוף מידע וליצד ידע חדש.

מטרות למידה DAT-2.A: תיאור המידע שיכול להיות חולץ מהנתונים. [מיומנות 5.B]

  • DAT-2.A.1 מידע הוא אוסף העובדות והדפוסים שחולצו מהנתונים.
  • DAT-2.A.2 הנתונים מספקים הזדמנויות לזיהוי מגמות, ליצירת קשרים ולפתרון בעיות.
  • DAT-2.A.3 נתונים מעובדים דיגיטלית עשויים להציג קשר בין משתנים. קשר שנמצא בנתונים אינו מצביע בהכרח על קיום קשר סיבתי. נדרשת מחקר נוסף כדי להבין את האופי המדויק של הקשר.
  • DAT-2.A.4 לעיתים, מקור יחיד אינו מכיל את הנתונים הנדרשים למסקנה. ייתכן שיהיה צורך לשלב נתונים ממגוון מקורות כדי לנסח מסקנה.

מטרות לימוד DAT-2.B: לתאר מה מידע ניתן לחלץ ממטא-דאטה. [מיומנות 5.B]

  • DAT-2.B.1 מטא-דאטה הם נתונים על נתונים. לדוגמה, חלק ה-נתונים עשוי להיות תמונה, בעוד שה-מטא-דאטה עשויים לכלול את תאריך היצירה או גודל הקובץ של התמונה.
  • DAT-2.B.2 שינויים ומחקיקות שנעשו במטא-דאטה אינם משנים את הנתונים הראשיים.
  • DAT-2.B.3 מטא-דאטה משמשים למציאת ארגון וניהול מידע.
  • DAT-2.B.4 מטא-דאטה יכולים להגדיל את השימוש היעיל בנתונים או בקבוצות נתונים על ידי מתן מידע נוסף.
  • DAT-2.B.5 מטא-דאטה מאפשרים לנתונים להיות מבוססים וארוגים.

מטרות לימוד DAT-2.C: לזהות את האתגרים הקשורים בעיבוד נתונים. [מיומנות 5.D]

  • DAT-2.C.1 היכולת לעבד נתונים תלויה ביכולות המשתמשים ובכלי העבודה שלהם.
  • DAT-2.C.2 קבוצות נתונים מציבות אתגרים ללא קשר לגודל, כגון:
    • הצורך לנקות נתונים
    • נתונים לא מלאים
    • נתונים לא תקפים
    • הצורך לשלב מקורות נתונים
  • DAT-2.C.3 בהתאם לכיצד נאספו הנתונים, הם עשויים שלא להיות אחידים. לדוגמה, אם משתמשים מזינים נתונים בשדה פתוח, הדרך שבה הם בוחרים לקצר, לכתוב או להדפיס אותיות באות גדולה עשויה להשתנות ממשתמש למשתמש.
  • DAT-2.C.4 ניקוי נתונים הוא תהליך הופך את הנתונים לאחידים ללא שינוי המשמעות שלהם (למשל, החלפת כל הקיצורים, הכתיבים וההדפסות באות גדולה המקבילים למילה אחת).
  • DAT-2.C.5 בעיות של סטייה נוצרות לעיתים קרובות על ידי הסוג או המקור של הנתונים שנאספו. סטייה אינה נעלמת רק על ידי איסוף יותר נתונים.
  • DAT-2.C.6 גודל קבוצת הנתונים משפיע על כמות המידע שמגיע לחלץ ממנה.
  • DAT-2.C.7 קבוצות נתונים גדולות הן קשות לעיבוד באמצעות מחשב יחיד ועשויות להצריך מערכות מקבילות.
  • DAT-2.C.8 הרחבה של מערכות היא שיקול חשוב בעבודה עם מאגרי נתונים, שכן הקיבולת החישובית של המערכת משפיעה על אופן עיבוד ואחסון מאגרי הנתונים.

Source: College Board AP Course and Exam Description · ⁨מקור: תיאור הקורס והמבחן של College Board AP⁩

English

Data 数据 becomes useful when we extract information 信息 from it – patterns, trends, and answers to questions. Large data sets can reveal correlations a small one cannot, but data must be cleaned (fixing errors and inconsistencies) and often transformed or filtered first. A correlation 相关性 between two things does not prove that one causes the other – a key caution. Metadata 元数据 (data about data, like a photo's date and location) helps organize and search large collections.

עברית

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

2.4

Using Programs with Data · ⁨שימוש בתוכניות עם נתונים⁩

Syllabus · ⁨סיילבוס⁩
English

Enduring Understanding (DAT-2): Programs can be used to process data, which allows users to discover information and create new knowledge.

Learning Objective DAT-2.D: Extract information from data using a program. [Skill 2.B]

  • DAT-2.D.1 Programs can be used to process data to acquire information.
  • DAT-2.D.2 Tables, diagrams, text, and other visual tools can be used to communicate insight and knowledge gained from data.
  • DAT-2.D.3 Search tools are useful for efficiently finding information.
  • DAT-2.D.4 Data filtering systems are important tools for finding information and recognizing patterns in data.
  • DAT-2.D.5 Programs such as spreadsheets help efficiently organize and find trends in information.
  • DAT-2.D.6 Some processes that can be used to extract or modify information from data include the following:
    • transforming every element of a data set, such as doubling every element in a list, or adding a parent's email to every student record
    • filtering a data set, such as keeping only the positive numbers from a list, or keeping only students who signed up for band from a record of all the students
    • combining or comparing data in some way, such as adding up a list of numbers, or finding the student who has the highest GPA
    • visualizing a data set through a chart, graph, or other visual representation

Learning Objective DAT-2.E: Explain how programs can be used to gain insight and knowledge from data. [Skill 5.B]

  • DAT-2.E.1 Programs are used in an iterative and interactive way when processing information to allow users to gain insight and knowledge about data.
  • DAT-2.E.2 Programmers can use programs to filter and clean digital data, thereby gaining insight and knowledge.
  • DAT-2.E.3 Combining data sources, clustering data, and classifying data are parts of the process of using programs to gain insight and knowledge from data.
  • DAT-2.E.4 Insight and knowledge can be obtained from translating and transforming digitally represented information.
  • DAT-2.E.5 Patterns can emerge when data are transformed using programs.
עברית

הבנה מתמשכת (DAT-2): ניתן להשתמש בתוכניות לעיבוד נתונים, מה שמאפשר למשתמשים לחשוף מידע וליצד ידע חדש.

מטרות למידה DAT-2.D: חילוץ מידע מהנתונים באמצעות תוכנה. [מיומנות 2.B]

  • DAT-2.D.1 ניתן להשתמש בתוכנות לעיבוד נתונים כדי לרכוש מידע.
  • DAT-2.D.2 טבלאות, גרפים, טקסט וכלי ויזואליים אחרים יכולים לשמש לתקשורת על בסיס ראייה ומידע שהתקבלו מהנתונים.
  • DAT-2.D.3 כלי חיפוש נוחים לחיפוש יעיל של מידע.
  • DAT-2.D.4 מערכות סינון נתונים הן כלים חשובים למציאת מידע ולזיהוי דפוסים בנתונים.
  • DAT-2.D.5 תוכנות כמו טבלאות מחשב עוזרות לארגן ולמצוא דפוסים במידע בצורה יעילה.
  • DAT-2.D.6 חלק מתהליכים שעשויים לשמש לחילוץ או לעריכת מידע מהנתונים הם הבאים:
    • המרת כל אלמנט במאגר נתונים, כמו הכפלת כל אלמנט ברשימה, או הוספת כתובת אימייל של הורים לכל רישום סטודנט
    • סינון מאגר נתונים, כמו שמירה רק על מספרים חיוביים מרשימה, או שמירה רק על סטודנטים שנרשמו להרכב מרשימת כל הסטודנטים
    • מיזוג או השוואת נתונים בדרך כלשהי, כמו סיכום רשימת מספרים, או מציאת הסטודנט עם ה-GPA הגבוה ביותר
    • ויזואליזציה של מאגר נתונים באמצעות גרף, טייצ'רט או דמות ויזואלית אחרת

מטרות למידה DAT-2.E: הסבר על אופן השימוש בתוכנות כדי לרכוש ראייה ומידע מהנתונים. [מיומנות 5.B]

  • DAT-2.E.1 תוכנות משמשות באופן איטרטיבי ואינטראקטיבי בעת עיבוד מידע כדי לאפשר למשתמשים לרכוש ראייה ומידע לגבי הנתונים.
  • DAT-2.E.2 מתכננים יכולים להשתמש בתוכנות לסינון וניקוי נתונים דיגיטליים, ובכך לרכוש ראייה ומידע.
  • DAT-2.E.3 מיזוג מקורות נתונים, קלסטרציה של נתונים והקלסה של נתונים הם חלקים מתהליך השימוש בתוכנות כדי לרכוש ראייה ומידע מהנתונים.
  • DAT-2.E.4 ראייה ומידע יכולים להתקבל ממטרהולוגיה והמרה של מידע המיוצג דיגיטלית.
  • DAT-2.E.5 דפוסים עשויים לקום כאשר נתונים מומרים באמצעות תוכנות.

Source: College Board AP Course and Exam Description · ⁨מקור: תיאור הקורס והמבחן של College Board AP⁩

English

Programs process data at scales humans cannot. Common operations are filtering 过滤 (keeping only rows that meet a condition), cleaning (removing errors), and visualizing 可视化 (charts and graphs that make patterns visible). Combining data from multiple sources can reveal more, but raises privacy 隐私 concerns. Interactive tools and visualizations let people explore data and draw their own conclusions.

Exam skill: be able to explain how a program helps find information in a large data set, and why correlation shown in the data does not establish causation.

עברית

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

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

2.4

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

English
  • Convert confidently between binary, decimal, and (where asked) hexadecimal — practise until it is quick.
  • Remember a bit is one binary digit and a byte is 8 bits; $n$ bits represent $2^n$ values.
  • Explain that all data — numbers, text, images, sound — is stored as binary, and that finite bits cause overflow and round-off.
  • Distinguish lossless from lossy compression and when each is appropriate.
  • Show the analog-to-digital idea: sampling turns a continuous signal into discrete values.
עברית
  • להמיר בבטח בין בינארי, עשרוני ו(כשהתבקש) הקסדצימאלי – לתרגל עד שזה יהיה מהיר.
  • לזכור שביט הוא דיגיט בינארי אחד ובייט הוא 8 ביטים; $n$ ביטים מייצגים $2^n$ ערכים.
  • להסביר שכל הנתונים – מספרים, טקסט, תמונות וצליל – מאוחסנים כבינארי, ושהביטים הסופיים גורמים לגלישה ולעיגול.
  • להבדיל בין דחיסה ללא איבוד לדחיסה עם איבוד וכאשר כל אחת מתאימה.
  • להציג את הרעיון של אנלוגי-דיגיטלי: דגימה הופכת אות רציף לערכים דיסקרטיים.

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

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

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

More topics in AP Computer Science Principles · ⁨עקרונות מדעי המחשב - AP⁩ · ⁨נושאים נוספים בAP Computer Science Principles · ⁨עקרונות מדעי המחשב - AP⁩⁩

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

IGCSE, A-Level & AP