搜档网
当前位置:搜档网 › 第3章 语法、关键保留字及变量

第3章 语法、关键保留字及变量

第3章 语法、关键保留字及变量
第3章 语法、关键保留字及变量

第三章语法、关键保留字及变量

学习要点:

1.语法构成

2.关键字保留字

3.变量

JavaScript的核心是ECMAScript。

一.语法构成

区分大小写

ECMAScript中的一切,包括变量、函数名和操作符都是区分大小写的。例如:text和Text表示两种不同的变量。

标识符

所谓标识符,就是指变量、函数、属性的名字,或者函数的参数。标识符可以是下列格式规则组合起来的一或多个字符:

1..严格区分大小写;

2.第一个字符不可以是数字;

3.由数字、字母、下划线(_)或一个美元符号($)组成;

4.不能把关键字、保留字、作为标识符;

5.遵循驼峰命名法,除了首个单词以外的单词首字母要大写;

例如:myName、book123等

注释

包括单行注释和块级注释。

// 单行注释

/*

* 这是一个多行

* 注释

*/

字面量

100 //数字字面量

'北财' //字符串字面量

false //布尔字面量

/js/gi //正则表达式字面量

null //对象字面量

{x:1, y:2} //对象字面量表达式

[1,2,3,4,5] //数组字面量表达式

二.关键字和保留字

ECMAScript-262描述了一组具有特定用途的符号,一般用于控制语句的开始或结束,或者用于执行特定的操作等。关键字也是语言保留的,不能用作标识符。

ECMAScript全部关键字

break else new var

case finally return void

catch for switch while

continue function this with

default if throw

delete in try

do instanceof typeof

ECMAScript-262还描述了另一组不能用作标识符的保留字。尽管保留字在JavaScript 中还没有特定的用途,但它们很有可能在将来被用作关键字。

ECMAScript-262第3版定义的全部保留字

abstract enum int short

boolean export interface static

byte extends long super

char final native synchronized

class float package throws

const goto private transient

debugger implements protected volatile

double import public

三.变量

ECMAScript定义变量时要使用var操作符(var是关键字),后面跟一个变量名(变量名是标识符)。

var box;

alert(box);

这句话定义了box变量,但没有对它进行初始化(也就是没有给变量赋值)。这时,系统会给它一个特殊的值-- undefined(表示未定义)。

var box= '北财';

alert(box);

所谓变量,就是可以初始化后可以再次改变的量。ECMAScript属于弱类型(松散类型)的语言,可以同时改变不同类型的量。

var boxString = '北财';

boxString = 100;

alert(boxString);

重复的使用var声明一个变量,只不过是一个赋值操作,并不会报错。但这样的操作是比较二的,没有任何必要。

var box= '北财';

var box= 'beijing';

还有一种变量不需要前面var关键字即可创建变量。这种变量和var的变量有一定的区别和作用范围,我们会在作用域那一节详细探讨。

box= '北财';

而当你每条语句都在不同行的时候,你可以省略分号。(PS:这是ECMAScript支持的,但绝对是一个非常不好的编程习惯,切记不要)。

var box= '北财';

var age= 50;

alert(box)

可以使用一条语句定义多个变量,只要把每个变量(初始化或者不初始化均可)用逗号分隔开即可,为了可读性,每个变量,最好另起一行,并且第二变量和第一变量对齐(PS:这些都不是必须的)。

var box= '北财',

age= 50,

height;

1.javascript语法构成部分?

2.什么是标识符?标识符的命名规范?

3.什么是关键字、保留字?

4.Js注释方式?

5.定义变量是哪个关键字(标识符)?

6.字面量方式分别创建各数据类型的变量?

词汇与语法

Word List (单词表) message n. 要旨,要点 tricky adj. (工作、问题等)微妙的,棘手的;(人)狡猾的beginning n. 开始;起初 semester n. (尤指美国大专院校的)学期m cover v. 处理 duty n. 任务 management n. 管理 number one adj. 最重要的;头号的 seriously adv. 真心地,当真地;认真地,严肃地 once conj. 一旦……(就……) weekly adj. 每周一次的 follow v. 遵照;沿用 following adj. 紧接着的 realistic adj. 现实可行的 essay n. 作文;短文 quiz n. 考查;测验 upset v. 打乱(计划等);打翻 ability n. 能力;才智

