用生命谱写代码的赞歌

0%

英语语法

Grammar

想要学习编程,英语是少不了的。学习英语是一个积累过程,每天多看一点点,每天都会有进步。

最近一直在坚持使用扇贝阅读,是一款很不错的英语学习软件。顺便总结了我在学习英语过程中碰到的一些语法知识。

连接词

  • 引导名词性从句的连接词可分为三类:

    • 连接词:that, whether, if, as if, as though(不充当从句的任何成分,但绝不能省略)
    • 连接代词:what, whatever, who, whoever, whom, whomever, whose, which, whichever.
    • 连接副词:when, whenever, where, wherever, how, however, why
  • 不可省略连词

    1. 介词后的连词
    2. 引导主语从句和同位语从句的连词不可省略。
      • 大部分连接词引导的主语从句都可以置于句末,用 it充当形式主语。
        1
        2
        It is not important who will go.
        It is still unknown which team will win the match.
  • whether与if用法比较

    均为”是否”的意思。 但在下列情况下,whether 不能被if 取代:

    1. whether引导主语从句并在句首
    2. 引导表语从句
    3. whether从句作介词宾语
    4. 从句后有”or not”

同位语从句

  • 引导词

    引导同位语从句常用连词有that, whether, 连接代词和连接副词等

    1. 由that引导

      【注意】 在某些名词(如demand, wish, suggestion, resolution等)后面的同位语从句要用虚拟语气。

    2. 由whether引导

      【注意】whether可引导同位语从句,但if不能引导同位语从句。

  • 关于分离同位语从句

    • The story goes that he beats his wife. 传说他打老婆。
    • The rumour spread that a new school would be built here. 谣传这里要盖一所新学校。
    • The order soon came that all citizens should evacuate the village. 不久命令下来,所有居民都必须撤出村子。

when 和 in which 在定语从句中的差异

  • The Second World War ____ millions of people were killed ended in 1945.
    • A.when B.where C.in which D.which
  • 答案
    • 先行词The second World War是个名词短语,就是做名词的,所以必须用in (就比如He is taken good care of 。后的of就不能省),如果先行词是 in The Second World War 的话,因为相当于一个时间副词,此时用when。