文档库 最新最全的文档下载
当前位置:文档库 › JSONObject详解及用法

JSONObject详解及用法

一、JSON(JavaScript Object Notation)是一种轻量级的数据交换格式。易于人阅读和编写。同时,也易于机器解析和生成。

二、JSON数据格式解析:和XML一样,JSON也是基于存文本的数据格式。您可以用JSON传输一个简单的String、Number、Boolean,也可以传输一个数组或者一个复杂的Object对象。例如:1、用JSON表示一个简单String “abc”,其格式为:”abc”。除了字符“,\,/ 和一些控制符(\b,\n,\t 等)需要编码外,其他Unicode字符可以直接输出。

2、用JSON表示一个数组对象,使用“[ ]“包含所有元素,每个元素用逗号分隔,元素可以使任意的value,例如,一下数组包含了一个String、Number、Boolean、和一个null:[“abc”,123,false,null]。

3、Object对象在JSON中用“{ }“包含一系列无序的Key-Value键值对表示,实际上此处的Object相当于Java 中的Map。注意Key只能用String表示。例如:一个Address对象包含如下Key-Value:{“city”:”beijing”,”street”:”chaoyang”,”postcode”:100025}。

三、JAVASCRIPT处理JSON数据Function demo(){ var v={“name”:”SMITH”,”address”: {“city”:”beijing”,”street”:”chaoyang”,”postcode”:100025}};

document.write(https://www.wendangku.net/doc/5c19078019.html,);

document.write(v.address.city);

}

四:JSON和XML的比较XML和JSON都是用结构化方法来标记数据,下面来做一个简单的比较。

中国

黑龙江

哈尔滨 大庆

用JSON表示如下:{

name:”中国”,province:[

{

Name:”黑龙江”,citys:{“哈尔滨”,”大庆”} }

]

}

XML比JSON更有可读性。不过,我们读起来费解的语言,恰恰是适合机器阅读的。编写的手写难度来说,XML还是舒服一些,好读当然就好写。不过写出来的字符JSON就明显少很多。去掉空白制表以及换行的话,JSON就是有用数据,而XML却包含很多重复的标记字符。五、下面列举两个对象:JSONArray和JSONObject 在写有关于JSON的程序时首先要加入六个JAR包:commons-beanutils-1.7.0.jar、commons-collections.jar、commons-lang-2.2.jar、ezmorph-1.0.4.jar、json-lib-2.1-jdk15.jar、xom-1.1d2.jar

(1)JSONArray

例子:List list = new ArrayList();

list.add("a");

list.add("b");

JSONArray jso = JSONArray.fromObject(list);

System.out.println(list);

输出的结果是:[“a”,”b”] 。

(2)JSONObject

例子:Map map = new HashMap();

map.put( "int", new Integer(1) );

map.put( "arr", new String[]{"a","b"} );

map.put( "func", "function(i){ return this.arr; }" );

JSONObject json = JSONObject.fromObject( map );

System.out.println( json );

输出的结果是:{"arr":["a","b"],"int":1,"func":function(i){ return this.arr; }}

(3)JSONObject to XML

例子:JSONObject json = JSONObject.fromObject("{\"name\":\"json\",\"bool\":true,\"int\":1}");

XMLSerializer xmlSerializer = new XMLSerializer();

String xml = xmlSerializer.write(json);

System.out.println(xml);

XML to JSONObject

例子:String xmls = "1" + "json";

XMLSerializer xmlSerializer = new XMLSerializer();

JSON json = xmlSerializer.read(xmls); System.out.println( json.toString(2) );

六、下面列举AJAX和JSON的例子

1、环境struts、hibernate、JSON、AJAX

2、首先,加载struts和hibernate框架,然后再把JSON的JAR包放到lib下。

创建一个Action: Action的内容如下:

PrintWriter out = response.getWriter();

JSONObject obj = new JSONObject();

JSONArray js = new JSONArray();

//这里的数据封装是从数据库查询来的

MesDao md = new MesDao();

List list = md.findMess();

for(int i=0;i

TMessage tm = (TMessage) list.get(i);

objtemp.put("id", tm.getId());

objtemp.put("name", tm.getName());

js.add(objtemp);

}

obj.put("js",js);

out.print(obj.toString());

然后,创建一个JSP页面:其内容如下:

获取数据

正在获取内容...

然后创建toolpro.js toolpro.js的内容如下:function getcomplex(){ var url = 'test.do';

var ajax = new Ajax.Request(url,

{method:'post',Complete:showcomplex});

}

function showcomplex(dataResponse)

{ var data = eval('(' + dataResponse.responseText + ')'); var str=''; for(var i=0;i

str+='

    ';

    str+='

  • '+data.js.id+'
  • ';

    str+='

  • '+https://www.wendangku.net/doc/5c19078019.html,+'
  • ';

    str+='

';

}

document.getElementById("content").innerHTML=str; }

(英语)高一英语情态动词解题技巧及练习题(含答案)

(英语)高一英语情态动词解题技巧及练习题(含答案) 一、单项选择情态动词 1.—It’s so hot and uncomfortable here! Why are your windows still closed? —Oh, I’m not to blame. They ________ open. A.shan’t B.mustn’t C.won’t D.wouldn’t 【答案】C 【解析】 【详解】 考查情态动词辨析。句意:---这里又热又不舒服!你的窗户怎么还关着? ---哦,不该责备我啊。窗户打不开了。shan’t= shall not意为“不可, 不应”;mustn’t=must not意为“不要”;wouldn't=would not 意为“不会,不愿意”。won’t=will not意为“不会, 不能”, will在这里表示能力、功能。例如:This auditorium will seat one thousand people. 这个礼堂能容纳一千人。这句话意思是“这扇窗不能打开”,故选C项。 2.—What’s wrong with you? —Oh, I am sick. I ________ so much ice cream just now. A.shouldn’t eat B.mustn’t eat C.couldn’t have eaten D.shouldn’t have eaten 【答案】D 【解析】 【详解】 考查情态动词和虚拟语气。句意:——你怎么了?——我生病了,我刚才不应该吃那么多冰激凌。A. shouldn’t eat不应该吃;B. mustn’t eat禁止吃;C. couldn’t have eaten不可能吃;D. shouldn’t hav e eaten本来不应该吃。根据just now可知,是发生在过去,故选D。 3.No student ________ go out of school to have lunch without permission of the headteacher. A.might B.must C.shall D.could 【答案】C 【解析】 【详解】 考查情态动词。句意:未经校长允许,任何学生不得离开学校去吃午饭。might可能;must一定,必须;shall会,将;could能够。本句是一条禁令。shall用于肯定句并且主语是第一、三人称时,表示允诺,警告,劝告等语气。故选C。 4.Mark ______ have hurried. After driving at top speed, he arrived half an hour early. A.needn’t B.wouldn’t C.mustn’t D.couldn’t 【答案】A 【解析】

英语现在完成时态讲解学习资料

现在完成时 一、定义:表示一个动作在过去发生并对现在产生影响 表示一个动作由过去发生持续到现在有可能停下,也有可能延续下去 表示一个动作从过去开始发生到目前为止已经发生多次。 二、构成:现在完成时是由“助动词have / has + 动词的过去分词”构成的, 其规则动词的过去分词构成与过去式相同,不规则动词的过去分词则需加强记忆。 如:I have just cleaned my clothes.我刚洗过衣服。 My brother has done his homework already. 我的弟弟已经做完他的作业了。 友情提示:在现在完成时的各种结构中,have, has均为助动词,无实际意义,只起构成时态的作用,不可省略。当主语是第三人称单数时助动词用has,其余人称一律用have。 过去分词 1 、规则动词:规则动词的过去分词的构成规则与规则动词的过去式的构成规则相同。 四点变化规则: (1)、一般动词,在词尾直接加“ ed ”。 work---worked---worked ,visit---visited---visited (2)、以“ e ”结尾的动词,只在词尾加“ d ”。 live---lived---lived , (3)、以“辅音字母+ y ”结尾的动词,将"y" 变为"i" ,再加“ ed ”。 study---studied---studied ,cry---cried---cried , play---played---played ,stay---stayed---stayed (4)、重读闭音节结尾,末尾只有一个辅音字母,先双写该辅音字母,再加“ ed ”。 stop---stopped---stopped , drop---dropped--dropped 2 、不规则动词: AAA型 原型过去式过去分词 burst burst burst cast cast cast cost cost cost cut cut cut hit hit hit hurt hurt hurt put put put set set set shut shut shut

高中英语情态动词精讲与解析

高中英语情态动词精讲与解析 概说 助动词(auxiliary)主要有两类:基本助动词(primary auxiliary)和情态助动词(modal auxiliary)。基本助动词有三个:do, have和be;情态助动词有十三个:may, might; can, could; will, would; shall, should; must, need, dare, used to, ought to. 上述两类助动词的共同特征是,在协助主动词构成限定动词词组时,具有作用词的功能: 1)构成否定式: He didn't go and neither did she. The meeting might not start until 5 o'clock. 2)构成疑问式或附加疑问式: Must you leave right now? You have been learning French for 5 years, haven't you? 3)构成修辞倒装: Nowhere can he obtain any information about his sister. Hardly had he arrived when she started complaining. 4)代替限定动词词组: A: Who can solve this crossword puzzle? B: Tom can. A: Shall I write to him? B: Yes, do. 情态助动词的特征 基本助动词与情态助动词最主要的区别之一是,基本助动词本身没有词义,而情态助动词则有自己的词义,能表示说话人对有关动作或状态的看法,或表示主观设想: What have you been doing since? (构成完成进行体,本身无词义) I am afraid I must be going. (一定要) You may have read some account of the matter. (或许已经) 除此之外,情态助动词还有如下词法和句法特征: 1)除ought和used以外,其他情态动词后面只能接不带to的不定式。如果我们把ought