grade n. (考试或作业的)分数 achieve v. 获得 flexible adj. 灵活的 re-plan v. 重新计划 basis n. 基础;根据 project n. 课题;科研项目 mid-term adj. 期中的 solid adj. 扎实的 schedule n. 计划表 alive adj. 起作用的;现存的;活着的assignment n. (指定的)作业 activity n. 活动 social adj. 社交的;交谊的 seem v. 似乎;好像 back adj. 以前的;过去的 Proper Names Elwood N. Chapman 埃尔伍德·N·查普曼(人名) Useful Expressions(常用短语)

英语语法习题及解析

高考英语语法练习题精选 1. --Hello, this is . A. How are you? B. Will you come tonight? C. Can I take a mesage? D. Is that Mike? 2. Tom suggested that we __________such a meeting, but Jenny insisted that it _________of great importance. A. not hold ; should be B. didn't hold ; be C. hold ; was D. not hold ; was 3. You should take the medicine after you read the __________. A. lines B. instructions C. words D. suggestions 4. --Hi, Tracy, you look tired. --I am tired. I__________ the living-room all day. A. painted B. have been painting C. had painted D. have painted 5. I'm sorry. I _____________ you__________ to me. A. don't know; are speaking B. don't know ;were speaking C. didn't know; were speaking D. didn't know; are speaking 6. "Please __________why you're so late," said his girlfriend. A. excuse B. explain C. apologize D. tell 7. The rescue team made every __________ to find the missing mountain climber.

词汇语法

A . heard B . be heard C . hearing D . hear

提交的答案: In 1938. 正确答案:In 1966. 提交的答案:heard 正确答案:heard 题目详解: A . have evaluated B . evaluating C . be evaluated D . evaluated 提交的答案:evaluating 正确答案:evaluating 题目详解: A . Although B . In spite of C . Despite D . As 提交的答案: In spite of 正确答案:Although 题目详解:

A . would B . might C . must D . should 提交的答案: would 正确答案:should 题目详解: A . It was from Stephen that B . That was from Stephen C . It was Stephen whom D . It was Stephen that 提交的答案: It was Stephen that 正确答案:It was from Stephen that 题目详解: A . least B . lowest C . fewest D . last 提交的答案: last 正确答案:least 题目详解:

A . As B . It C . That D . Which 提交的答案:As 正确答案:As 题目详解: A . what B . where C . that D . how 提交的答案:how 正确答案:how 题目详解: A . In exceptional circumstances only B . In only exceptional circumstances C . Only in exceptional circumstances D . In exceptional only circumstances 提交的答案:Only in exceptional circumstances 正确答案:Only in exceptional circumstances 题目详解:

经典英语语法讲解解析

三天搞定英语语法 英语语法分为两个部分。一个部分是词法,即词的构成和词的使用规律。另一个部分是句法,即句子的组成和句子的使用方法。 英语语法的特点可以用三句话来表示:1、每个词都有词性;2、每句话都有动词(实意动词或系动词);3、每句话都必须符合五个基本句型。 三句话用一句话来说,就是,标出句中每一个单词的词性,找出句中所有动词,并标出其种类和相应的句子成分。理解,掌握,运用好这句话,按照一:词性;二:动词种类;三:动词相对应的句子成分;四:从句;五:非谓语动词方法就能透彻理解英语语法体系。 词的分类 词类又叫词性,英语单词根据其在句子中的功能,可以分成十个大类。 词类词义英语名称缩写形式例词中译 noun n. student 学生 1、名词表示人、事物、地点或抽象概念的名 称。 2、代词主要用来代替名词。pronoun pron. you 你 3、形容词表示人或事物的性质或特征。adjective adj. happy 高兴的 4、数词表示数目或事物的顺序。numeral num. three 三 5、动词表示动作或状态。verb v. cut 砍、割 adverb adv. quickly 迅速地 6、副词修饰动词、形容词或其他副词,说明时 间、地点、程度等。 7、冠词用在名词前,帮助说明名词。article art. a 一个 preposition prep. at 在... 8、介词表示它后面的名词或代词与其他句 子成分的关系。 9、连词用来连接词、短语或句子。conjunction conj. and 和 10、感叹词表示喜、怒、哀、乐等感情。interjection interj. Oh 哦 词性的分类: 修饰: 形容数冠代词名词 (red)(one)(a/the)(my)wood 1.名词 代替: 代词it 形容词the red 数词one

