编程知识:数据库操作、单元测试与高级编程概念
在编程的世界里,数据库操作、单元测试以及一些高级编程概念是非常重要的部分。下面将详细介绍相关的知识和操作。
1. 练习题巩固知识
以下是一些练习题,帮助我们巩固之前学习的编程概念:
| 题目编号 | 题目内容 | 选项 | 答案 |
| ---- | ---- | ---- | ---- |
| 8.1 | “Within the context of separation of concerns, a concern refers to _” | a) A worrisome thought
b) A business
c) A logical module | c |
| 8.2 | “True or False: If two classes heavily depend on each other, we speak of loose coupling” | - | False |
| 8.3 | “In a service - repository architecture, actual database queries should be made on the _ level, while calls to the methods doing the database queries should be made on the _ level.” | a) Repository, service
b) Service, repository
c) Service, service
d) Repository, repository | a
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