高中情态动词用法总结

情态动词的用法 A. can; could; be able to Can 1. 表示“能力”(此时过去时是could) 2.表示许可、请求,“可以”。--Can/Could I go now? 3 表示推测, 把握很大,could也可表推测,把握比can小。 --Look! Someone is coming! Who can it be? --It can?t be him. He has gone to Paris.(不可能)/ He could be here soon. 他很快就来。 4 表示感情(惊异/不耐烦)“究竟,到底”(主要用于否定句,疑问句和感叹句中。) How can you be so foolish? What can it possibly be? 到底那是怎么一回事? They can?t be working at this time of day. 5 肯定句中客观存在的可能性。“有时会,偶尔” It can be quite windy there, especially in spring. Could 1.表示能力,can 的过去式,过去能够 Could you speak English then? 那时候你会说英语吗? 2. 请求允许(委婉语气)(问句的答语不用could,而用can,) Could [Can] I use your pen? ” “Yes, of course you can.”/ No, I?m afraid not. 3. 表示推测可能性(肯,否,疑) We could go there this summer. 今年夏天我们可能要去那儿。(将来可能性) You could be right, but I don?t think you are. 你可能是对的,但我并不认为你是对的。 4. could have done ①对过去推测,可能已经。。。②本来能够却没做,差点就 He can?t [couldn?t] have seen her there. 他不可能在那儿见到她。 He could have gone home. 他可能已回家了 He could have told her, but he didn?t choose to. 他本来可以告诉她的,但他却没有。 B. may 和might 1.表示允许﹑许可,might提问更委婉。 ---May/Might I watch TV after supper? ---Yes, you may./ Yes, please./ Certainly. ---No, you mustn't. / No, you may not. / No, you can?t./No, you?d better not. 2. 表示推测,有“或许”、“可能”的意思。might把握更小。疑问句用can/ could. ?He may/might be right./ I hear there may be a few copies left. ?He may/might come today (tomorrow). 3. may表示祝愿,倒装。May +主语+动词原形。May you succeed!/May you all be happy. ☆may [might] as well…意为“不妨”、“还是…为好”等,用might 比用may 语气更委婉。如:I?m ready,so I might as well go now.我已准备好,因此不妨现在就走。 There?s nothi ng to do, so I may [might] as well go to bed. ☆may well... 完全可能 C. must, have to Must 1. 表示“必须”。否定式mustn?t表示“不可以”、“不准”、“禁止”等。 Everybody must obey the rules../You mustn?t lend it to others./You mustn?t speak like that to your mother. ☆在回答有“must” 的询问时,--- Must I go now? --- Yes, you must. ---No, you needn?t. / No, you don?t have to.

