(59) 是一种很强的“拥有”关系,“部分”和“整体”的生命周期通常一样。整体对象完全支配其组成部分,包括它们的创建和销毁等; (60) 同样表示“拥有”关系,但有时候“部分”对象可以在不同的“整体”对象之间共享,并且“部分”对象的生命周期也可以与“整体”对象不同,甚至“部分”对象可以脱离“整体”对象而单独存在。上述两种关系都是 (61) 关系的特殊种类。 61()
查看答案
开-闭原则(Open-Closed Principle, OCP)是面向对象的可复用设计的基石。开-闭原则是指一个软件实体应当对 (53) 开放,对 (54) 关闭;里氏代换原则(Liskov Substitution Principle, LSP)是指任何 (55) 可以出现的地方, (56) 一定可以出现。依赖倒转原则(Dependence Inversion Principle, DIP)就是要依赖于 (57) ,而不依赖于 (58) ,或者说要针对接口编程,不要针对实现编程。 58()
A. 程序设计语言
B. 建模语言
C. 实现
D. 抽象
设有学生实体Students(学号,姓名,性别,年龄,家庭住址,家庭成员,关系,联系电话),其中“家庭住址”记录了邮编、省、市、街道信息;“家庭成员,关系,联系电话”分别记录了学生亲属的姓名、与学生的关系以及联系电话。学生实体Students中的“家庭住址”是一个 (64) 属性;为使数据库模式设计更合理,对于关系模式Students (65) 。 64()
A. 简单
B. 多值
C. 复合
D. 派生
Which of the following findings would indicate that the goals for total parenteral nutrition (TPN) are being achieved for the client
A. Serum glucose level of 96.
B. Weight gain of 0.5 pounds/day.
C. Urine negative for glucose.
D. Serum potassium level of 4 mEq/L.
A client is admitted to the psychiatric unit with a diagnosis of anorexia nervos
A. a. Although she is 5’7" and weighs only 100 lb, she keeps on telling the nurse about how fat she is. What should the nurse do firstA. Discuss cultural stereotypes regarding thinness and attractiveness.B. Explore the reasons why the client doesn’t eat.C. Teach the client about nutrition, calories, and a balanced diet.D. Establish a trusting relationship with the client.