大学英语B——词汇与语法

大学英语B——词汇与语法 1、Idon’tknow_______todealwithsuchmatter. A.what B.how C.which D./ 答案:B 答案:C 5、-Writetomewhenyougethome. -OK,I_______. A.must B.should C.will D.can 答案:C

6、He_______drivingmehome,eventhoughItoldhimIlivednearby. A.insistedon B.insistedat C.insistedthat D.insistedin 答案:A 7、Iwon’tmakethe_______mistakenexttime. A.like B.same B.yet C.still D.ever 答案:C 11、-Doyouwanttowait? -Fivedays________toolongformetowait. A.was B.were

C.is D.are 答案:C 12、IfellandhurtmyselfwhileI________basketballyesterday. A.wasplaying B.amplaying C.play D.played 答案:A 答案:A 16、Measles(麻疹)________alongtimetogetover. A.spend B.spends C.take D.takes 答案:D 17、____youknow,Davidhasbeenwelllately.

B.As C.What D.When 答案:B 18、Australiaisoneofthefewcountries____peopledriveontheleftoftheroad. A.which B.that C.where C.intelligentaswell D.asintelligentas 答案:D 22、Heaskedthewaiter________thebill. A.on B.of C.for D.after

中考必考的30个英语句型,包含词汇,短语和语法解释

中考必考的30个英语句型,包含词汇,短语和语法解释 1as…as 和……一样 中间必须用形容词或副词原级。例如: This classroom is as big as that one. 这间教室和那间一样大。 He runs as fast as Tom. 他和汤姆跑的一样快。 否定结构:not as/so…as,“不如……”。上面的两个句子可分别改为: This classroom is not as/so large as that one.这间教室不如那间大。 He doesn’t run as/so fast as Tom.他跑得不如汤姆快。 2as soon as 一……就…… 用来引导时间状语从句。若主句是一般将来时,从句要用一般现在时。例如: I’ll tell him the plan as soon as I see him. 我一看到他就告诉他这个计划。 He’ll go home as soon as he finishes his work. 他一完成工作就回家。 3be busy/enjoy/hate/go on/finish doing sth. 忙于/喜欢/讨厌/继续/完成做某事在enjoy, finish, hate, go on, be busy等词语后,一般用动词-ing形式作宾语。例如: Lin Tao is busy making a model plane. 林涛正忙着做飞机模型。 My mother enjoys taking a walk after supper. 我妈妈喜欢晚饭后散步。 I hate watching Channel Five. 我讨厌看五频道。

英语语法常用词汇

English grammar terms often used 英语语法常用词语1.Parts of speech 词类 noun 名词pronoun 代词numeral 数词adjective 形容词verb 动词adverb副词article 冠词preposition介词conjunction连词interjection感叹词particle 小品词 2. Word building 构词法 conversion 转化derivation 派生affixation词缀法prefix前缀suffix后缀compound words 合成词 3.Classification of nouns 名词的分类 common nouns普通名词proper nouns 专有名词 individual nouns个体名词collective nouns 集合名词 material nouns 物质名词abstract nouns 抽象名词 countable nouns 可数名词uncountable nouns不可数名词 the singular form 单数形式the plural form 复数形式 the common case 普通格the possessive case 所有格 the subjective case 主格the objective case 宾格 person 人称third person singular 第三人称单数 4. Classification of pronouns 代词的分类 personal pronouns 人称代词possessive pronouns 物主代词 self pronouns 反身代词demonstrative pronouns 指示代词 interrogative pronouns 疑问代词conjunctive pronouns 连接代词 relative pronouns 关系代词reciprocal pronouns 相互代词 indefinite pronouns 不定代词 5.数词、形容词、冠词 cardinal numerals 基数词ordinal numerals 序数词 fractional numerals 分数词the comparative degree 比较级 the superlative degree 最高级The definite article 定冠词 the indefinite article 不定冠词 6.Classification of verbs 动词的分类 national verbs 实义动词link-verbs系动词 auxiliary verbs助动词modal verbs 情态动词 transitive verbs 及物动词intransitive verbs 不及物动词 regular verbs 规则动词irregular verbs 不规则动词 the present forms 现在式the past forms 过去式 the participle 分词the present participle现在分词 the past participle 过去分词the infinitive 不定式 the gerund 动名词bare infinitive 不带to的不定式