现在完成时趣味讲解

现在完成时趣味讲解 现在完成时的含义 可与现在完成时态相连用的常见时间状语 瞬间动词在现在完成时态中的用法 现在完成时的含义 在当今常见的语法书中对现在完成时的定义大多是:现在完成时是指过去发生的至今已经完成或还在继续的动作。在笔者2011年于《海外英语》中发表的《have + -en的构式研究》中曾指出这一说法的稍欠妥之处。因为过去发生的“已经完成”或“未完成”容易让学生产生疑惑:究竟是不是完成时? 笔者认为易仲良教授提出的“式态”的说法以及马承老师提出的“现在完成时表示过去已经发生而与现在情况有关系的动作”这一说法更能让学生理解。事实上,我在初中的教学过程当中也是这样跟学生讲解的,学生们能够较好的理解这一说法,并能自然地将现在完成时与一般过去时区分开来。 常与现在完成时相连的时间状语 在初中阶段,多数考查现在完成时的句子当中都有较为明显的时间状语标志词, 比如以下的这些句子(均摘录自人教版教材):

Have you read Treasure Island yet? I’ve already read it. Have you ever been to a museum? I’ve never been to a science museum. I’ve had this bike for three years. 如果在实际的教学过程当中孤立地让学生记忆这些时间状语标志,无疑会给学生增大学习难度。为了能够提高学生的学习兴趣,我认为可以通过口诀韵律的方式让学生较快地掌握:以前(before)从来不(never)出现,最近(recently)曾经(ever)一两遍(once/twice/many times…), 自从(since+时间点)刚刚(just)for一段(for+一段),至今(so far/up to now)已经(already/yet)很明显。 在实际的教学过程当中,教师可有意识地讲述两个“已经”(already/yet)及(since/for)的区别着重分章节讲解,让学生在有了整体概念的基础上对各个考点进行突破。 瞬间动词在现在完成时中的用法 在人教版的课本附录的语法讲解中,我们可以看到:“某些动词的现在完成时可表示过去某一时间开始并一直持续到现在(包括”现在“在内)的动作或状态,可以和表示延续的时间状语连用。表示持续动作或状态的动词多是延续性动词”。如:

