דלג לתוכן

Object-oriented programming

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

פרדיגמות תכנות

הנה משימה אחת: רשימת כל התלמידים עם ציון A. תוכנתן כותבת לולאה — מתחילה מהרקורד הראשון, בודוק את הציון, הוסף את השם לרשימה, עבור…

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

בשיעור הזה

שיעור וידאו
מילון מונחים
English משמעות
public/ˈpʌblɪk/Describes a class member that code outside the class can access.
routines/ruːˈtiːnz/Sections of code written to perform particular tasks within a program.
object/ˈɒbdʒekt/אובייקט
private/ˈpraɪvət/Describes a class member that code outside the class cannot access directly.
method/ˈmeθəd/A defined way of performing a task or investigation; in programming, a function associated with a class or object.
encapsulation/ɪnˌkæpsjʊˈleɪʃn/עטיפה
object-oriented programming/ˈɒbdʒekt ˈɔːrɪəntɪd ˈprəʊɡræmɪŋ/A way of designing programs using objects that combine data and methods.
class/klæs/כיתה
attributes/ˈætrɪbjuːts/A named property or characteristic associated with an object, element or record.
state/steɪt/The saved information needed to continue a program from its current point.
behaviour/bɪˈheɪvjə/The actions an object can perform through its methods.
instance/ˈɪnstəns/דוגמה
visibility/ˌvɪzɪˈbɪlɪti/The rules that control where a class member can be accessed.
constructor/kənˈstrʌktə/בונה
gettersMethods that allow other code to read an object's attribute values.
settersMethods that allow other code to change an object's attribute values.
get methodsMethods that allow other code to read an object's attribute values.
set methodsMethods that allow other code to change an object's attribute values.
Inheritance/ɪnˈherɪtəns/An is-a relationship.
subclass/ˈsʌbklæs/תת-סוג
superclass/ˈsuːpəklæs/סוג עליון
overriding/ˌəʊvəˈraɪdɪŋ/Providing a subclass implementation of an inherited instance method with a matching signature, subject to the language's rules.
Polymorphism/ˈpɒlɪmɔːfɪzəm/The same call behaving differently per class, which is what lets a new subclass be added without changing existing code.
Abstraction/əbˈstrækʃn/Representing essential features while leaving out unnecessary detail.
method callAn instruction that asks an object to perform one of its methods.
loop/luːp/A structure that repeats a sequence of instructions.
list/lɪst/A collection of items arranged in a particular order.
interface/ˈɪntəfeɪs/A way for users or programs to communicate with the computer's hardware.
is-a relationship
Containment/kənˈteɪnmənt/An object holds another object as one of its attributes.
aggregation/ˌæɡrɪˈɡeɪʃn/אגרגציה
references/ˈrefrənsɪz/Values that identify objects so that code can access them.
collection/kəˈlekʃn/A group of items stored together so they can be managed and used.
string/strɪŋ/A sequence of characters treated as a single data value.
composition/ˌkɒmpəˈzɪʃn/A relationship where an object contains parts that depend on it to exist.
membersThe attributes and methods that belong to a class or object.
הבא →

חומר עזר

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

IGCSE, A-Level & AP