语法解释

被动语态1:英语中语态有两种:主动语态和被动语态。 语态的作用:语态是动词的一种形式,用来说明主语和谓语之间的关系。 语态的选用:如果主语是动作的执行者,谓语用主动语态。 被动语态的基本结构: 1.一般现在时:主语+助动词 Be+及物动词的过去分词一般过去时: 主语+助动词 Be 的过去式 was/were+及物动词的过去分词Eg:(1) This kind of computer is made in that company . (2 ) Flowers were watered yesterday . 2. 以下几种情况用被动语态: ( 1)不清楚谁是动作执行者时.eg:My book has been stolen. (2 )没有必要或不想说出动作执行者时.eg:Flowers are grown well there. (3 )强调动作的承受者时; eg: The CD-ROM has been sold out. 3.及物动词能够成被动语态,不及物动词不能够成被动语态.只有这些,不及物动词与介词或副词构成不可分割的短语,并且带有宾语时,才能用被动语态. Eg: The children are looked after very well in the school . 4.有些动词带有双宾语,变成被动语态时,两个宾语都可以作被动语态中的主语,但间接宾语作主语的较多. Eg; Kitty give me an apple. (改成被动式) An apple is given to me 5.有些动词后接不定式作宾语原可省“to”的,变被动语态时要加上“to” 。 Eg ;Her mother makes her read English once a day 。(变被动式) She is made to read English once a day 。(例如感官动词和使役动词:hear ,watch ,make ,help ,let ,see ,have ……)一些有关被动语态的知识点; 1.一般将来时:will / shall be + 及物动词的过去分词 2.现在进行时:am / is / are being + 及物动词的过去分词 3.过去进行时:were / was being + 及物动词的过去分词 4.现在完成时:have / has been + 及物动词的过去分词 5.过去完成时:had / been + 及物动词的过去分词 : 例如:We clean the classroom every day. 如果主语是动作的承受者,或者说是动作的对象,谓语则是要用被动语态。 例如:The classroom is cleaned every day. 2:被动语态的各种形式 1) am/is/are +done eg:I'm asked to take care of myself. eg:Football is played all over the world. 2)has /have been done eg:This book has been translated into many foreign languages. eg:The prices of many goods have been cut again . 3)am/is /are being done eg:A road is being built around the mountain. eg:Many new houses are being built in this city. 4)was/were done eg1:This house was built in 1958. eg2:His leg was broken in an accident. 5)had been done eg1:A new school had been set up by the end of last year.

词汇与语法概述