现在完成时的用法解析

Lead in 一般过去时导入:一般过去时的概念 一般过去时表示过去某个时间发生的动作或存在的状态。 I lost my pen.(过去时) I have lost my pen.(现在完成时) 过去时一般表示过去所发生的动作或存在的状态。“我把笔丢了”,说话人只是想告诉对方在过去的某一个时间里他的笔丢了,仅此而已。(仅仅是在陈诉过去的一个事实,与现在没有关系) New lesson 一.现在完成时的构成: 助动词have/has(not) +动词过去分词 She has turned on the lights. 肯定式:have/ has+过去分词 否定式:haven’t/hasn’t+过去分词 疑问式:把have/has 提到主语前面 肯定回答:Yes,…have/has 否定回答:No,…..haven’t/hasn’t 二.用法 1.表示过去发生的动作对现在造成的影响或结果. 例如:She has gone. 她走了. She went in the past.(She is not here

now.) I have just cleaned my hands. 我刚洗过手。(“洗手”是发生在过去的动作,对现在造成的结果是“手干净了”) I have closed the door. (The door is close now.) She has turned on the lights. (The lights are on now.) He has written his name on the blackboard. (The name is on the blackboard now.) Mother has cooked the dinner. (We can have dinner now.) You have seen the film. (You know what the film is about.) We have cleaned the classroom. (The classroom is clean now.) 2. 表示动作发生在过去,并且一直延续到现在,甚至还可能继续延续下去。这时常和since所引导的短语或从句或for引导的短语连用(for有时可以省去)。以及so far, by now, these days, in the last/past … years/days…等连用。 I have lived here for over ten years. (表示他现在还在这里居住,并且还有可能继续住下去)比较:I lived here ten years ago.(仅仅说明了他十年前在这里记住过的事实,不代表现在他还住在这里) He has studied here since 2006. 都用How long 提问,例: We have learned English for three years. We have learned English since three years ago.

英语情态动词的用法大全附解析

