דלג לתוכן

גישור (Hashing)

הוצג
חומר עזר
שיעור וידאו לנושא זה פתח את עמוד הוידאו
15:07

סוגי נתונים מוגדרים על ידי משתמש

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

קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן

בשיעור הזה

שיעור וידאו
מילון מונחים
English משמעות
key/kiː/מפתח
collision-resolution strategyA method for handling keys that produce the same hash address.
hash function/hæʃ ˈfʌŋkʃn/פונקציית גישור (Hash)
hashing algorithmsMethods that calculate a storage address from a record's key.
slot/slɒt/A position in a hash table where a record can be stored.
search/sɜːtʃ/To look through data for an item that matches a given value.
insert/ˈɪnsɜːt/To add a new item to a data structure, file or table.
address/əˈdres/כתובת
deterministic/dɪˌtɜːmɪˈnɪstɪk/דיטמיניסטיבי
modulo/məˈdjʊləʊ/A method that uses the remainder after division to find an address.
foldingA method that splits a key into parts and adds them before using modulo.
string hashA method that adds character codes and uses modulo to find an address.
character codesNumbers used to represent characters in a computer.
collision/kəˈlɪʒn/תנגשות
hash tablesData structures that use keys to calculate where records are stored.
Linear probing/ˈlɪnɪə ˈprəʊbɪŋ/A method that checks slots one after another until it finds a free slot.
cluster/ˈklʌstə/To form a group of records in slots next to each other.
Chaining/ˈtʃeɪnɪŋ/A method that keeps records with the same hash address in a linked list.
linked list/lɪŋkt lɪst/A sequence of nodes connected by references or pointers; the nodes need not occupy adjacent memory locations.
clustering/ˈklʌstərɪŋ/The forming of groups of records in slots next to each other.
pointers/ˈpɔɪntəz/A value that identifies a memory location or refers to another stored object.
RehashingA method that uses a second hash function to find another slot.
load factor/ləʊd ˈfæktə/גורל עומס
probe sequencesThe slots checked, in order, when searching for or inserting a record.
linear search/ˈlɪnɪə sɜːtʃ/Checking items in sequence until the required item is found or the list ends.

חומר עזר

היכנס או צור חשבון

IGCSE, A-Level & AP