词汇与语法分析 1.词汇和语法结构的考查重点 首先我们来看一看四级考试中,语法和结构部分究竟考了些什么,重点和容易出错的问题在哪里? ①语义问题,包括多义词、同义词、近义词、反义词等。英语中不少单词是多义词,而有的学生只知道它们最常见的一个或者两个意思,却不知道其它含义和在特定上下文中的引伸意义,这些都是在考试中容易考到的部分,也是容易出错的部分。英语和汉语属于两个完全不同的语系,词语的含义不能完全对等,受汉语语意的干扰也是容易出错的原因之一。 ②搭配问题,包括名词与形容词的搭配,动词与名词的搭配,动词、名词或形容词与介词的搭配,动词与副词的搭配等。这些搭配纷繁复杂,千变万化,是产生词汇和语法错误的主要原因。 ③语法结构问题,主要是时态、语态、虚拟语气、非谓语动词、从句(包括连接词和关系代词或关系副词)等方面的问题。特别是,在特定的语境中应该选用何种时态或何种句子结构,往往是容易出错的关键。 其次再看一看该部分在整个考试中的地位和时间分配。 该部分共30题,一般40%考察短语和词汇,60%考察语法,每一题0.5分,共15分,时间是20分钟。从整体上看,占分比例不大,不象阅读理解那样占分多,而且每一题分值高(每题,2分),但显然这15分我们也不能轻易放弃。现在的关键问题是:绝大部分学生在这一部分不是花的时间少了,而是多了。我们知道这一部分的考察主要靠的是知识和语感,不是说多琢磨一会儿就能答对,有时甚至恰恰相反。所以每一题d0秒的时间显然可以压缩,根据经验大约可以到30秒一题(当然这里不是要你去计算每一题做题时间),这样节省下来的时间可以用到分值更高的阅读理解中去。 2.语法结构与词汇应试策略 大纲要求 最新《大学英语教学大纲》对四级语法的要求是:“巩固和加深基本语法知识,提高在语篇水平上运用语法知识的能力。”《大纲》对四级词汇的要求是:“领会式掌握4200单词(其中复用式掌握的单词为2500),以及由这些词构成的常用词组1600条(中学所掌握的词和词组均包括在内),并且有按照基本构词法识别生词的能力。” 四级语法结构与词汇考查内容 四级考试对语法词汇的考查与《大纲》要求是十分一致的。综观近年来的四级考试题,我们不难发现四级考试语法词汇部分是这样体现《大纲》的。 1.语法考题的涉及面宽 近年考题曾经考到:几乎所有词类,三种动词的非谓语形式,名词从句,形容词从句,副词从句,独立主格,一致,倒装,强调等基本语法知识。 2.语法考试的重点突出 语法考试的重点为内容庞杂较难掌握的项目,这些项目还反复出现如:虚拟语气,状语从句,定语从句,独立主格,情态动词。 3.具体考查重点为以上项目中的特殊用法,不常用的情况· 1)虚拟语气的考点为:would rather +that从句+一般过去时:It is vital/necessary/important/urgent/imperative n.命令, 诫命, 需要, 规则, 祈使语气adj.命令的, 强制的, 紧急的, 必要的, 势在必行的, [语法]祈使的/desirable/advisable/natural/essential +that+动词原形;It is time/about time/high time+ that+一般过去时:proposal/suggestion +that+动词原形;lest +that +should+动词原形水only + that +would+动词原形。 2)状语从句的考点为:非if引导的条件状语从句,此类句子多用at times,provided,so

人教版八年级下册英语语法解析知识重点总结

新目标英语八年级(下)重点短语及句型总 Unit 1 Will people have robots? 1. fewer people 更少的人(fewer 修饰名词复数,表示否定) 2. less free time 更少的空闲时间(less 修饰不可数名词,表示否定) 3. in ten years 10年后(in 的时间短语用于将来时,提问用How soon) 4. fall in love with … 爱上…… 例:When I met Mr. Xu for the first time, I fell in love with him at once. 当我第一次见到许老师,我立刻爱上他。 5. live alone 单独居住 6. feel lonely 感到孤独(比较:live alone/ go alone 等) The girl walked alone along the street, but she didn't feel lonely. 那女孩独自沿着街道走,但她并不感到孤独。 7. keep/ feed a pet pig 养一头宠物猪 8. fly to the moon 飞上月球 9. hundreds of + 复数数百/几百(概数,类似还有thousands of; millions of) 10. the same as 和……相同 11. A be different from B A与B不同 (= There is a difference/ Thgere are differences between A and B) 12. wake up 醒来(wake sb. up 表示“唤醒某人”) 13. get bored 变得厌倦(get/ become 是连系动词,后跟形容词如tired/ angry/ excited 等) 14. go skating 去滑冰(类似还有go hiking/ fishing / skating/ bike riding 等) 15. lots of/ a lot of 许多(修饰可数名词、不可数名词都可以) 16. at the weekends 在周末 17. study at home on computers 在家通过电脑学习 18. agree with sb. 同意某人(的意见) 19. I don't agree. = I disagree. 我不同意。 20. on a piece of paper 在一张纸上 (注意paper/ information/ news/ work/ homework/ housework 等常考到的不可数名词) 21. on vacation 度假 22. help sb with sth/help sb do sth. 帮助某人做某事