英语情态动词的用法大全附解析 一、初中英语情态动词 1.—We've got everything ready for the picnic. —Do you mean I __________ bring anything with me? A. can't B. mustn't C. couldn't D. needn't 【答案】 D 【解析】【分析】句意:—我们已经为野餐准备好了一切。—你的意思是我不必带任何东西吗?A. can't 不能;B. mustn't 表示禁止,一定不要;C. couldn't不能,表示过去时态;D. needn't不必。结合句意,故选D。 【点评】本题考查情态动词的用法。 2.—How amazing this robot is! —Wow, it has video cameras in its eyes, so it “see” and interact with pe ople. A. may B. can C. must D. should 【答案】 B 【解析】【分析】句意:—这个机器人多么惊人啊!—哇,在它的眼睛里有摄像机,因此它能看见和人打交道。A. may 可以,可能;表示许可,B. can 能;表示能力,C. must 必须;D. should应该;根据it has video cameras in its eyes,可知是有能力看见,故选B。 【点评】考查情态动词辨析。熟记情态动词的含义和用法。 3.—Where is George? —He _______ be here just now. His coffee is still warm. A. need B. can't C. must D. shouldn't 【答案】 C 【解析】【分析】句意:——乔治在哪里?——他刚才一定在这里,他的咖啡还是热的。A. need需要; B. can't 不能,不可能(表示推测); C. must 必须,一定(表示推测); D. shouldn't不应该;根据His coffee is still warm.可知表示肯定推测一定在这儿;故答案为C。 【点评】考查情态动词。掌握情态动词表推测时的意义和用法。 4.— Sorry, I forgot to take money with me. Maybe I can't buy the book you like. — Mum, you ______ worry about it. We can pay by Alipay (支付宝). A. can't B. needn't C. mustn't D. shouldn't 【答案】 B 【解析】【分析】句意:——对不起,我忘记带钱了。也许我不能买你喜欢的书。——妈妈,你不用担心。我们可以用支付宝支付。A. can't不能,指不允许或否定推测;B. needn't 不需,指没必要;C. mustn't不能,表禁止;D. shouldn't不应该,表建议。根据句意语境,本句是说妈妈不需要担心,故答案为B。 【点评】考查情态动词。理解句意并掌握情态动词的意义和用法区别。

初中英语现在完成时技巧(很有用)及练习题

初中英语现在完成时技巧(很有用)及练习题 一、初中英语现在完成时 1.The Greens many places of interest since two years ago. A. has visited B. have visited C. visited D. will visit 【答案】 B 【解析】【分析】句意:自两年前开始,格林一家参观了许多名胜。since引出的时间状语从句,强调主句谓语从过去某时一直延续到现在,主句用现在完成时态,the Greens格林一家,表示复数含义,作主语,谓语用复数形式。故选B。 2.I scared of dogs ever since a dog hurt me when I was five years old. A. will be B. was C. have been D. would be 【答案】 C 【解析】【分析】由since引导的从句可知主句应用现在完成时,故答案为C。句意是:自从我五岁时被狗伤过之后我就一直怕狗。 【点评】本题考查现在完成时的用法。 3.Wow! You ________ dinner! Let's eat now. A. cook B. are cooking C. will cook D. have cooked 【答案】 D 【解析】【分析】句意:Wow,你做好分了,让我们现在来吃。根据““Wow”及“now”可知本句动词的时间是现在,根据语境可知动词的状态为完成。故选D。 【点评】动词的时态可以根据选项与上下文之间的前后关系来判断。 4.—Your shoes are so old. Why don't you buy a new pair? —Because I all my money on an MP5. A. spend B. have spent C. am spending D. was spending 【答案】 B 【解析】【分析】因为把所有的钱都花在MP5上,所以没钱买鞋。强调过去发生的动作对现在的影响,应用现在完成时,故选B。 【点评】考查现在完成时的用法,强调过去发生的动作对现在造成的影响。 5.—Lucy, is your uncle a teacher?

英语情态动词用法详解

英语情态动词用法详解 一、单项选择情态动词 1.Look! There are so many mistakes in your composition. You ________ have fixed full attention on it. A.can B.should C.need D.might 【答案】B 【解析】 【详解】 考查情态动词。句意:看!你的作文里有那么多的错误。你本应该把所有的注意力都集中在它上面的。表示“本应该做但实际上没有做”应该用should have done结构,can have done 表示可能;need表示需要;might have done表示可能做过某事;故选B。 2.---Hi, Johnson, any idea where Susan is? ---It is class time, so she __________ in the classroom now. A.can be B.must have been C.might have been D.should be 【答案】D 【解析】 考查情态动词的用法。A. can be可能,可以是;B. must have been一定(对过去事实肯定的推测);C. might have been可能(对过去事实肯定的推测);D. should be应该是。句意:—知道苏珊在哪里吗?—现在是上课时间,她应该在教室里。故答案选D。 3.The room is so clean. He ________ have cleaned it yesterday evening. A.will B.need C.can D.must 【答案】D 【解析】 【详解】 考查情态动词表推测。句意:房间如此干净,他一定是昨天晚上打扫过了。must have done 表示对过去发生的事情有把握的猜测,意思是“一定(做过)”,故D项正确。 4.— Excuse me, do you mind if I open the window? — Well, if you __________. I can put on more clothes. A.can B.may C.must D.shall 【答案】C 【解析】

