본문 바로가기

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