如果和是否是兩個連詞,應該非常小心地使用,因為這兩個連詞的互換有時會導致意義的改變。使用這兩個連詞時要記住的最重要的事實是if和if在某些情況下是可互換的,但並不總是。if和if的主要區別是if總是用在條件句中,而if可以用在所有其他的例子中,而expect是條件句。讓我們先看看這兩個詞可以互換使用的例子,然後再討論if和if之間的區別。
如果和是否可以在下列情況下互換使用。
在報告演講中寫是/否問題時
“你要回家嗎?”他問——他問我是否要回家。或者他問我是否要回家。
或者
我不確定他說的是實話還是謊話。
我不確定他說的是實話還是謊話。
然而,在這種結構中,使用是否考慮是比較被接受和普遍的。
If總是用來引入一個條件。在條件句中,必須完成一個條件才能發生某事。
如果你告訴我真相,我會幫助你的。
如果他沒有撒謊,這就不會發生。
如果你出了什麼事,他會怪我的。
此外,if也常用於間接問句。如上所述,在這種情況下,它可以與“是否”互換。
Call me if you are interested in buying this cottage.
是否應始終在以下情況下使用。
當有兩個備選方案時(兩個備選方案都不應是條件。)
告訴我你是否需要我的車。
這裡有兩種選擇,需要汽車和不需要汽車。在這裡使用if在語法上不是不正確的。如果在這個句子中用If代替If,意思就會改變。
如果你需要我的車,請告訴我。
這句話是一個條件句,因為需要汽車作為一個條件。
在介詞之後
我想和你談談你兒子是否要繼續上這門課。
以to開頭的不定式動詞之後
我不確定是否該告訴他真相。
作為主語或補語的從句的開頭。
你及格還是不及格不關我的事。
她不在乎他們是愛她還是恨她。
最好選擇是否在正式場合。
Tell me whether they taste good.
如果總是與條件一起使用。
是否與條件一起使用。
If不在介詞後使用。
是否用在介詞後面。
If不在以to開頭的不定式動詞後面使用。
是否用在以to開頭的不定式動詞之後。
If不用於主語或補語從句的開頭。
是否用在主語或補語從句的開頭。
If一般不用於表示兩種選擇的句子中。
Whether is used when there are two alternatives.
如果還有(if else)和轉換(switch)的區別 程式設計中存在決策結構。if-else和switch就是其中的兩個。表示式由值、運算子、常量等組成。如果給定表示式為真,則if-else允許執行語句塊;如果給定表示式為false,則允許執行可選塊。...
如果(if)和如果還有(if else)的區別 在程式設計中,有必要根據條件是真還是假來執行語句。if和if-else是兩種決策結構。Java、C等程式語言支援if和if-else等決策結構。本文討論if和if-else之間的區別。在這兩種情況下,if都包含要...
如果vs何時 If和When是兩個在使用過程中經常混淆的詞,但嚴格地說,If和When之間有很多區別。if和when之間的這些區別始於這樣一個事實:if來自古英語單詞gif,而when來自古英語單詞hwanne,hwenn。另外,當你看一下這兩個詞if和w...
...是東是西”、“是利還是虧”等等。 天氣(weather)和是否(whether)的區別 •天氣和是否是同音異義詞。 •天氣一詞用於描述給定區域或區域的溫度,以及降雨和其他自然現象發生的可能性。 •另一方面,在某些情況下,是否是一...
...者雷切爾是否會去。否則就不用說了。 如果(if)和是否(whether)的區別 •如果用作連詞和名詞,而單詞是否只是用作連詞。 •if一詞用於表示條件。 •另一方面,有疑問時使用“是否”一詞。 •大多數情況下,無論使用“還是”...
...nc for copying to the target location. That depends on the type of change, whether rsync has scanned that particular directory yet, and whether rsync has copied the file or directory in question yet. There is an easy way around that, however. Once rsync has finished, run it again with the same param...
...vice that is connected via 802.11n or 802.11ac. If you are concerned about whether the act of physically moving connected devices around affects data tran**ission/reception, it might theoretically affect speeds in some way, but on a practical level it might not be worth being concerned about. More d...
...ormation in a shoebox on your open windowsill. It depends on your behavior whether or not the information in the shoebox is worth taking, or whether anyone will end up taking it, but the fact remains that anyone that has a half a mind to do so easily can. 除了frankthomas和Mejwell在這裡列出...
...isks can be seeking the file simultaneously. I defragment every 2-3 years, whether my box needs it or not. [I’ll add that the important thing is not so much whether the data on the disk gets defragmented as whether the free space does. FAT was terrible at this — unless you defragged things kept ...
...he following pop-up bubble appears, saying as much: How does Windows know whether or not it has a successful internet connection? Presumably it is checking some online Microsoft service to see whether it has a successful connection, gets redirected to some other page, or doesn’t get any resp***e ...