高中英语情态动词的常用用法归纳(超详细)

英语情态动词的常用用法归纳 1概念 在英语的动词当中,凡是用来刻画人的情感动作的动词,我们称之为情态动词,情态动词有着具体的汉语意思。但却不能独立作谓语和后面的行为动词一起构成和成谓语。区别于其他的行为动词,情态动词没有人称和数的变化,有少数的时态现象——一般时、过去时、将来时等。 2应用 一.Can 1、can表示说话人的能力,常译作能、能够、会。 eg:I can speak English very well. Can you swim across the river? Yes, I can/ No, I can’t. 2、can可以用来表示说话人的客观可能性,通常应用于否定疑问句式中。 eg:People can’t live without water. Can you finish the jobs in three hours? Can this be true. 3、在口语里,can表示允诺、允许、可以。等于may,但是may的语气

重于can。 eg:Can I come in? = May I come in? Can I use your bike? = May I use your bike ? *表示允许可以may mightcould can 4、在“过去时”的语境里,通常用could 表示它的过去式,用be able to 短语(was/were) 而could通常用来在一般现在时的语境里表示委婉语气 eg:Could(can)you show me the way to the supermarket? 5、can表示猜测 (1)对现在状态的一种猜测,只能用在否定疑问句中。 eg:Zhang can’t be ill really? This can’t be done by him. (2)对现在动作的猜测 eg: The boy can’t be telling lies. Mary works so hard, now, she can’t be sleeping.

现在完成时详解

现在完成时(一) 一、构成:由“助动词have(has)+动词过去分词”构成。当句子主 语为第三人称单数时,动词用has;其他人称用have。 1、肯定句:主语+have(has)+动词过去分词+其他成分 I have read the book already. She has come. 用完成时填空 (1)He (get) a car. (2)We (see) the film. 2、否定句:主语+have(has)+not+动词过去分词+其他成分 I haven’t seen the film. 做否定句 She (finish)the homework. They (give) me the answer yet. 3、一般疑问句,均提前have(has),肯定回答:Yes ,主语+have(has) ,否定回答,No, 主语+haven’t(hasn’t) . Have you got an English-Chinese dictionary? Yes ,I have . No, I hav en’t .

做一般疑问句并做肯定否定回答 S he has picked the corns already . We have copied all the answers . 4、特殊疑问句: (1)疑问词做主语时 句型:疑问词(主语)+have/has+过去分词+其他 例:A:Who has /have bought these apples? 谁买了这些苹果? B:Rose/Rose's friends has/have bought them.罗斯/罗斯的朋友们买的. (2).疑问词做主语以外的成份时. 句型:疑问词+have/has+主语+过去分词+…  A: How long have you lived here? B: I’ve lived here for nearly 6 years. A: How many times have you been to Spain? B: I have been to Spain five times. 5、反义疑问句: She has drawn two pictures, hasn’t she? 二、动词过去分词:绝大多数动词都是规则变化在动词词尾加ed,

高中英语情态动词的用法

高中英语情态动词的用法 一概述情态动词的共性 1) 情态动词一般直接加动词原形, 除ought + to do sth .在否定句或疑问句中to 可以省略 2) 情态动词不会因为主语的人称与数的变化而发生变化 3) 当情态动词表达与说话同时或说话之后的情况,直接加动词原形(do sth/be done) .在简略回答时直接用情态动词 (---Can you drive a car? ---- Yes, I can) (1)She said he might come to the farewell party (表达说话之后的情况) (2)She told me that he must be ill, for his face was pale(表达与说话同时情况) 4) 当情态动词表达说话时已发生的情况,加动词完成式( have pp/have been pp) 在简略回答时用情态动词+ have (---- Did he go to the cinema? ---- No, he should have, but he had to finish a report) (1) She may have been there yesterday (2) She should have come to his rescue when he was trapped in the elevator last night (3) He must have been praised at the meeting the other day 二情态动词用法 1 can 1)表示现在或将来的能力, 2)表示可能性“可能”

现在完成时态讲解及练习

