L1 - 10 Common Mistakes with Verbs & Prepositions in English

分享日常对话场景,如打电话给朋友、等待回复邮件,以及商务谈判与音乐欣赏的片段。探讨人际交往中的技术元素和沟通艺术。

I called to my friend. ×
I called my friend.

We’re waiting his email. ×
We’re waiting for his email.

They reached to an agreement. ×
They reached an agreement.

She’s listening the music. ×
She’s listening to the music.

Did you contact to the manager? ×
Did you contact the manager?

We discussed about the project. ×
We discussed the project.

I’m arriving to London tomorrow. ×
I’m arriving in London tomorrow.

Have you answered to their question? ×
Have you answered their question?

Did he tell to you something? ×
Did he tell you something?

We went in bus. ×
We went by bus.

Example
I listened to the teacher / the lecture / the song.
I waited for her response / Mary / the call.
I arrived at the airport / the cafe.
I arrived in Paris / Brazil.
I went by train / taxi.

I called my colleague / the office / room service.
I reached home safely / the security guard.
I discussed the proposal / their offer / politics.
I contacted the client / the police.
I answered the enquiry / the student.
I told him to call me later.
I told them to come over sometime.

在E-R图中,常见的错误包括但不限于以下几种: ### 实体和属性的混淆 将本应作为实体的对象错误地定义成了属性,或者反之。例如,在一个学校管理系统中,如果将“学生”作为“班级”的一个属性,而不是一个独立的实体,这就会导致数据建模的不准确。因为学生有自己独立的属性(如姓名、学号等)和行为,应该作为一个实体来处理。 ### 关系定义错误 - **关系类型错误**:没有正确区分一对一、一对多和多对多的关系。比如,在一个图书馆系统中,一本书可能有多个作者,这是一个多对多的关系,如果错误地定义成了一对多关系,就无法准确表示实际情况。 - **关系缺失或多余**:遗漏了实体之间必要的关系,或者定义了不必要的关系。例如,在一个员工管理系统中,遗漏了员工和项目之间的参与关系,就无法准确记录员工参与项目的情况;而如果定义了员工和员工之间的“无关”关系,就是多余的。 ### 参与约束错误 没有正确设置实体在关系中的参与约束(即最小基数约束)。例如,在一个订单系统中,一个订单必须有至少一个商品,这是一个强制性的参与约束。如果错误地设置为可选参与,就会导致数据不一致的问题。 ### 键的定义错误 - **主键选择错误**:没有选择合适的属性作为实体的主键。主键应该是唯一标识实体的属性或属性组合。例如,在一个学生信息系统中,如果选择学生的姓名作为主键,就可能会出现重名的问题,导致无法唯一标识学生。 - **外键使用错误**:在建立关系时,外键的使用不正确。外键应该引用另一个实体的主键,以建立实体之间的关联。如果外键引用了错误的属性,就会导致关系无法正确建立。 ### 图形表示错误 在绘制E-R图时,图形符号使用错误或不规范。例如,没有正确使用矩形表示实体、椭圆形表示属性、菱形表示关系等。或者图形之间的连接不清晰,导致E-R图难以理解。 ```python # 以下是一个简单的Python示例,用于模拟E-R图中的实体和关系 class Entity: def __init__(self, name, attributes): self.name = name self.attributes = attributes class Relationship: def __init__(self, name, entities): self.name = name self.entities = entities # 创建实体 student = Entity("Student", ["Name", "ID", "Age"]) course = Entity("Course", ["CourseName", "CourseID"]) # 创建关系 enrollment = Relationship("Enrollment", [student, course]) ```
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值