英语语法词汇

英语语法专业术语表达 1. Morphology 词法 2. Notional Words 实义词 3. Form Words 虚词 4. Parts of Speech 词类 5. The Noun 名词 6. The Pronoun 代词 7. The Numeral 数词 8. The Verb 动词 9. The Adjective 形容词 10. The Adverb 副词 11. The Article 冠词 12. The Preposition 介词 13. The conjunction连词 14. The Interjection 感叹词 16. Word Building 构词法 18. Derivation 派生 20. Prefix 前缀 21. Suffix 后缀 22. Compound Words 合成词 23. Classification of Nouns 名词的分类 24. Common Nouns 普通名词 25. Proper Nouns 专有名词 26. Countable Nouns 可数名词 27. Uncountable Nouns 不可数名词 28. The Singular Form 单数形式 29. The Plural Form 复数形式 30. Individual Nouns个体名词 31. Collective Nouns集体名词 32. Material Nouns物质名词 33. Abstract Nouns抽象名词 34. The Common Case普通格 35. The Possessive Case所有格 36. Personal Pronouns 人称代词 37. Possessive Pronouns物主代词 38. Self Pronouns反身代词 39. Demonstrative Pronouns 指示代词 40 .Interrogative Pronouns 疑问代词 41.Conjunctive Pronoun连接代词 42. Relative Pronouns关系代词 43. Indefinite Pronouns不定代词 44. Reciprocal Pronoun相互代词 45. The Subjective Case主格 46. The Objective Case宾格 47. Cardinal Numerals基数词 48. Ordinal Numerals 序数词 49. Fractional Numerals分数词 50.Notional Verbs实意动词 51. Link Verbs连系动词 52. Auxiliary Verbs助动词 53. Modal Verbs情态动词 54. Transitive Verbs及物动词 55. Intransitive Verbs不及物动词 56. Regular Verbs规则动词 57. Irregular Verbs不规则动词 58. Person人称 59. Number数 60. Tense时态 61. Voice语态 62. Mood语气 63. The Principle Forms of Verbs 动词的主要形式 64. The Present Forms 现在式 65. 动词的非谓语形式 The Non-finite Forms of the Verb 66. The Participle分词 67. The Past Forms过去式 68. The Past Participle过去分词 69. The Infinitive不定式 70. The Gerund动名词 71. 一般现在时 The Simple Present Tense 72. 一般过去时 The Simple Past Tense 73. The Simple Future Tense 一般将来时 74. The Past Future Tense 一般过去将来时 75. The Present Continuous Tense 现在进行时 76. The Past Continuous Tense 过去进行时 77. The Future Continuous Tense 将来进行时 78. The Present Perfect Tense 现在完成时 79. The Future Perfect Tense 将来完成时 80.The Present Perfect Continuous 现在完成进行时 80. The Sequence of Tenses 时态的呼应 82. The Active Voice主动语态 83. The Passive Voice被动语态 84. The Indicative Mood陈述语气 85. The Imperative Mood祈使语气 86.The Subjunctive Mood 虚拟语气 87. Sentences of Real Condition 真实条件句 88. Sentences of Unreal Condition 虚拟条件句 89. Degrees of Comparison 比较的级别 90.The Comparative Degree比较级 91. The Superlative Degree最高级 92. Adverbs of Time时间副词 93. Adverbs of Place地点副词 94. Adverbs of Manner方式副词 95. Adverbs of Degree程度副词 96.Adverbs of Frequency频度副词 97. Relative Adverbs关系副词 98. Conjunctive Adverbs连接副词 99. Interrogative Adverbs疑问副词 100. The Definite Article定冠词 101. The Indefinite Article 不定冠词 102. Coordinating Conjunctions 并列连词 103. Subordinating Conjunctions 从属连词 104. Syntax句法 105. The Sentence句子