现在完成时态讲解及练习 一、现在完成时的构成 肯定句:主语+have/ has + done (过去分词)+其它 He has lived in Shenzhen for 4 years. 一般疑问句:Have/ Has +主语+ done (过去分词)+其它 Has he lived in Shenzhen for 4 years? 否定句: 主语+have/ has+ not + done (过去分词)+其它 He has not finished his homework. 过去分词的构成方法如下 : 1.一般情况下,直接在动词原形后面加 –ed. work---worked answer---answered obey---obeyed want---wanted 2.以不发音的 -e 结尾的动词只加 –d. Move---moved hope---hoped divide---divided 3.字尾是辅音+y 的动词。则将y 改i 加ed. study---studied tidy---tidied satisfy---satisfied 4.以重读闭音节结尾的词,这些词的末尾只有一个辅音字母时,双写这个辅音字母,再加 –ed. stop---stopped regret--- regretted drop---dropped 不规则动词过去式与过去分词分类记忆表 一、AAA. (原形,过去式和过去分词一致) 二、ABB (过去式和过去分词一致) 3) 过去式、过去分词-t 替换原形-d 6) 过去式、过去分词改为-elt

二、现在完成时标志词: recently; recent years; these days/ years; lately; since; for+时间段;in the past few years; ever since; in the last five months; up to now; since then; so far; ever; never, yet; once; twice; already; before; just already (已经): 用于肯定句 I have already posted the letter . yet(已经): 用于否定句,疑问句 He hasn’t done his homework yet. just(刚刚)

英语情态动词用法详解(1)

英语情态动词用法详解(1) 一、单项选择情态动词 1. ---Is Jack on duty today? ---It ________ be him. It's his turn tomorrow. A.mustn't B.won't C.can't D.needn't 【答案】C 【解析】 【详解】 考查情态动词表示推测。句意:--今天杰克值日吗?--不可能是他。明天该轮到他。can’t be 用于否定推测“不可能是”,must表示推测的时候,表示“肯定是”,won’t不愿意,needn’t 不必,故选C。 2.Mr. Baker, some students want to see you. ______ they wait here or outside? A.May B.Should C.Shall D.Will 【答案】C 【解析】 【详解】 考查Shall的用法。句意:贝克先生,有些学生想见你。他们是在这里等还是在外面 等?Shall用于第一、第三人称疑问句中,表示说话人征求对方的意见或向对方请示。故选C。 【点睛】 Shall的用法 Shall作为助动词,一般用于第一人称Ⅰ和We,表示一个将来的动作,构成将来时态。Shall后面接动词原形。例如: (1)I shall think it over and Let you know my idea.我将考虑一下此事,然后告诉你我的想法。 (2)We shall have a good time in the park.我们在公园里会玩得很高兴的。常考的特殊用法 1. Shall用于第一人称,表示征求对方的意愿。如:What shall we do this evening? 2. Shall用于第一、第三人称疑问句中,表示说话人征求对方的意见或向对方请示。如:Shall we begin our lesson?When shall he be able to leave the hospital? 3. Shall用于第二、第三人称,表示说话人给对方命令、警告、允诺或威胁。如:You shall fail if you don't work harder. (警告) He shall have the book when I finish reading. (允诺) He shall be punished. (威胁) 3.Paul did a great job in the speech contest. He many times last week. A.need have practised B.might practise C.must have practised D.could practise 【答案】C

情态动词的用法_完整版

情态动词 定义: 情态动词是一种本身有一定的词义,但要与动词原形一起使用,给谓语动词增添情态色彩,表示说话人对有关行为或事物的态度和看法,认为其可能、应该或必要等。 情态动词后面加动词原形。 分类: 情态动词有四类: ①只做情态动词:must,can(could),may(might),ought to ②可做情态动词又可做实义动词:need,dare ③可做情态动词又可做助动词:shall(should),will(would) ④具有情态动词特征:have(had) to,used to 位置: 情态动词在句中放在谓语动词之前, 谓语动词前若有助动词,则在助动词之前,疑问句中, 情态动词则在主语之前。 I can see you. Come here. 我能看见你,过来吧。 He must have been away. 他一定走了。 What can I do for you 我能帮你吗 How dare you treat us like that! 你怎能那样对待我们! 特点: 情态动词无人称和数的变化, 情态动词后面跟的动词需用原形,否定式构成是在情态动词后面加"not"。个别情态动词有现在式和过去式两种形式, 过去式用来表达更加客气, 委婉的语气, 时态性不强, 可用于过去,现在或将来。情态动词属非及物动词,故没有被动语态。情态动词没有非谓语形式,即没有不定式,分词,等形式。 He could be here soon. 他很快就来。 We can't carry the heavy box. 我们搬不动那箱子。

