Minggu, 16 Juni 2013

object oriebting programing 21



B. Re-read the text to find the answers to these questions.
1.   Match the terms in Table A the statements in Table B

TABLE A
TABLE B
a.       OOP
 vi.Object-Oriented Programming. (Title)

b.      Encapsulation

 i. An OOP property that allows data and program instructions to be bundled into an object. (Line 8-10)

c.       Object
 v. A module containing data and program instruction.(Line 10)

d.      Menu
 ii. A list of choices. (Line 18)

e.       Square
 vii. A rectangle with equal sides.(Line 39-40)

f.       Polymorphism
 iii. An OOP property that enables different objects to deal with the same instruction in different ways.(Line 60-62)

g.      Library
 iv. A reusable collection of objects.(Line 73)


Table B
i An OOP property that allows data and program instructions to be bundled into an object.
ii. A list of choices.
iii. An OOP property that enables different objects to deal with the same instruction in different ways.
iv. A reusable collection of objects.
v. A module containing data and program instruction.
vi. Object-Oriented Programming.
vii. A rectangle with equal sides.

2. Complete the following text using words from the reading text:
Encapsulation, inheritance and polymorphism are key features of object-oriented programming. Encapsulation allows data and program instructions to be bundled together in modules called objects. Inheritance means that specific instances of a class of objects inherit the properties of the class of objects. Polymorphism means that instructions are treated differently by different objects the combination of these key features of OOP means that program code is reusable. This speeds up development and maintenance of programs.

Tidak ada komentar:

Posting Komentar