You are on page 1of 2

Để có được object ta cần những gì ??

1. Cái khuông /class


2. Biến object
3. Gọi new kèm data:
+ Nhân bản vùng Ram: lấy con số biểu diễn vùng RAM trả vào biến (con trỏ)
+ Đổ data qua phễu

4. INTERFACE( HUB kết nối):

khac biệt nhưng k quá lớn


Chia sẻ được nhiều đặc điểm và hành vi

Interface Extends

Shape

1 Con tối đa 1 Cha


1 con có thể tham gia được n câu lạc bộ nhưng phải theo nội quy của CLB
-> implement cái medthod() abstract

1. The result of (UNKNOWN OR TRUE) is


a. FALSE 
b. NULL
c. TRUE
d. UNKNOWN

26. Give relation U(A,B,C) that has 2 tuples (1,2,3) and (4,5,6) , and relation
V(B,C,D) That has 2 tuples ( 2,3,10) and (2,3,11). Choose the right answer below:
a. The outer join of U and V is the relation R(A,B,C,D) that has 2 tuples (1,2,3,10) and
(1,2,3,11)
b. None of the others.
c. The outer join of U and V is the relation R(A,B,C,D) that has only 1 tuple(Null, 4,5,6)
d. The outer join of U and V is the relation R(A,B,C,D)s that has 3 tuples (1,2,3,10),
(1,2,3,11) and (4,5,6,Null)
(*** Câu này chắc chắn ra)

62. The ER Diagram uses three principle element types:


a. Entity sets, constraints, and Relationships
b. Entity sets, attributes, and Relationships
c. Entity sets, attributes, and Constraints
d. Attributes, constraints, and Relationships

Which of following is never used as a data model'


[A]
Hierarchical data model
[B]
Relational data model
[C]
Tree-based data model
[D]
Graph-based data model
|[E]
None of the others

The binary relationship between classes in UML is called -


[A]
Relation
[B]
Association
[C]
Aggregation
[D]
Composition
(*** CAU NAYF CHAC CHAN CO)

Choose the right statement


[A]
The action associated with the trigger executes no matter what the condition
is hold or not
[B]
Triggering events do not support INSERT and DELETE.
[C]
All of the others.
[D]
When the trigger is awakened, it tests a condition. If the condition is satisfied,
the action
associated with the trigger is executed

Not a DML command : create


Not a SQL command : search

You might also like