日语语法解释

☆第一课 1.【名】は【名】です。相当于“~是~”。 [注释]:判断肯定句。“~は”是主语部分,“~です”是谓语部分。“は”是提示助词,提示主题,读作“わ”。“です”是助动词,表示对某个事物和状态的断定。 例:李(り)さんは中国人(ちゅうごくじん)です。 【小李是中国人。】 例:何(か)さんは先生(せんせい)です。 【何女士是老师。】 例:曾(そ)さんは学生(がくせい)です。 【小曾是大学生。】 例:苍井空(あおいそら)さんは女優(じょゆう)です。 【苍井空小姐是女演员。】 例:寿司(すし)は日本(にほん)料理(りょうり)です。 【寿司是日本料理。】 2.【名】は【名】ではありません。 相当于“~不是~”。 [注释]:判断否定句。“では”读作“でわ”,在口语中有时“では”会换成“じゃ”。 例:森(もり)さんは学生(がくせい)ではありません。 【森先生不是学生。】 例:わたしは会社員(かいしゃいん)ではありません。 【我不是公司职员。】 例:あの人(ひと)は課長(かちょう)じゃありません。 【那个人不是科长。】 例:神楽(かぐら)は人間(にんげん)ではありません。 【神乐不是人类。】 3.疑问句及应答 (1)【名】は【名】ですか。“~是~吗”。 [注释]:疑问句。终助词“か”接在句尾表示疑问。回答时肯定用“はい”,否定用“いいえ”。 (2)应答 [注释]:肯定时,可以回答“はい”或者“はいそうです” 否定时,可以回答“いいえ”或者“いいえちがいます” 不知道时,可以回答“わかりません”。 例:指定席(していせき)は禁煙席(きんえんせき)ですか。 ——はい、そうです。 【预先订票坐席是禁烟座位吗? ——是,是的。】 例:妃英理(きさきえり)さんは警察(けいさつ)ですか。 ——いいえ、警察ではありません。弁護士(べんごし)です。 【妃英理是警察吗? ——不,不是警察。是律师。) 4. 【名】の【名】[从属机构、国家、所有者][属性] [注释]:格助词“の”连接名词和名词,或者代词和名词,构成定语。表示后续名词的所属的机构、国家、所有者或者属性、状态。例:親子丼(おやこどん)は日本の有

词汇与语法B

词汇与语法B 1、I didn’t know what to do, but then an idea suddenly ________ to me. A.appeared B.happened C.occurred D.emerged 答案:C 2、A pair of spectacles ________ what I need at the moment. A.is B.are C.has D.have 答案:A 3、You had better ________ a doctor as soon as possible. A.seeing B.saw C.see D.seen 答案:C 4、- Do you want to wait? - Five days ________ too long for me to wait. A.was B.were C.is D.are 答案:C 5、I fell and hurt myself while I ________ basketball yesterday. A.was playing B.am playing C.play D.played 答案:A 6、Don’t forget ________ the window before leaving the room. A.to have closed B.to close C.having closed D.closing 答案:B 7、The top of the Great Wall is ________ for five horses to go side by side. A.wide B.so wide C.wide enough

英语语法术语解释 精品

英语语法术语解释 In "How much do you think he earns?" how much is ______ of the sentence. (TEM4, 2009) A. the subject B. the adverbial C. the object √ D. the complement Which of the following sentences has an object complement? (TEM4, 2010) The directors appointed John manager. √ I gave Mary a Christmas present. You have done Peter a favor. She is teaching children English. In the sentence “It’s no use waiting for her”, the italicized phrase is . (TEM4, 2010) A. the object B. an adverbial C. a complement D. the subject √ 有关语法的很多题目,直接通过分析句子结构和成分就可以判断出选项,或者排除很多干扰项,比如这个句子是否缺少成分,缺少什么成分,哪些选项能作这个成分。掌握好了句子结构,写作时就不会写出不合语法的句子了。 一、英语基本句型: 英语句子以动词为中心,动词按其结构主要分为联系动词,及物动词,不及物动词,根据这三类动词可熟练掌握英语句型结构及语法成分。 系动词link verb 基本句型:Subject + Link Verb + Complement 即主+动+补 该动词分为四类 1)Be 型:be, am, is, are, was, were, been, 2)变化型:turn, become, get, grow 3)感官型:feel, sound, smell, look, taste, 4)似乎型:seem, appear, 此句型中系动词所带的补语,叫主语补语,即补充说明主语的,通常为名词短语(noun phrase),形容词短语(adjective phrase)。Be 型结构还可带介词短语(preposition phrase), 副词短语(adverb phrase), 代词(pronoun), 名词从句(noun clause)等等。Examples: The man is a teacher. Dinner is at six o'clock. He looks fine. It sounds better. It seems true.

