C语言中的term表示什么意思?

Python072

C语言中的term表示什么意思?,第1张

C语言中的 term 不是系统的保留字,它是用户自定义标识符。

因为是自定义标识符,那么可以是任何意思,看该用户自己是怎么规定的。

从英语词义来看,term 可以表示 “项”,例如数列:

y = 1/(2*3) + 2/(3*4) + 3/(4*5) + 4/(5*6) + ...n/( (n+1) * (n+2) ) + ...

求,前20项之和。

double term, sum=0 // term 是项,sum 是累加器,存放总和。

int i

for (i=1i<=20i++){

term = i / (double)((i+1)*(i+2)) //第 i 项的 (浮点四则运算)计算

sum = sum + term //累加此项

}

printf("sum=%f\n", sum) //输出总和

term的用法和解析

大家除了知道“term”代表“学期”的意思之外,了解过“term”的用法吗?下面是我为大家整理了term的用法和解析,希望能帮到大家!

一、详细释义:

n.

期,期限 [C]

例句:

He was sentenced to a seven-year prison term.

他被判处七年监禁。

例句:

He has to be away for a 12-months service term.

他不得不离开去了一个12个月为期的服务活动。

学期 [C]

例句:

We have four terms a year.

我们每年有四个学期。

例句:

A semester consists of 2 terms.

一个半学年包括两个学期。

任期 [C]

例句:

President Putin just won his fourth term of office in the election.

普京总理刚刚获得了第四次的任期

例句:

No one could win more than twice the term of office.

没有人能够赢得连续两次以上的任期。

(契约、谈判等的)条件;条款 [C]

例句:

Finally they accepted our terms.

最后他们接受了我们的条件。

例句:

I submit that the terms are entirely unreasonable.

我认为那些条款完全不合理。

关系,交谊;地位 [C]

例句:

We are on good terms with our neighbors.

我们与邻居和睦相处。

价格,费用 [C]

例句:

What special terms are there for group ?

团体有什么附加费用?

例句:

You need not trouble about terms.

你不用担心费用问题。

专门名词,名称,术语 [C]

例句:

Propellant is another term for the fuel of a rocket.

推进剂是火箭燃料的另一术语。

例句:

I am not familiar with chemical terms.

我不熟悉化学术语。

说话的方式,措辞 [C]

例句:

She couched her refusal in very polite terms.

她用十分委婉的措辞表示拒绝。

终止期;结账期 [C]

项;条 [C]

例句:

The first term is the screened Coulomb repulsion.

第一项是屏蔽的库仑排斥项。

v.

把...称为,把...叫做 [T]

例句:

She had been termed a temporary employee.

她被称作临时雇员。

例句:

He termed this championship a milestone in the team's history.

他将这个冠军叫做球队历史上的一个里程碑。

二、词义辨析:

word,vocabulary,language,term,lexicon

这些名词均有“文字,词,语言”之意。 word普通用词,指语言的.最小单位的单词、字,也可指话、整句话或一段话。 vocabulary集合名词,指词汇、语汇或词汇量。 language普通用词,指国家、民族或种族内部使用,已经系统化的语言。 term指有特定意义的词,词语或术语。 lexicon指某种语言、某人或某一知识领域的全部词汇。

三、相关短语:

long-term memory

长期记忆长期存储

term insurance

n. 定期人寿保险

term paper

n.学期报告

middle term

n.[逻]中词,中项

short-term memory

短时记忆

term of office

任期

major term

大词, 大项 (专利)常用名词表

minor term

n. [逻](三段论法的)小项

四、参考例句:

Establish Long Term Relationships.

建立长期的关系。

At the beginning of a term, prepare a Term Calendar.

在学期伊始准备一份学期日历。

These are long term plans.

这些是长期的计划。

Our school term starts today.

我们的学期从今天开始。

The second term commences in March.

第二学期自三月开始。

His term of office has run out.

他的任期已满。

It is a nautical term, I suppose.

我想,那是航海术语。

This term will begin on September 7th.

这个学期将于九月七号开始。

Tom has made great progress this term.

汤姆这学期取得了很大的进步。

No term of endearment crossed their lips.

他们彼此没说过爱慕的话。