52单词网 > 零基础英语 > 英语问答 > 例外和期望英语怎么说

例外和期望英语怎么说

小编 分享 时间:
例外和期望英语怎么说
例外(exception)在英文中指的是不属于正常情况的事情或事件,它通常指的是程序运行中发生的异常情况。例如,在程序中访问了未初始化的变量、数组越界或者磁盘空间已满等情况,都可以被称为例外。
期望(expectation)在英文中指的是对未来某件事情的预期或期待。例如,当我们购买了一件新产品时,我们可能会期望它能够正常工作;当我们参加了一场考试时,我们可能会期望能够取得好成绩。
以下是一些例句:
"An exception occurred when I tried to access the file on the network drive."(我试图访问网络驱动器上的文件时发生了一个异常。)
"The program encountered an exception and had to be terminated."(程序遇到了一个异常并且必须被终止。)
"I expect that the weather will be nice tomorrow."(我期望明天天气会很好。)
"I expect to receive a good grade on this assignment."(我期望在这个作业上能得到一个好成绩。)

例外和期望英语怎么说

将本文的Word文档下载到电脑,方便收藏和打印
推荐度:
点击下载文档文档为doc格式