Python3.x 保留字

Python3.x 保留字 python3.xkeyword.kwlist = ['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']查看方法:import keywordkeyword.kwlistPython中的标识符是用于识别变量、函数、类、模块以及其他对象的名字,标识符可以包含字母、数字及下划线(_),但是必须以一个非数字字符开始。字母仅仅包括ISO-Latin字符集中的A–Z 和a–z。标识符对大小写敏感的,因此FOO和foo是两个不同的对象。特殊符号,如$、%、@等,不能用在标识符中。另外,如if,else,for 等单词是保留字,也不能将其用作标识符。下面的表列出了所有的保留字符及其说明:截图来自:《Python开发技术详解》保留字说明and 用于表达式运算,逻辑与操作as用于类型转换assert断言,用于判断变量或条件表达式的值是否为真break中断循环语句的执行class用于定义类continue继续执行下一次循环def用于定义函数或方法del删除变量或者序列的值elif条件语句与if else 结合使用else条件语句条件语句,与if,elif结合使用。也可以用于异常和循环使用exceptexcept 包括捕获异常后的操作代码,与try,finally结合使用exec用于执行python语

英语语法词汇

从句 clause 从属句 subordinate clause 并列句 coordinate clause 名词从句 nominal clause 定语从句 attributive clause 状语从句 adverbial clause 宾语从句 object clause 主语从句 subject clause 同位语从句 appositive clause 时间状语从句 adverbial clause of time 地点状语从句 adverbial clause of place 方式状语从句 adverbial clause of manner 让步状语从句 adverbial clause of concession 原因状语从句 adverbial clause of cause 结果状语从句 adverbial clause of result 目的状语从句 adverbial clause of purpose 条件状语从句 adverbial clause of condition 真实条件状语从句 adverbial clause of real condition 非真实条件状语从句 adverbial clause of unreal condition 句子 sentence 简单句 simple sentence 并列句 compound sentence 复合句 complex sentence 并列复合句 compound complex sentence 陈述句 declarative sentence 疑问句 interrogative sentence 一般疑问句 general question 特殊疑问句 special question 选择疑问句 alternative question 附加疑问句 tag question 反义疑问句 disjunctive question 修辞疑问句 rhetorical question 感叹疑问句 exclamatory question 存在句 existential sentence 肯定句 positive sentence 否定句 negative sentence 祈使句 imperative sentence 省略句 elliptical sentence 感叹句 exclamatory sentence 基本句型 basic sentence pattern 一致 agreement 主谓一致 subject-predicate agreement 语法一致 grammatical agreement 概念一致 notional agreement 就近原则 principle of proximity 语态 voice 主动语态 active voice 被动语态 passive voice 语气 mood 陈述语气 indicative mood 祈使语气 imperative mood 虚拟语气 subjunctive mood 否定 negation 否定范围 scope of negation 全部否定 full negation 局部否定 partial negation 转移否定 shift of negation 语序 order 自然语序 natural order 倒装语序 inversion 全部倒装 full inversion 部分倒装 partial inversion 直接引语 direct speech 间接引语 indirect speech 自由直接引语 free direct speech 自由间接引语 free indirect speech 语法 grammar 句法 syntax 词法 morphology 结构 structure 层次 rank 句子 sentence 从句 clause 词组 phrase 词类 part of speech 单词 word 实词 notional word 虚词 structural word

相关主题