I'm sorry I can't help you. 对不起,我帮不上你。 基本助动词与情态助动词最主要的区别之一是,基本助动词本身没有词义,而情态助动词则有自己的词义,能表示说话人对有关动作或状态的看法,或表示主观设想: What have you been doing since (构成完成进行体,本身无词义) I am afraid I must be going. (一定要) You may have read some account of the matter. (或许已经) 除此之外,情态助动词还有如下词法和句法特征: 1)除ought和used以外,其他情态动词后面只能接不带to的不定式。如果我们把ought to 和used to看做是固定词组的话,那么,所有情态动词无一例外地只能接不带to的不定式:We used to grow beautiful roses. I asked if he would come and repair my television set. 2)情态助动词在限定动词词组总是位居第一: They need not have been punished so severely. 3)情态助动词用于第三人称单数现在时的时候,没有词形变化,即其词尾无-s形式: She dare not say what she thinks. 4)情态动词没有非限定形式,即没有不定式和分词形式,也没有相应的动名词: Still, she needn't have run away. 5)情态助动词的“时”的形式并不是时间区别的主要标志。在不少场合,情态助动词的现在时和过去时形式都可以表示现在、过去或将来时间: Would you mind very much if I ask you to do something She told him he ought not to have done it. 6)情态助动词之间是相互排斥的,即在一个限定动词词组中只能出现一个情态助动词,但有时却可以与have和be基本助动词连用: You should have washed the wound. Well, you shouldn't be reading a novel. 用法 首先它是动词,而且不同于行为动词,行为动词表示的是可以通过行为来表达的动作(如写,读,跑),而情态动词只是表达的一种想法(如能,也许,敢)。 用法是:情态动词+行为动词原形 例句:I can read this sentence in English. 我能用英语读这句话。 情态动词是一种本身有一定的词义,表示说话人的情绪,态度或语气的动词,但不能单独作谓语, 只能和其他动词原形构成谓语。

高中英语情态动词的用法

高中英语情态动词的用法一.can和could 情态动词用法例句 can/could 表示能力 1.“I don’t think Mike can type.” “Yes, he can.” 2.I can speak fluent English now , but I couldn’t last year. 在肯定句中,表示客观可能 性,并不涉及具体某事会发 生,常用来说明人或事物的 特征(译为“有时会”)。要 表达具体某事实际发生的可 能性时,不用can,需用 could,may,might。 1.As a human being, anyone can make a mistake. 2.I’m confident that a solution can be found. 3.He can be very forgetful sometimes. 4.I may stay at home this weekend.(实际可能性) 5.Peter might come to join us.(实际可能性) 6.It will be sunny in the daytime ,but it could rain tonight.(实际 可能性) 表示请求和允许。表示请求, 口语中常用could代替can, 使语气更委婉。 1.Can we turn the air conditioner on? 2.Any police officer can insist on seeing a driver’s license. 3.In soccer, you can’t touch the ball with your hands. 4.Could you have her call me back when she gets home, please? 5.I wonder if I could just ask you to sign this. 表示对现在的动作或状态进 行主观的猜测,主要用在否 定句和疑问句中。 1.It can’t be easy caring for a man and a child who are not your own. 2.Can the man over there be our head master? 表示惊异、怀疑、不相信等 态度,主要用在否定句、疑 问句和感叹句中。 1.Can this be an excuse for not giving them help? 2.This can’t be true. 3.How can you be so crazy. 特别说明: (1)could用来表示请求时,语气委婉,主要用于疑问句,不能用于肯定句,答语应用can(即:could不能用于现在时态的简略答语中)。如: ——Could I use your dictionary? ——Yes, you can.(否定回答可用:No, I’m afraid not.或者是you can’t) 表示推测时,could不是过去式,只是语气更委婉;若是推测已发生的事或过去的情况,用can/could have done (2)can和be able to辨析 can(could)和be able to都可以表示能力,意思上没有区别。但can只有现在式和过去式,而be able to则有更多的形式。如: I’ve always wanted to able to speak fluent English. Those bags look really heavy, are you sure you’ll be able to carry them on your own? 但是,表示在过去某时的某一场合经过一番努力,终于做成了某事,通常不用could,而用was/were able to来表示。这时,was/were able to相当于managed to do或succeed in doing。如: After the accident it was a long time before she was able to walk again. The fire was very big, but most people were able to escape from the building. (3) 惯用形式“cannot …too…”表示“无论怎么……也不(过分)”。如:

相关文档
相关文档 最新文档